Different optical imaging techniques have been developed to study neuronal activity with the goal of deciphering the neural code underlying neurophysiological functions. Because of several constraints inherent in these techniques as well as difficulties interpreting the results, the majority of these studies have been dedicated more to sensory modalities than to the spontaneous activity of the central brain. Recently, a novel bioluminescence approach based on GFP-aequorin (GA) (GFP: Green fluorescent Protein), has been developed, allowing us to functionally record in-vivo neuronal activity. Taking advantage of the particular characteristics of GA, which does not require light excitation, we report that we can record induced and/or the spontaneous Ca(2+)-activity continuously over long periods. Targeting GA to the mushrooms-bodies (MBs), a structure implicated in learning/memory and sleep, we have shown that GA is sensitive enough to detect odor-induced Ca(2+)-activity in Kenyon cells (KCs). It has been possible to reveal two particular peaks of spontaneous activity during overnight recording in the MBs. Other peaks of spontaneous activity have been recorded in flies expressing GA pan-neurally. Similarly, expression in the glial cells has revealed that these cells exhibit a cell-autonomous Ca(2+)-activity. These results demonstrate that bioluminescence imaging is a useful tool for studying Ca(2+)-activity in neuronal and/or glial cells and for functional mapping of the neurophysiological processes in the fly brain. These findings provide a framework for investigating the biological meaning of spontaneous neuronal activity. This article is part of a Special Issue entitled: 12th European Symposium on Calcium.