Why an unstimulated neuron has a membrane voltage

Unequal ion concentrations and selective permeability

The voltage between the inside of an unstimulated neuron and its surroundings is the resting potential. An example value of about −70 mV means that the inside is negative relative to the outside. The exact value depends on the cell type and its conditions.
The relevant ions are distributed unequally: sodium ions (Na⁺) are more concentrated outside, whereas potassium ions (K⁺) are more concentrated inside. Large negatively charged particles in the cytoplasm cannot cross the membrane freely. A very small separation of charge close to the membrane is sufficient to produce the voltage, while the bulk fluids on both sides remain approximately electrically neutral.
Concentration gradients and electrical attraction

At rest, leak channels usually make the membrane more permeable to potassium than to sodium. The concentration gradient favours potassium movement outwards, opposed by electrical attraction towards the negative interior. Together, these chemical and electrical influences form the electrochemical gradient.
Small sodium currents and other ions also contribute to the voltage. The resting potential is therefore a dynamic steady state, with balanced currents even though ions continue to cross the membrane. The balance symbol illustrates opposing forces rather than a complete halt in ion movement.
The sodium–potassium pump maintains the gradients

For each transport cycle, the sodium–potassium pump moves three Na⁺ out of the cell and two K⁺ into it, using the breakdown of ATP into ADP and inorganic phosphate. This active transport maintains concentration differences despite leak currents. Its unequal transfer of charge also contributes slightly to the voltage.
Rapid voltage changes during an action potential mainly result from changes in channel states. The pump does not immediately restore the resting voltage after each impulse but maintains the ion gradients over time. These gradients gradually decline if the supply of ATP fails for a prolonged period.
Image credits & scientific sources
The illustrations are based on EduBioSim’s own English explanatory videos and have been selectively edited for this Learning page.
YouTube 1 · YouTube 2 · YouTube 3
Scientific sources: OpenStax: The Action Potential, OpenStax: Communication Between Neurons.
The sodium-channel sequence is a newly generated schematic two-gate model in the visual style of the videos. Scientific background: Na channel inactivation from open and closed states.