The paper studies the structure, electron beam parameters and beam-wave interaction of a complex cavity with gradual transition employed in the 94 GHz gyrotron. A self-consistent field nonlinear theoretical analysis is used and numerical simulation results for electron beam interaction with the modep air H61-H62 are given. A pulse output power of 78 kW is obtained for the gyrotron by simulation at the beam voltage of 40 kV with beam current of 10 A, velocity ratio of 1.3, and magnetic field of 3.6 T, corresponding to a beam-wave interaction efficiency of 39%.