A simple automatic frequency control system for reflex klystrons is described. A sample of the microwave power is reflected from a reference cavity that has a modulated resonant frequency. The detected signal is phase sensitively demodulated in a transistorized demodulator that can be inserted directly into the reflector lead of the klystron.