cAMP is synthesized from ATP by the action of the enzyme adenylyl cyclase. This enzyme is usually activated by a G-protein-coupled receptor (GPCR) upon binding of a hormone or other signaling molecule. The activation of adenylyl cyclase converts ATP to cAMP, releasing pyrophosphate in the process.