Class III adenylyl cyclases generate the ubiquitous second messenger cAMP from ATP often in response to environmental or cellular cues. During evolution, soluble adenylyl cyclase catalytic domains have been repeatedly juxtaposed with signal-input domains to place cAMP synthesis under the control of a wide variety of these environmental and endogenous signals. Adenylyl cyclases with light-sensing domains have proliferated in photosynthetic species depending on light as an energy source, yet are also widespread in nonphotosynthetic species. Among such naturally occurring light sensors, several flavin-based photoactivated adenylyl cyclases (PACs) have been adopted as optogenetic tools to manipulate cellular processes with blue light. In this report, we report the discovery of a cyanobacteriochrome-based photoswitchable adenylyl cyclase (cPAC) from the cyanobacterium Microcoleus sp. PCC 7113. Unlike flavin-dependent PACs, which must thermally decay to be deactivated, cPAC exhibits a bistable photocycle whose adenylyl cyclase could be reversibly activated and inactivated by blue and green light, respectively. Through domain exchange experiments, we also document the ability to extend the wavelength-sensing specificity of cPAC into the near IR. In summary, our work has uncovered a cyanobacteriochrome-based adenylyl cyclase that holds great potential for the design of bistable photoswitchable adenylyl cyclases to fine-tune cAMP-regulated processes in cells, tissues, and whole organisms with light across the visible spectrum and into the near IR.