1. Low Battery
The most common reason one may have for the smoke detector beeping is for low battery. Smoke detectors have been wired to let you know when a low charge is present within the battery through a periodic chirping sound.
This chirping is a significant safety feature intended to prompt you to replace the battery before the battery dies completely, so that the detector may remain operational.
Solution
Replace the battery with a new one. Most smoke detectors take 9-volt batteries, but this is the type that should be checked against your model. Immediately after replacing it with the new one, press the test button on the smoke detector.
This involves verifying that the new battery has been correctly fitted in and the detector is hot. It is also a good practice to replace it every year, even though the battery seems fine to ensure prime performance.