The invention belongs to the technical field of monitoring camera shooting, and particularly relates to a school monitoring camera with an alarm function, which comprises a mounting mechanism and a main camera shooting mechanism, the mounting mechanism comprises a transverse plate, a circular groove is formed in the bottom of the transverse plate, a storage shell is fixedly mounted on the upper portion of the transverse plate, a storage cavity is formed in the storage shell and penetrates through the transverse plate to the circular groove, and a standby camera is arranged in the storage cavity. The standby camera is connected to the top of the inner surface of the storage shell through a travel switch, the standby camera moves downwards to the maximum travel to turn on the travel switch, and a plurality of air inlet holes are formed in the side face of the storage shell. According to the school monitoring camera with the alarm function, after the main photographing module falls off, the power supply of the standby camera is switched on, and the standby camera is started for photographing and recording, so that real-time photographing of the current environment is ensured, and data loss is avoided.