External pacemaker systems and methods deliver pacing waveforms that minimize hydrolysis of the electrode gel. Compensating pulses are interleaved with the pacing pulses, with a polarity and duration that balance the net charge at the electrode locations. The compensating pulses are preferably rectangular for continuous pacing, and decay individually for on-demand pacing.