Mycoplasma pneumoniae 5,10-methenyltetrahydrofolate synthetase [MTHFS; also known as 5-formyltetrahydrofolate cycloligase; Enzyme Commission (EC) 6.3.3.2] belongs to a large cycloligase protein family with 97 sequence homologues from bacteria to human. To help define the molecular (biochemical and biophysical) function of the M. pneumoniae MTHFS, we have previously determined its crystal structure at 2.2 A resolution (Chen et al., Proteins 2004;56:839-843). In this current study, activity assays confirmed the functionality of the recombinant protein, with K(m) = 165 microM for 5-formyltetrahydrofolate (5-FTHF) and K(m) = 166 microM for MgATP. The methenyltetrahydrofolate activity of M. pneumoniae MTHFS has a requirement for divalent metal ions with Mg2+ being most effective, and an absolute requirement for nucleoside 5'-triphosphates with adenosine triphosphate (ATP) being most effective. Crystallization in the presence of substrates (MgATP, with or without 5-FTHF) produced the complex structures of the protein with adenosine diphosphate (ADP) and phosphate at 2.2 A resolution; with ADP, phosphate, and 5-FTHF at 2.5 A resolution. These structures directly demonstrated that the role of Mg2+ in the reaction is to form the ATP--Mg2+-enzyme complex.