The invention relates to the technical field of heat dissipation equipment, in particular to an oil-gas cooler which comprises a cooling shell, a braking mechanism and a cooling mechanism, the braking mechanism is located above the cooling shell, the cooling mechanism is located in the cooling shell, and a first liquid inlet pipe is inserted into the outer wall of one side of the cooling shell; a first liquid inlet pipe is installed in the cooling shell, a first connecting shell is installed on the outer wall of one side of the first liquid inlet pipe, and circulating cooling pipes distributed at equal intervals are connected to the outer wall of one side of the first connecting shell in an inserted mode. A first rectangular groove is formed in the bottom of the outer wall of one side of the first partition plate, and a second rectangular groove is formed in the top of the outer wall of one side of the second partition plate, so that cooling water can flow to the upper portion from the bottom of the cooling shell, the cooling water subjected to heat exchange is better guided out of the cooling shell, and the cooling effect is improved.