Neurons store energy in the ionic concentration gradients they build across their cell membrane. The amount of energy stored, and hence the work the ions can do by mixing, can be enhanced by the presence of ion buffers in extra- and intracellular space. Buffers act as sources and sinks of ions, however, and unless the buffering capacities for different ion species obey certain relationships, a complete mixing of the ions may be impeded by the physical conditions of charge neutrality and isotonicity. From these conditions, buffering capacities were calculated that enabled each ion species to mix completely. In all valid buffer distributions, the [Formula: see text] ions were buffered most, with a capacity exceeding that of [Formula: see text] and [Formula: see text] buffering by at least an order of magnitude. The similar magnitude of the (oppositely directed) [Formula: see text] and [Formula: see text] gradients made extracellular space behave as a [Formula: see text]-[Formula: see text] exchanger. Anions such as [Formula: see text] were buffered least. The great capacity of the extra- and intracellular [Formula: see text] buffers caused a large influx of [Formula: see text] ions as is typically observed during energy deprivation. These results explain many characteristics of the physiological buffer distributions but raise the question how the brain controls the capacity of its ion buffers. It is suggested that neurons and glial cells, by their great sensitivity to gradients of charge and osmolarity, respectively, sense deviations from electro-neutral and isotonic mixing, and use these signals to tune the chemical composition, and buffering capacity, of the extra- and intracellular matrices.