The invention discloses an epidemic prevention respirator with a sleep apnea prevention function. The epidemic prevention respirator specifically comprises a bottom plate, an air source chamber, an air supply device and an inspiration mask, wherein the air source chamber is mounted at the top end of the bottom plate, universal wheels are fixed to the four corners of the bottom end of the bottom plate correspondingly, an air filtering chamber is formed in one side of the interior of the air source chamber, an oxygen generation chamber is arranged on the other side in the air source chamber, a first door body is hinged to one end, close to one side of the air filtering chamber, of the air source chamber, and a control panel is fixed to the side, close to the air filtering chamber, of the topend of the air source chamber. According to the epidemic prevention respirator with the sleep apnea prevention function, an air pressure sensor is arranged on the inspiration mask, the air pressure in the inspiration mask can be monitored in real time, once the head moves to cause air leakage of the inspiration mask during sleeping, the control panel can control a small inspiration pump to operate to perform air leakage compensation, unsmooth respiration of a user due to air leakage of the inspiration mask is avoided, and the use safety is higher.