The invention relates to the field of barns for captive livestock and specifically relates to a sunstroke-prevention thermal insulation pigsty. The sunstroke-prevention thermal insulation pigsty comprises a pigsty body and an arc-shaped top cover located on the top of the pigsty body, wherein a base is fixed on the ground in the pigsty body; the arc-shaped top cover comprises a sawtooth layer on the surface, an arc-shaped support layer and a support mechanism, and the support layer is fixedly connected to the lower part of the sawtooth layer; the support mechanism comprises a support pillar, a rotary pillar, a crossbeam and oblique beams; the support pillar is fixedly connected to the base, the rotary pillar is in threaded connection with the support pillar, the crossbeam is in sleeved connection with the upper end of the rotary pillar, the oblique beams are used for connecting the end parts of the crossbeam with the end part of the support pillar, the top end of the support pillar is hinged to the support layer of the arc-shaped top cover, and the crossbeam and the oblique beams are located in the arc-shaped top cover. According to the sunstroke-prevention thermal insulation pigsty, the top cover can be lifted in summer to ventilate so as to lower the temperature; and when the surface of the top cover of the sawtooth layer is irradiated by sunshine, the sunshine is reflected, so that the heat absorption is reduced, and the pigsty is relatively cold; and when the temperature is low in winter, the top cover is descended to reduce the blow-in of wind, so that the thermal insulation of the pigsty is realized.