Apartment buildings in Pennsylvania must follow the fire safety rules in the state’s Uniform Construction Code (UCC), which as of January 1, 2026 adopts the 2021 editions of the International Building Code (IBC) and the International Fire Code (IFC).1Manheim Township. Code Change Memo 2026 Together these rules govern smoke and carbon monoxide alarms, sprinklers, extinguishers, exit routes, and the fire-rated walls and doors that separate one unit from the next. Violations are summary offenses carrying fines of up to $1,000 per day, and tenants have their own remedies when a landlord ignores a safety problem.
What Changed in 2026
Pennsylvania moved from the 2018 International Code Council family of codes to the 2021 editions on January 1, 2026. The new editions apply to any project where a construction permit is sought after that date.2Penn State Housing Research Center. PA Uniform Construction Code (UCC) The IFC applies to apartment buildings mainly through the fire protection and life safety chapters of the IBC that reference it.1Manheim Township. Code Change Memo 2026 The UCC applies statewide, so the underlying rules are the same whether the building sits in Philadelphia, Pittsburgh, or a small borough.3Commonwealth of Pennsylvania. Uniform Construction Code Statute
Smoke and Carbon Monoxide Alarms
The IBC requires smoke alarms in three places inside every apartment classified as an R-2 occupancy: inside each sleeping room, on the ceiling or wall immediately outside each sleeping area, and on every story of the unit including basements.4International Code Council. 2021 International Building Code – Chapter 9 Fire Protection and Life Safety Systems New construction must use hard-wired alarms with battery backup. Older buildings that haven’t undergone major renovation may use battery-operated alarms under exceptions in the code, and ten-year sealed lithium units have become the standard for those installations. Larger buildings often interconnect alarms so that one triggered device sounds the rest.
Carbon monoxide alarms are a separate requirement. The Pennsylvania Carbon Monoxide Alarm Standards Act requires a CO alarm in any rental unit with a fossil-fuel-burning heater or appliance, a fireplace, or an attached garage. The alarm must sit centrally near bedrooms and near the fuel-burning appliance.5Pennsylvania General Assembly. Pennsylvania Statutes Title 35 PS Health and Safety 7225 – Carbon Monoxide Alarm Requirements in Rental Properties
Testing duties are split. The building owner must inspect every fire alarm device in each apartment at least once every 12 months. Tenants test their alarms when they move in and monthly after that, unless the lease assigns the duty differently.6Cornell Law Institute. Pennsylvania Code 34 – 50.58 Inspection and Maintenance of Detection Devices Owners should keep written records of every annual inspection.
Sprinkler Systems
The 2021 IBC requires automatic sprinkler systems throughout all buildings with an R-2 fire area, which covers most apartment buildings.7International Code Council. 2021 International Building Code – 903.2.8 Group R A narrow exception exists for R-2 buildings with fewer than five dwelling units, where alternative protections may apply.8UpCodes. Group R-1 and R-2 Painted-over heads, corroded pipes, and valves shut off during unrelated plumbing work can all disable a system quietly, so annual inspection by a licensed fire protection contractor is the practical standard.
Portable Fire Extinguishers
IFC Section 906 requires portable extinguishers sized and spaced to the hazard. For ordinary combustibles in common areas, the code calls for a minimum 2-A rating and a maximum travel distance of 75 feet to the nearest extinguisher.9International Code Council. 2021 International Fire Code – Section 906 Portable Fire Extinguishers The top of a mounted unit sits no higher than five feet from the floor, dropping to three and a half feet for units heavier than 40 pounds. Each extinguisher carries a tag showing the date of its last professional inspection.
Exits, Doors, and Emergency Lighting
IFC Chapter 10 requires every apartment building to maintain a clear path from each unit to the exterior. Hallways and stairwells must stay free of furniture, boxes, strollers, and trash. This is one of the most commonly cited violations in apartment buildings.
Every egress door must open from the inside without a key or any special knowledge, using a single motion to release all locks and latches.10UpCodes. 1010.2 Door Operations Doors along the exit path must swing in the direction of travel. Interior-keyed deadbolts, chain locks that take two hands, and any device requiring more than one motion to open all violate the code on egress doors.
Illuminated exit signs go at every decision point along the path to the exterior. The signs must stay lit at all times and must be connected to an emergency power source capable of maintaining illumination for at least 90 minutes after primary power fails. Emergency lighting along the egress path has to meet the same 90-minute standard.11International Code Council. 2021 International Fire Code – Chapter 10 Means of Egress
Fire-Rated Walls and Doors
The walls separating individual apartments from each other and from corridors are classified as fire partitions, and the 2021 IBC requires a fire-resistance rating of at least one hour. In fully sprinklered buildings of lighter construction types (IIB, IIIB, and VB), the rating for dwelling-unit separations can drop to half an hour.12International Code Council. 2021 International Building Code – Chapter 7 Fire and Smoke Protection Features The point is to confine a fire to one unit long enough for neighbors to evacuate and firefighters to arrive.
A rated wall only works if it stays sealed. Every penetration for plumbing, electrical wiring, or cable must be closed with fire-rated caulk or an approved firestop. A single unsealed hole around a pipe can let fire and smoke move through a wall that would otherwise hold for an hour. Residents who drill through shared walls for cable or shelving can compromise the barrier, and landlords should address this in the lease.
Corridor and stairwell doors must be self-closing and fire-rated. They have to close and latch on their own every time. Propping them open with wedges, doorstops, or tied-off closers is a straightforward violation and shows up in nearly every fire marshal inspection. The gap between the door and its frame should not exceed one-eighth of an inch at the sides and top, with a maximum three-quarter-inch clearance at the bottom.
When Older Buildings Have to Upgrade
The law doesn’t force owners to tear down functional older buildings. The International Existing Building Code (IEBC) controls when work on an existing building triggers compliance with current standards. The general rule is that additions, significant alterations, or a change in the building’s use require the affected portions to meet current code.13International Code Council. Effective Use of the International Existing Building Code
Sprinkler retrofits turn on the scope of the work. When alterations in an R-2 building affect a work area exceeding 50 percent of the floor area, and the building would require sprinklers under the current IBC if built new, sprinklers must go in. High-rise residential buildings must be retrofitted with automatic sprinklers regardless of planned renovations, unless every unit has direct exterior exit access or an approved engineered life safety system provides equivalent protection.
Minor repairs and limited alterations generally let a building stay under the code edition in effect when it was originally built, as long as there has been no substantial structural damage. For any renovation, check with the local code official early to pin down which compliance method applies.
Who Inspects and What Violations Cost
Municipalities handle day-to-day UCC enforcement. A local government can use its own code official, a third-party agency, or an agreement with another municipality or with the state Department of Labor and Industry.3Commonwealth of Pennsylvania. Uniform Construction Code Statute Alarm devices in each unit must be inspected by the owner at least once a year.6Cornell Law Institute. Pennsylvania Code 34 – 50.58 Inspection and Maintenance of Detection Devices Beyond that, inspection frequency varies: some larger cities inspect apartment buildings every year, while smaller towns rely more on complaints. Tenants can file a written complaint with the local code office to trigger an inspection.
A UCC violation is a summary offense. Conviction carries a fine of up to $1,000 plus court costs, and each day the violation continues counts as a separate offense.3Commonwealth of Pennsylvania. Uniform Construction Code Statute That daily counter adds up fast. A landlord who ignores a citation for a missing sprinkler system for 30 days faces potential fines of $30,000 before ever getting to trial. Some municipalities layer on additional local ordinances with escalating penalties for repeat offenses. A willful failure to install or maintain carbon monoxide alarms is its own summary offense under the Carbon Monoxide Alarm Standards Act.
The fines are small compared to civil liability. If a tenant is injured or killed in a fire that a code-compliant building would have prevented, courts look at whether the landlord knew about the violation and how long it went unaddressed. Keeping organized records of inspections, alarm tests, extinguisher service, and sprinkler checks protects owners on both fronts.
What Tenants Can Do When a Landlord Won’t Fix a Problem
Pennsylvania tenants aren’t limited to filing a code complaint. Every residential lease in the state carries an implied warranty of habitability, which requires the landlord to keep the unit safe and livable. Missing smoke detectors, broken sprinklers, blocked exits, and faulty wiring all qualify as habitability violations. The duty can’t be waived in the lease.
If the landlord receives written notice of the problem and a reasonable chance to fix it but doesn’t, tenants have four options:
- Withhold rent, provided you can show the unit is not habitable and that you gave proper written notice and reasonable time for repairs.
- Repair and deduct the cost from rent, subject to a limit on the deductible amount. Give written notice first and submit cost estimates.
- Terminate the lease and move out without penalty when the deficiency is severe enough.
- Sue for damages caused by the uninhabitable conditions.
Documentation decides these cases. Photograph the violation, keep copies of every written notice you send, and record any response. A tenant who withholds rent without the required notice risks an eviction filing even when the underlying safety complaint is valid. Following the notice steps is what turns a safety problem into a protected legal remedy.