The invention discloses a method for preparing cyclic adenosine monophosphate by adenylate cyclase. The method comprises the following steps that the adenylate cyclase serves as a catalyst, adenosinetriphosphate serves as a substrate, and in the presence of Mg <2+>, a reaction solution containing the cyclic adenosine monophosphate is obtained. According to the adenylate cyclase, an amino acid sequence as shown in SEQ ID NO.14 is provided, the stability is good, the half-life period is long at medium and low temperatures, ATP can be efficiently catalyzed to generate cAMP in one step at mediumtemperature, a substrate conversion rate reaches 90 % or above, the advantages of simple industry, mild conditions, short period, few by-products and the like are achieved, the clean and pollution-free effects are achieved, and the energy conservation, consumption reduction and emission reduction in the cAMP production process can be realized.