Mycobacterium tuberculosis (Mtb) secretes excess of a second messenger molecule, 3',5'-cyclic AMP (cAMP), which plays a critical role in the survival of Mtb in host macrophages. Although Mtb produces cAMP in abundance, its exact role in the physiology of mycobacteria is elusive. In this study we have analyzed the expression of 16 adenylate cyclases (ACs) and kinetics of intracellular cAMP levels in Mtb during in vitro growth under the regular culture conditions, and after exposure to different stress agents. We observed a distinct expression pattern of these ACs which is correlated with intracellular cAMP levels. Interestingly cAMP levels are significantly elevated in Mtb following heat stress, whereas other stress conditions such as oxidative, nitrosative or low pH do not affect intracellular cAMP pool in vitro. A significant increase in expression by >2-fold of five ACs namely Rv1647, Rv2212, Rv1625c, Rv2488c and Rv0386 after heat stress further suggested that cAMP plays an important role in controlling Mtb response to heat stress. In the light of these observations, effect of exogenous cAMP on global gene expression profile was examined by using microarrays. The microarray gene expression analysis demonstrated that cAMP regulates expression of a subset of heat stress-induced genes comprising of dnaK, grpE, dnaJ, and Rv2025c. Further we performed electrophoretic mobility shift assay by using cAMP-receptor protein of Mtb (CRP(M)), which demonstrated that CRP(M) specifically recognizes a sequence -301AGCGACCGTCAGCACG-286 in 5'-untranslated region of dnaK.