Recent advances in optical technologies such as multi-photon microscopy and optogenetics have revolutionized our ability to record and manipulate neuronal activity. Combining optical techniques with electrical recordings is of critical importance to connect the large body of neuroscience knowledge obtained from animal models to human studies mainly relying on electrophysiological recordings of brain-scale activity. However, integration of optical modalities with electrical recordings is challenging due to generation of light-induced artifacts. Here we report a transparent graphene microelectrode technology that eliminates light-induced artifacts to enable crosstalk-free integration of 2-photon microscopy, optogenetic stimulation, and cortical recordings in the same in vivo experiment. We achieve fabrication of crack- and residue-free graphene electrode surfaces yielding high optical transmittance for 2-photon imaging down to ~ 1 mm below the cortical surface. Transparent graphene microelectrode technology offers a practical pathway to investigate neuronal activity over multiple spatial scales extending from single neurons to large neuronal populations.