The luciferase of Lingulodinium polyedrum, a marine bioluminescent dinoflagellate, consists of three similar but not identical domains in a single polypeptide. Each encodes an active luciferase that catalyzes the oxidation of a chlorophyll-derived open tetrapyrrole (dinoflagellate luciferin) to produce blue light. These domains share no sequence similarity with any other in the GenBank database and no structural or motif similarity with any other luciferase. We report here the 1.8-A crystal structure of the third domain, D3, at pH 8, and a mechanism for its activity regulation by pH. D3 consists of two major structural elements: a beta-barrel pocket putatively for substrate binding and catalysis and a regulatory three-helix bundle. N-terminal histidine residues previously shown to regulate activity by pH are at the interface of the helices in the bundle. Molecular dynamics calculations indicate that, in response to changes in pH, these histidines could trigger a large molecular motion of the bundle, thereby exposing the active site to the substrate.