Shunting is an event in the neuron which occurs when an excitatory postsynaptic potential and an inhibitory postsynaptic potential are occurring close to each other on a dendrite, or are both on the soma of the cell.