A tuning technique for mutual phase locking of two vertically stacked long Josephson junctions is suggested and successfully tested. The technique is based on passing a current through the middle electrode between two tunnel barriers. Mutually synchronized oscillation modes in the Nb/Al–AlOx/Nb stack are found to be tunable in the frequency range from 180 to 420 GHz. Presented results extend the possibility of using stacked long Josephson junctions as coherently operating oscillators for millimeter and submillimeter wave bands. © 1996 American Institute of Physics.