The California Building Code stipulates the placement of smoke alarms on every level, inside every bedroom and in the hallway adjacent to a bedroom. Avoid placing smoke alarms in kitchens, garages, or within 3 feet of bathroom doors to reduce the probability of false activation.
Carbon monoxide alarms are required on each level of the home and outside of each bedroom.