The invention discloses a gas-liquid cylinder which comprises a cylinder body, a
piston is arranged in the cylinder body, a
piston rod with the end extending out of the cylinder body is connected to the
piston, a
gas chamber and an oil chamber are correspondingly formed in the two sides of the piston in the cylinder body respectively, a gas channel communicated with the
gas chamber is formed in the cylinder body, and the oil chamber is communicated with the gas channel. The cylinder body is further provided with an independent oil inlet and an independent oil outlet which are communicated with the oil chamber, and a switch valve is arranged at the oil outlet. When the
piston rod extends outwards, the switching valve is closed to close the oil outlet, hydraulic oil is input into the oil chamber from the oil inlet, and gas in the
gas chamber is compressed to form pre-pressure; and when the
piston rod resets, the switching valve is opened to open the oil outlet, and the hydraulic oil in the oil chamber is discharged from the oil outlet. The reset mechanism has the advantages of being reasonable in structure and high in reset speed.