The protein structure of firefly luciferase consists of two compact domains: the N-terminal domain and the C-terminal domain. The N-terminal domain is composed of two β-sheets in an αβαβα structure and a β barrel. The two β-sheets stack on top of each other, with the β-barrel covering the end of the sheets.
The C-terminal domain is connected to the N-terminal domain by a flexible hinge, which can separate the two domains. The amino acid sequences on the surface of the two domains facing each other are conserved in bacterial and firefly luciferase, thereby strongly suggesting that the active site is located in the cleft between the domains.
During a reaction, luciferase has a conformational change and goes into a "closed" form with the two domains coming together to enclose the substrate. This ensures that water is excluded from the reaction and does not hydrolyze ATP or the electronically excited product.