Door Locks and Dementia Wandering: Fire Safety Rules Families Must Consider

Fire codes ban interior locks on exit doors, but wandering puts people with dementia at serious risk—here's how to address both dangers.

Families caring for someone with dementia face a genuine safety paradox: locking doors to prevent wandering can directly violate fire codes and emergency evacuation requirements. Most fire safety regulations require that exit doors remain unlocked from the inside at all times, allowing any occupant—including a person with cognitive decline—to leave quickly in an emergency. Yet many families resort to locks precisely because a person with dementia may wander out of the home at any hour, become disoriented, and face serious risks including exposure, traffic accidents, and becoming lost. There is no single lock type or solution that safely solves both problems. The question isn’t whether to choose one safety concern over the other, but how to layer complementary strategies that address wandering while maintaining legitimate fire escape routes.

This tension exists because fire codes prioritize life safety in emergencies—seconds matter when a building is burning or becoming uninhabitable. Dementia wandering, by contrast, is a slow-motion emergency: a person who leaves home at 2 a.m. may be found hours later, suffering from hypothermia or injury. Both risks are real, both can be fatal, and both require serious planning. Understanding your local fire codes, the specific behaviors of the person in your care, and the practical tradeoffs of different locking strategies is essential before deciding what goes on your doors.

Medical information disclaimer: This article is for general educational purposes only and does not provide medical advice, diagnosis, or treatment. Always consult a physician or other qualified health professional about symptoms, medications, tests, or treatment decisions.

Table of Contents

WHY FIRE CODES PROHIBIT INTERIOR LOCKS ON EXITS

Fire codes, enforced through the International Fire Code and adopted locally by municipalities, treat locked exit doors as a serious hazard. In a fire, a person may panic, have reduced mobility, face smoke and disorientation, or simply lack the knowledge that a particular exit exists. An interior lock—a deadbolt, a keyed knob, or a chain that requires manual unlocking—creates a delay and a decision point. During an actual fire or emergency, that delay can be fatal.

A person with dementia may forget how to unlock a door they’ve opened hundreds of times; they may not recognize the emergency; they may become confused and try the wrong exit. Local fire marshals and building inspectors enforce these codes through home inspections, particularly in jurisdictions where dementia-related safety inspections have become more common. Some states have begun requiring that homes caring for people with advanced dementia be inspected for fire safety compliance. If an inspector finds a keyed deadbolt on a bedroom or exit door, or a lock that requires a key from the inside, the home can be cited and ordered to remove or modify the lock. For caregivers who rent, this can create conflict with landlords; for homeowners, it’s an unexpected cost and a source of frustration when safety concerns feel incompletely addressed.

THE SPECIFIC FIRE CODE RULES ABOUT LOCKED DOORS

Most jurisdictions follow the model that any door that serves as a required exit must be openable by occupants without a key, tool, or special knowledge. This applies to bedroom doors, patio doors leading outside, basement doors, and garage exits—any door that could be part of an evacuation route. Bedrooms in particular are treated as potential places of refuge if a person cannot exit immediately; a locked bedroom door that traps someone inside is considered a code violation by most fire marshals. The rules become more complex in facilities. An assisted living facility or memory care unit is subject to different regulations than a private home, and those facilities often have specific exemptions allowing certain security measures that would violate codes in a residential setting.

A locked unit door in a memory care community may be permitted under the assumption that staff are present and trained to unlock and evacuate; the same lock in a private home where an elderly spouse is the primary caregiver is not. For families, this distinction matters: what is legal and safe in a professional setting is not legal or practical at home. A critical limitation: fire codes often don’t address dementia-specific safety at all. They assume all occupants are cognitively intact and can recognize emergencies and operate locks. Code writers and fire marshals are not dementia care experts, and caregivers are not fire safety experts. This gap is where families get stuck—compliance with fire code doesn’t automatically solve wandering, and solving wandering doesn’t automatically comply with code.

UNDERSTANDING WANDERING BEHAVIOR IN DEMENTIA

Wandering in dementia is not one behavior but several. Some people leave home seeking a specific place—a childhood home, a job they no longer work at, someone they believe is waiting. Others wander for sensory stimulation, restlessness, or to relieve anxiety or pain they cannot express. Some wander at predictable times; others leave at random, sometimes repeatedly in a single night. An 82-year-old man with mid-stage Alzheimer’s may exit through a patio door at 3 a.m. wearing only pajamas and slippers, having no memory of how to return home or why the neighborhood looks wrong. Within two hours in a temperate climate, hypothermia becomes a serious risk.

The consequences of wandering are not theoretical. Persons with dementia who wander and become lost face higher rates of traffic injury, falls, drowning (if water is nearby), and exposure-related death. Search and rescue operations are costly, traumatic for families, and don’t always end in recovery. Some families have installed GPS trackers on the person with dementia, or enrolled them in the Silver Alert system (in jurisdictions where it exists), but these are reactive measures—they help locate someone who has already left, not prevent the leaving. Medication, structured activities, and environmental modifications like removing visual cues that trigger wandering (car keys, outdoor clothing left visible) can reduce wandering frequency. Some families increase supervision, reduce caffeine, or ensure adequate daytime activity to reduce nighttime restlessness. None of these approaches eliminates wandering entirely in someone with progressive dementia. A lock—whether accessible or not—is often seen as the only guaranteed way to prevent someone from leaving.

TYPES OF LOCKS AND THEIR FIRE CODE STATUS

A standard keyed deadbolt on an interior side of an exit door is prohibited by fire code. A key-in-knob lock (the lock mechanism built into the doorknob itself) that requires a key from inside is similarly prohibited. A chain lock or slide bolt on the inside is prohibited. A keyed entry handle—where both sides of the handle require a key—is prohibited. These prohibitions exist for doors that serve as required exits or are in bedrooms. A push-button privacy lock (the small lock on a bedroom doorknob that is unlocked by pressing a button or inserting a small pin from the outside) is generally permitted, because it does not trap an occupant—someone inside can always open the door by turning the knob or lock button, with no key required.

However, a privacy lock does not prevent wandering; it only prevents intrusion. A person with dementia will unlock and open it as easily as unlocking any other door. Magnetic locks and electronic locks (doors that can be locked or unlocked by keypad, fob, or remote control) are a growing middle ground. A door with an electronic lock can be locked at night to prevent wandering but must fail-safe—meaning the lock releases automatically if power is lost, the fire alarm is triggered, or the building’s fire system activates. A properly installed fail-safe electronic lock is generally fire-code compliant, but the installation must be correct and inspected. A cheap or incorrectly wired electronic lock that traps occupants in an emergency is a fire code violation. This option is more expensive than a standard lock and requires professional installation and ongoing maintenance.

COMMON PROBLEMS WITH LOCKING SOLUTIONS

Even fail-safe electronic locks present practical challenges. They require power, a backup battery (which must be maintained and tested), and regular functional checks to ensure the fail-safe mechanism works. In a home with an aging caregiver, particularly one who is already managing medications, appointments, and personal care, adding an electronic lock system adds one more thing to fail or be overlooked. A dead battery in a fail-safe lock at 2 a.m. when someone wanders may not solve the problem; worse, if a caregiver doesn’t discover the dead battery until after an escape occurs, the lock has created a false sense of security. A warning: some families attempt to work around fire codes by installing locks they know are prohibited, reasoning that wandering is an immediate and visible risk while a fire might never happen.

This is understandable but dangerous. House fires do occur, and having occupants trapped behind a locked door, or having firefighters waste critical seconds trying to determine which locks need to be broken, can be fatal. Additionally, a fire inspector who discovers a prohibited lock may not only order it removed; they may cite the home, impose fines, or—in some cases—report the situation to adult protective services if the locked door is perceived as unlawful confinement. Another common problem: family members may lock a door and forget to unlock it during the day or before bed, creating inconsistency. A person with dementia may develop a habit or ritual around a particular door; if it’s sometimes locked and sometimes open, the inconsistency can increase confusion and agitation. Some families solve this with daily routines (the door is always locked at 9 p.m. and unlocked at 7 a.m.), but this requires discipline and coordination among multiple caregivers.

ALTERNATIVE AND COMPLEMENTARY STRATEGIES

Because no single lock solution safely solves both fire safety and wandering prevention, effective strategies layer multiple approaches. Motion sensors placed on exterior doors can alert caregivers if a door is opened at unusual times, triggering an alarm or notification to a phone. These sensors do not prevent wandering, but they provide early warning so a caregiver can respond before the person with dementia has traveled far or become severely disoriented.

Some families combine motion sensors with a chime or loud alarm; the loud noise can startle a person and remind them they are doing something they’ve been told not to do, though this is unpredictable and may not work in later-stage dementia. Door wedges, portable locks that can be installed and removed from outside a door, provide a middle ground: they prevent opening from the inside but do not permanently damage the door or violate fire code if removed during the day or in emergencies. However, a person with dementia may push hard enough to dislodge a wedge, and a wedge on a bedroom door can still trap someone in a fire if the household alarm does not immediately alert all occupants.

PLANNING FOR BOTH RISKS

Creating a plan that addresses both wandering and fire safety requires explicit conversation with everyone involved in the person’s care—spouse or partner, adult children, caregivers, neighbors who have house keys, and the local fire department. Some fire marshals will conduct informal consultations with families about dementia-specific security, and can explain what is permitted in your jurisdiction, what is not, and what might work as a compromise. A few family doctors or geriatric specialists can also offer guidance, though many have limited expertise in fire safety.

Documentation matters. Keep records of what doors have locks, what type of lock, and why—this matters if a caregiver needs to understand the safety setup or if an inspector appears. Some families create a written plan describing how doors are managed (which are locked at night, which doors have electronic locks, where keys are kept, how often locks are tested). If an escape does occur and emergency responders are called, a written plan can be provided to police or fire departments, helping them understand what happened and reducing time spent assessing the situation.


You Might Also Like