The present invention, in one form, provides compensation for the effects of an oscillatory B0 eddy current Be(t) in an NMR apparatus. In an NMR apparatus having a transmitter (36) generating a spin excitation signal and a receiver (38) detecting an NMR signal, applied gradient signals are analyzed to estimate a resulting oscillatory B0 eddy current Be(t). The frequency of either the transmitter (36) or the receiver (38) of the NMR apparatus, or both, is shifted in frequency by an amount proportional to Be(t) to achieve compensation. The applied gradient signals are digitized and filtered using a recursive filter (10) that is based upon an oscillatory model of the oscillatory B0 eddy current Be(t). <;IMAGE>;