Place a ladder under the smoke alarm. Make sure the ladder is sturdy and can hold your weight.
Climb the ladder with new batteries in hand, and twist off the smoke alarm from the mounting brackets. Open the battery chamber on the unit. Remove the battery or batteries, and replace them with the new.
Test the smoke alarm by pressing and holding down the test button, which should make the unit emit a loud alarm. Twist the alarm back onto its mounting brackets.