How Does the Brain Generate Electricity?

The brain generates electricity through the movement of charged atoms, called ions, across the membranes of its roughly 86 billion neurons. Each neuron maintains a voltage difference between its interior and the surrounding fluid, much like a tiny battery. When a neuron fires, channels in its membrane snap open to let sodium ions rush in and potassium ions flow out, producing a brief electrical pulse known as an action potential. This process is not powered by a wire or a chemical reaction in the way most people imagine electricity, and the deeper you look, the more surprising the system becomes.

How a Neuron Builds a Voltage

A resting neuron sits at roughly negative 70 millivolts relative to the fluid outside it. That voltage exists because the neuron’s membrane is studded with protein pumps that continuously push sodium ions out and pull potassium ions in, creating an unequal distribution of charge. Think of it as bailing water out of a boat while a slow leak lets some back in: the pump keeps the interior more negatively charged than the outside, and that charge separation is what we call the resting membrane potential.

When the neuron receives enough stimulation, voltage-gated sodium channels open in a rapid chain reaction. Sodium floods inward, the interior voltage swings positive, and this depolarization triggers the neighboring stretch of membrane to do the same thing. The result is a wave of electrical activity that races down the length of the neuron. A fraction of a millisecond later, potassium channels open to restore the negative resting state, and the sodium-potassium pump goes back to work resetting the ion gradients for the next signal.

Speeding Things Up With Myelin

In many neurons, the axon (the long projection that carries the electrical signal away from the cell body) is wrapped in layers of a fatty insulating material called myelin. The signal does not flow continuously along a myelinated axon the way current moves through a bare copper wire. Instead, it jumps from one tiny gap in the myelin (called a node of Ranvier) to the next, a process called saltatory conduction. Detailed modeling has shown that conduction speed is dramatically accelerated by even a few layers of myelin, with the effect driven mainly by the way myelin lowers the electrical capacitance of the membrane rather than simply insulating it. The full speed benefit is reached at around 16 myelin layers, with only modest gains beyond that point.1PubMed Central. Saltatory Conduction along Myelinated Axons Involves a Periaxonal Nanocircuit

This design matters for speed and efficiency. Myelinated neurons in the human brain can transmit signals at up to 120 meters per second, fast enough that you feel a pinprick on your toe almost instantly. The jumping pattern also means far fewer ions cross the membrane per unit length of axon, so the neuron spends less energy pumping them back afterward.

Passing the Signal Between Neurons

When an action potential reaches the end of an axon, the signal usually has to cross a gap to reach the next cell. At most junctions in the human brain, this happens chemically: the electrical pulse triggers the release of neurotransmitter molecules, which drift across the gap and bind to receptors on the receiving neuron, opening ion channels there. Chemical transmission dominates the mammalian nervous system, but electrical synapses also exist. These are formed by gap junctions, physical protein tunnels that directly connect the interiors of two neurons and allow ions to pass between them. Electrical synapses are faster than chemical ones because the signal does not need to be converted into a chemical and back again.2PubMed Central. Understanding electrical and chemical transmission in the brain

The two systems coexist because they serve different purposes. Chemical synapses are slower but highly adjustable: the strength of the connection can be turned up or down over time, which is the physical basis of learning and memory. Electrical synapses are better for synchronizing groups of neurons that need to fire together in precise lockstep, such as circuits involved in rhythmic breathing or fast brain oscillations.

The Energy Cost of Brain Electricity

Maintaining and restoring ion gradients is expensive. The brain accounts for only about 2% of your body weight but consumes roughly 20% of your resting energy, and a large share of that goes to the sodium-potassium pump. Classic experiments quantified this cost by blocking sodium entry and then blocking the pump itself, finding that sodium pumping alone accounted for at least 55% of the brain’s oxygen consumption, and in a fully active brain the proportion is likely higher.3PubMed Central. Non-signalling energy use in the brain The remaining energy goes toward synthesizing neurotransmitters, maintaining cell structure, and handling the constant housekeeping that keeps neurons alive.

This energy demand is why even a brief interruption in blood flow to the brain causes such rapid damage. Neurons cannot store much fuel locally. When oxygen and glucose stop arriving, the pumps stall, ion gradients collapse, and the delicate voltage that makes signaling possible falls apart within minutes.

How Astrocytes Stabilize the Electrical Environment

Neurons do not maintain their electrical environment alone. Astrocytes, the most abundant type of support cell in the cortex, play a critical role by mopping up excess potassium ions that accumulate in the fluid outside neurons after they fire. If potassium builds up too much, neighboring neurons become abnormally excitable, so clearing it is essential for stable signaling.4PubMed. Astrocytic modulation of neuronal excitability through K(+) spatial buffering

Astrocytes are interconnected through their own gap junctions, forming a vast network sometimes called the astrocyte syncytium. The traditional view was that potassium physically flows through this network to be diluted across a wide area, a process called spatial buffering. Recent work suggests the picture is more nuanced: the gap junctions may matter less for physically transporting potassium and more for keeping individual astrocytes electrically stable enough to keep absorbing it. Without gap junctions, an astrocyte taking up potassium would quickly depolarize and lose its ability to absorb any more. By staying connected, astrocytes maintain the electrical driving force they need to continue soaking up potassium during intense neuronal activity.5Frontiers in Cellular Neuroscience. Astrocyte gap junctions and Kir channels contribute to K+ buffering and regulate neuronal excitability The researchers behind this work suggest the field should think of the astrocyte network less as a spatial buffering system and more as an electrical buffering system.

How Senses Become Electrical Signals

The brain’s electricity does not begin inside the brain. It starts at specialized sensory cells in your skin, eyes, ears, tongue, and nose. Each type of sensor converts a specific physical stimulus into an electrical signal that neurons can carry. Touch provides a vivid example. When you press your fingertip against a surface, the mechanical force physically deforms the membrane of sensory nerve endings. This distortion opens a family of ion channels called PIEZO channels, which create a pore that lets positively charged ions flood into the cell. PIEZO channels respond directly to the stretching of the lipid membrane itself, and recent evidence shows they also interact with the cell’s internal scaffolding, giving them sensitivity to forces transmitted through the cytoskeleton as well.6PubMed Central. PIEZO channels as multimodal mechanotransducers

Vision works on a different principle but reaches the same endpoint: photoreceptors in the retina absorb light, triggering a chemical cascade that changes the flow of ions across the cell membrane. Hearing converts sound waves into mechanical vibrations of tiny hair cells, which bend and open mechanically gated ion channels. Regardless of the sense, the final product is always the same: a change in ion flow that becomes an action potential traveling toward the brain. The brain itself does not “see” light or “hear” sound. It interprets patterns of electrical pulses, and it is the origin and pathway of those pulses that tell it which sense they represent.

From Single Neurons to Brain Waves

An individual neuron’s action potential is too small and too brief to detect from outside the skull. What an EEG (electroencephalogram) picks up is the combined electrical activity of millions of neurons firing in partially synchronized patterns. Scalp electrodes record voltage fluctuations caused by current flowing in and around neurons.7PubMed. Electroencephalography The dominant contributors are large pyramidal neurons in the cortex, whose elongated shape and parallel orientation create electrical fields that add up rather than cancel out.

Modeling work has shown that when synaptic inputs to a population of pyramidal neurons are correlated (meaning many neurons receive similar input at the same time), the resulting electrical field is strongly amplified, producing measurable brain waves. Specific membrane conductances, particularly a current called Ih that is concentrated in the far-reaching dendrites of pyramidal cells, shape the frequency and strength of these signals.8PubMed Central. h-Type Membrane Current Shapes the Local Field Potential from Populations of Pyramidal Neurons

Brain waves are not just a by-product. Circuits running between the cortex and the thalamus form loops that sustain and organize oscillations across sensory and motor regions.9PubMed Central. Thalamocortical loops as temporal demodulators across senses These oscillations help coordinate activity across distant brain regions and appear to play a role in attention, perception, and consciousness. Large-scale modeling of thalamocortical circuits has reproduced the fast synchronous rhythms (in the 20 to 60 Hz range) that are recorded in living brains, and these oscillations are amplified by feedback loops between the cortex and thalamus.10PubMed. Neural dynamics in a model of the thalamocortical system. I. Layers, loops and the emergence of fast synchronous rhythms

Ephaptic Coupling, or Electricity Without Synapses

Synapses, chemical or electrical, are not the only way one neuron can influence another. When a large population of neurons fires, the collective electrical fields they generate can directly affect the membrane voltage of nearby neurons, even without any direct physical connection. This phenomenon, called ephaptic coupling, produces tiny voltage changes in neighboring cells, on the order of a tenth to two-tenths of a millivolt per volt per meter of applied field. That is far below the roughly 20 millivolt depolarization needed to trigger a spike on its own, so a single neuron’s stray field will not make its neighbor fire.11PubMed Central. Realistic modeling of mesoscopic ephaptic coupling in the human brain

Yet the brain is surprisingly sensitive to these weak fields when they come from large, synchronized populations. Experimental work has shown that externally applied electric fields as weak as 0.5 V/m can modulate network activity in brain slices.11PubMed Central. Realistic modeling of mesoscopic ephaptic coupling in the human brain This means that the brain’s own collective electrical activity could nudge the timing of nearby neurons, creating a feedback loop in which brain waves help synchronize the very cells that produce them. The full significance of ephaptic coupling in normal brain function is still being worked out, but it represents an additional layer of electrical communication that does not appear on any wiring diagram of synaptic connections.

When Brain Electricity Misfires

Epilepsy is the most direct illustration of what goes wrong when the brain’s electrical system loses its regulation. Many genetic forms of epilepsy trace back to defects in the ion channels that generate and control neuronal firing. Two key patterns have emerged from pathophysiological studies. One involves loss of inhibition: when inhibitory interneurons lose the function of their sodium channels (specifically NaV1.1), they can no longer fire properly and the excitatory neurons they are supposed to restrain go unchecked. The other involves dysfunction at the axon initial segment, the stretch of the neuron where action potentials are normally generated and where many critical sodium and potassium channels are concentrated.12PubMed Central. Ion channels in genetic and acquired forms of epilepsy

Either defect can produce the runaway synchronization that defines a seizure: huge populations of neurons firing together in abnormal rhythms, overwhelming normal signaling. This underscores how much the brain’s electrical stability depends on a fine balance between excitatory neurons that drive activity and inhibitory neurons that keep it in check. The same ion channel machinery that enables normal thought, pushed slightly out of calibration, produces a medical emergency.

Manipulating Brain Electricity With Deep Brain Stimulation

If abnormal electrical patterns can cause disease, deliberately changing those patterns can sometimes treat it. Deep brain stimulation (DBS) involves implanting thin electrodes into specific brain regions and delivering continuous high-frequency electrical pulses. In Parkinson’s disease, one of the best-studied applications, the target is typically the subthalamic nucleus, a small structure where neurons become locked into abnormal oscillations in the beta-frequency band (roughly 13 to 30 Hz). These pathological beta oscillations are associated with the slowness, rigidity, and tremor that characterize the disease.

High-frequency DBS suppresses these beta oscillations, and the degree of suppression correlates with symptom improvement.13Brain. Neurophysiological mechanisms of deep brain stimulation across spatiotemporal resolutions The effect is not just local: stimulation in the subthalamic nucleus reduces pathological oscillations in downstream areas including the motor cortex. Intriguingly, stimulating at beta frequencies (rather than the therapeutic high frequencies) actually makes symptoms worse, reinforcing the idea that it is the disruption of abnormal rhythms, not stimulation per se, that provides the benefit.14PubMed Central. Mechanisms of deep brain stimulation

The Surprising Heat Signature of a Nerve Impulse

You might expect that moving billions of ions around would generate heat, and it does, but in a way that puzzled researchers for decades. When a nerve impulse travels down a fiber, the nerve first releases a small amount of heat and then reabsorbs almost the same amount during the recovery phase. The process is nearly thermally neutral.15PubMed. The important consequences of the reversible heat production in nerves and the adiabaticity of the action potential

A compelling explanation is the “condenser theory”: the cell membrane acts like a capacitor storing electrostatic energy. When the membrane depolarizes during an action potential, that stored energy is released as heat. When the membrane repolarizes, the energy is recaptured and the heat is reabsorbed.16PubMed. Heat of nervous conduction: A thermodynamic framework In myelinated fibers, where ion exchange is restricted to the nodes of Ranvier, the total heat produced per impulse is roughly two orders of magnitude smaller than in unmyelinated fibers, and most of it is reabsorbed.17PubMed. Heat production associated with a propagated impulse in bullfrog myelinated nerve fibers The near-reversibility of nerve heat production remains an active area of thermodynamic research, and it has fueled alternative models of the action potential that treat it partly as a mechanical and thermodynamic event rather than a purely electrical one.

Ancient Origins of Electrical Signaling

The ion channels that make brain electricity possible did not appear out of nowhere in complex animals. The voltage-gated channels responsible for action potentials belong to a large family found across eukaryotes, from single-celled organisms to mammals. Comparative genomic analysis indicates that the ancestor of this channel family was already voltage-sensitive and possessed key structural features recognizable in modern sodium and calcium channels, including parts of the molecular machinery for inactivation and for binding the regulatory protein calmodulin.18PubMed Central. Diversity and evolution of four-domain voltage-gated cation channels of eukaryotes and their ancestral functional determinants

This means the basic toolkit for electrical signaling predates the evolution of neurons themselves. Single-celled organisms use voltage-gated channels to respond to environmental stimuli, reversing their swimming direction or controlling the timing of cellular events. When multicellular animals evolved nervous systems, they repurposed and diversified these ancient channels rather than inventing electrical signaling from scratch. The brain’s electricity, in other words, is a sophisticated elaboration of a capability that life has relied on for over a billion years.

Reading the Brain’s Electrical Signals From Outside

The tools available for detecting brain electricity vary enormously in what they can resolve. Implanted sensors placed directly on or inside brain tissue can pick up the firing of individual neurons, signals with frequency content above 300 Hz. At a slight distance, they capture local field potentials, the synchronized activity of small clusters of neurons below 300 Hz. Non-invasive methods like EEG, recorded from the scalp, are limited to large-scale synchronized discharges at 100 Hz or less.19Fundamental Research. Signal acquisition of brain–computer interfaces: A medical-engineering crossover perspective review

This tradeoff between invasiveness and signal quality is the central challenge for brain-computer interfaces. A scalp EEG can tell you that a person is imagining moving their left hand, but with poor spatial precision and a lag. An implanted electrode array can decode which finger is moving in real time, but it requires surgery and carries the risk of tissue damage and infection. Current research is pushing toward less invasive approaches that still capture high-quality signals, including thin-film electrodes placed just beneath the skull and miniaturized wireless sensors that sit on the brain’s surface. The brain’s electrical output, the same ion-driven voltage changes that neurons have been producing since before there were brains, is now the raw signal driving an emerging generation of devices aimed at restoring movement, communication, and sensory experience to people who have lost them.