First, choose locations for your smoke alarms. The ceiling is the best place, since smoke rises and it allows the alarm to be centrally located in the room. If you put it on a wall instead, it's best to use an inside wall.