The double anode electron gun is designed and calculated according to the requirements for the gyrotrons.The electrode shapes, electron trajectory and electron beam parameters are also given.The electron gun has such characteristics as small velocity spread , good laminar flow and small volume, etc.