To understand the working principles of the nervous system is key to figure out its electrical activity and how this activity spreads along the neuronal network. It is therefore crucial to develop advanced techniques aimed to record in real time the electrical activity, from compartments of single neurons to populations of neurons, to understand how higher functions emerge from coordinated activity. To record from single neurons, a technique will be presented to fabricate patch pipettes able to seal on any membrane with a single glass type and whose shanks can be widened as desired. This dramatically reduces access resistance during whole-cell recording allowing fast intracellular and, if required, extracellular perfusion. To simultaneously record from many neurons, biocompatible probes will be described employing multi-electrodes made with novel technologies, based on diamond substrates. These probes also allow to synchronously record exocytosis and neuronal excitability and to stimulate neurons. Finally, to achieve even higher spatial resolution, it will be shown how voltage imaging, employing fast voltage-sensitive dyes and two-photon microscopy, is able to sample voltage oscillations in the brain spatially resolved and voltage changes in dendrites of single neurons at millisecond and micrometre resolution in awake animals.