Why does my smoke alarm chirp in the middle of the night?
Because battery voltage falls as the room cools, and the coldest part of a 24-hour cycle in most homes is the early hours of the morning. A battery sitting just above the low-battery threshold during the day drops below it overnight, the alarm chirps, and by the time you get up the room has warmed enough to push it back over the line — so the chirping stops and the problem seems to vanish.
This is not a fault in the alarm. It is a straightforward consequence of battery chemistry: the internal resistance of a cell rises as temperature falls, reducing the voltage it can deliver under load. Manufacturers are aware of it, and it is the single most common explanation for the classic 3am chirp.
The fix is to replace the battery rather than wait for it to recur. Replace it in every alarm at the same time, so you are not repeating the exercise a month later. If the unit is a sealed ten-year alarm, a low-battery chirp means the whole unit has reached end of life and needs replacing — the battery is not serviceable.
If a new battery does not stop it, work through the other causes. Dust or an insect inside the sensing chamber causes intermittent chirps or false alarms, so vacuum around the vents. Steam and high humidity can trigger it, which is why alarms near bathrooms and kitchens misbehave. And smoke alarms have a finite life regardless of power — typically ten years from the date of manufacture printed on the back — after which the sensor degrades and the unit should be replaced.
Never solve it by removing the battery and leaving the alarm unpowered.