The invention discloses an anti-oxidation treatment technology before steel structure material heat treatment. The anti-oxidation treatment technology specifically comprises the following steps of (1)steel structure material pretreatment, (2) steel structure material roughening treatment, and (3) steel structure material surface spraying treatment. According to the anti-oxidation treatment technology, by processing a steel structure material, on the premise that the strength of the steel structure material meets the industrial requirement, the grain size of the steel structure material is increased as much as possible, the surface height of the steel structure material is made to be different, and accordingly, the surface roughness of the steel structure material is improved; then, spraying powder is sprayed onto the surface of the steel structure material, an anti-oxidation coating is formed, oxygen is stopped from scattering into the steel structure material, and the situation thatthe steel structure material oxidizes in the heat treatment process, and oxide scale is generated is effectively prevented; and in addition, the corrosion resistance and the abrasion resistance of thesteel structure material can be improved through the coating subjected to heat treatment, influence on direct using or follow-up machining of workpieces is avoided, and the wide application prospectis achieved.