The invention discloses a two-bed duplex tube medical diagnosis X-ray high frequency high voltage generator, which comprises a power supply and a central control unit, and also comprises a high frequency inverter circuit, a pulse-width modulation drive circuit and a high voltage commutation circuit. The generator converts the industrial power supply into two way high frequency high voltage, and then obtains positive end DC high voltage and negative end DC high voltage after the rectification and the filter to supply an X-ray pipet for working. Because the frequency is high and the high voltage ripple after the rectification and the filter is minimum, causing the X-ray pipet of a radiographic table and the X-ray pipet of an electric perspective table to work in turn under the condition of arranging only one set of high voltage supply. The equipment investment is saved, and the work of using the X-ray diagnosis for the medical staff is convenient. Being served as the high voltage supply, the invention is also suitable for the safety detection fields such as the industrial fault detection, the civil aviation, the station, the custom, etc., and supplies the stable high quality high voltage for the equipment.