(Amended). A rate responsive demand pacemaker having a pulse generator for generating and delivering stimulus pulses, rate sense means for sensing natural beats and obtaining a measure of the rate of said natural beats, a rate control for controlling the rate of delivery of stimulus pulses by said pulse generator, rate responsive means for obtaining sensor signals indicative of desired pacing rate and for generating therefrom sensor rate signals (R) in accordance with a rate response function which is a function of said sensor signals over a desired pacing range, said rate control circuit controlling said rate of delivery in accordance with R, characterized by first comparing means for comparing said measure of said natural beat rate and R at a predetermined rate, and adjust means operative during detection of natural beats for adjusting said rate response function as a function of said first comparison.