Various approaches are described for managing refractory periods based on the detection of an evoked response. The heart is paced and an evoked response is detected. At least one refractory period is adapted based on the detected evoked response. Adapting the refractory period may involve, for example, initiating a refractory period, terminating a refractory period, extending a refractory period or modifying one or more parameters of the refractory period. Adapting the refractory period may involve modifying a sensing threshold based on the detected evoked response. The sensing threshold of an atrial sensing channel may be adjusted, for example, to avoid sensing a ventricular evoked response on the atrial channel while allowing sensing of a P-wave on the atrial channel.