A moving object detecting device includes a detecting device body that includes a detection unit formed in a chassis covering the inside of an apparatus and disposed to correspond to a monitoring window of which at least an aperture area or an aperture size is restricted and which monitors a moving object approaching the apparatus and a circuit board unit controlling a signal output from the detection unit and is disposed so that some optical axes among optical axes having detection surfaces of plural infrared detecting elements included in the detection unit, as focal points passes through the monitoring window and the other optical axes are blocked by the chassis, and an optical member that is formed in an inner wall of the chassis and that deflects the other optical axes of the infrared detection elements to pass through the monitoring window.