Yes, it's in the Buiding Code and required by my landlord - they provide the smoke alarms and I have one of my own.