The insertion of magnesium into protoporphyrin initiates the biosynthesis of chlorophyll, the pigment that underpins photosynthesis. This reaction, catalysed by the magnesium chelatase complex, couples ATP hydrolysis by a ChlID motor complex to chelation within the ChlH subunit. We probed the structure and catalytic function of ChlH using a combination of X-ray crystallography, computational modelling, mutagenesis and enzymology. Two linked domains of ChlH in an initially open conformation of ChlH bind protoporphyrin IX and rearrangement of several loops envelops this substrate forming an active site cavity. This induced fit brings an essential glutamate (E660), proposed to be the key catalytic residue for magnesium insertion, into proximity with the porphyrin. A buried solvent channel adjacent to E660 connects the exterior bulk solvent to the active site, forming a possible conduit for delivery of magnesium or abstraction of protons.The central metal ions in the cyclic tetrapyrrole-derived cofactors, magnesium in chlorophyll, cobalt in cobalamin, iron in heme, and nickel in F 430 , are collectively critical for most living systems. These tetrapyrroles underpin photosynthesis, vitamin B12 biosynthesis, respiration and methanogenesis 1 . Despite their apparent simplicity, the insertion of each metal ion into its cognate macrocyclic ring requires surprisingly complex and poorly understood enzymes. These metal ion chelatases can also play a regulatory role in directing and controlling flux down various branches of tetrapyrrole metabolism. A comparatively good structural and mechanistic understanding exists for the relatively simple Class II chelatases 2-6 , but our knowledge of the complex, multisubunit, Class I chelatases, typified here by magnesium chelatase, is more limited.Much of the mechanistic work on this class of chelatases has focused on the reasonably tractable magnesium chelatases (MgCH; E.C.6.6.1.1) from bacteriochlorophyll and chlorophyll producing organisms. MgCH initiates the biosynthetic pathways for these pigments by inserting Mg 2+ into the protoporphyrin macrocycle (Fig. E1) . MgCHs require at least three subunits; chlorophyll producing organisms have ChlI (~35 kDa), ChlD (~75 kDa) and ChlH (~150 kDa), and the closely related proteins from bacteriochlorophyll producing organisms are BchI, BchD, and BchH 7, 8 . In cyanobacteria and higher plants a fourth regulatory subunit, Gun4, is required for full protein activity [9][10][11] .The genes for MgCH were originally identified and recombinant protein expression systems were developed some time ago 7,12 , and extensive kinetic characterization of the MgCH has identified the roles of the subunits [13][14][15][16][17][18] . The current mechanistic and structural data suggest a model for the MgCH mechanism where the two AAA + subunits form the ChlID complex 16,19 . This complex transiently interacts with the body region of the ChlH protein via the C-terminal integrin domain of ChlD 20 , then hydrolyses ATP, which drives a conformational change in the Ch...