An optical DQPSK modulator comprises a pair of phase modulators. Each of the pair of the phase modulators is provided with first and second driving signals. The first and second driving signals are amplified by first and second amplifiers, respectively. An RZ intensity modulator generates an optical RZ-DQPSK signal from an optical DQPSK signal output from the optical DQPSK modulator. A photodetector generates a monitor signal from the optical RZ-DQPSK signal. A gain adjuster unit adjusts the gains of the first and second amplifiers so as to minimize the power of the monitor signal.