Cyclic GMP (cGMP) signalling regulates multiple biological functions through activation of protein kinase G and cyclic nucleotide-gated (CNG) channels. In sensory neurons, cGMP permits signal modulation, amplification and encoding, before depolarization. Here we implement a guanylyl cyclase rhodopsin from Blastocladiella emersonii as a new optogenetic tool (BeCyclOp), enabling rapid light-triggered cGMP increase in heterologous cells (Xenopus oocytes, HEK293T cells) and in Caenorhabditis elegans. Among five different fungal CyclOps, exhibiting unusual eight transmembrane topologies and cytosolic N-termini, BeCyclOp is the superior optogenetic tool (light/dark activity ratio: 5,000; no cAMP production; turnover (20 °C) ∼17 cGMP s(-1)). Via co-expressed CNG channels (OLF in oocytes, TAX-2/4 in C. elegans muscle), BeCyclOp photoactivation induces a rapid conductance increase and depolarization at very low light intensities. In O2/CO2 sensory neurons of C. elegans, BeCyclOp activation evokes behavioural responses consistent with their normal sensory function. BeCyclOp therefore enables precise and rapid optogenetic manipulation of cGMP levels in cells and animals.