This paper describes the thermal and structural analysis of the electron gun cathode and its support structure using ANSYS package. With this package the temperature and thermal expansion of the cathode and its support have been computed. In the hot condition the effects of the thermalstress to the shot distance, waist radius, perveance and compress ratio of the electron beam have been brought out by TWTCAD. Good agreement is observed between the numerical and experimental results. The influences of the thermal expansion of the cathod and its support on the beam behavior werer discussed.The results presented here are beneficial to the design of the TWT.