Building Codes & Habitability — Massachusetts
Warranty of habitability, repair obligations, and city rental programs
State Habitability Standard
Implied warranty of habitability under state landlord-tenant law
Contact local housing authority for specific statutory citations and requirements.
Minimum Habitability Requirements
- Structural safety: sound roof, walls, floors
- Working plumbing and hot water
- Adequate heat
- Working electrical systems
- Pest-free premises
- Smoke and carbon monoxide detectors
Repair Obligations & Tenant Remedies
Rent Withholding
Consult local housing code — varies by condition severity
Massachusetts does not have a statutory repair-and-deduct remedy. Tenants must typically pursue code enforcement or court action for habitability failures. Consult Massachusetts General Laws Ch. 186 (Landlord and Tenant) + Ch. 239 (Summary Process) for current tenant remedies.
City-Level Rental Programs
Boston, MA — Rental Program Details
Registration Required
Yes
Fee Per Unit
$30/unit
Inspection Program
Boston Inspectional Services Department (ISD)
Inspection Frequency
On complaint; new rental registration inspections
Boston requires rental registration for most units (~$30/unit). ISD inspects for compliance with State Sanitary Code (105 CMR 410) and Boston housing codes. Lead paint inspection required for units built before 1978 with children under 6. Massachusetts CORI process governs use of criminal records in tenant screening. Source of income (Section 8) is protected under Massachusetts Chapter 151B.
Governing Statute
Massachusetts General Laws Ch. 186 (Landlord and Tenant) + Ch. 239 (Summary Process)
Code Details — Boston, MA
Relevant building code and habitability requirements from our corpus:
Building Codes — Hawaii (HI) Rental Housing
Building Codes — Hawaii (HI) Rental Housing Adopted code: Hawaii State Building Code based on 2018 IBC with local amendments per county. Habitability statute: HRS §521-42 (Hawaii Residential Landlord-Tenant Code). Heating: Hawaii's climate makes heating requirements less relevant; landlord must maintain all systems in working order; no cold-weather heating season defined. Smoke detectors: required in each sleeping room and on each floor; landlord installs; battery or hardwired (HRS §132-7.5). CO detectors: required in all residential units with fuel-burning appliances (HRS §132-8). Repair-and-deduct: yes — after written notice and landlord failure within reasonable time; cap is $500 or one month's rent. Notable: Hawaii has the highest housing costs per capita of any state; Honolulu has explored rent control. Owner-occupied rentals under 6 units are regulated by county. Each county (Honolulu, Maui, Hawaii, Kauai) has its own building permit office and inspection program.
Building Codes — Alabama (AL) Rental Housing
Building Codes — Alabama (AL) Rental Housing Adopted code: Alabama Building Code based on 2018 IBC; enforcement is by counties and municipalities. Habitability statute: ALA Code §35-9A-204 (Alabama Uniform Residential Landlord and Tenant Act — URLTA). Heating: landlord must provide working heating equipment; no specific minimum temperature in state law; courts apply 68°F as baseline. Smoke detectors: required in each sleeping room and on each floor (ALA Code §24-9-11); landlord installs; battery or hardwired. CO detectors: no statewide requirement as of 2024. Repair-and-deduct: yes — after written notice and 14-day failure; cap is $200 or half month's rent. Notable: Alabama preempts local rent control. Birmingham and Huntsville have local housing codes. Alabama's URLTA was substantially modernized in 2006 and covers most residential tenancies.
Building Codes — Rhode Island (RI) Rental Housing
Building Codes — Rhode Island (RI) Rental Housing Adopted code: Rhode Island State Building Code based on 2018 IBC. Habitability statute: RI Gen. Laws §34-18-22 (Residential Landlord and Tenant Act). Heating: Sept 1 through June 15; landlord must maintain 68°F in all habitable rooms. Smoke detectors: required in each sleeping room and on each floor; landlord installs; hardwired with battery backup required in buildings of more than 2 units; battery in single-family and duplex (RI Gen. Laws §23-28.1-5). CO detectors: required in all residential units with fuel-burning appliances or attached garage (RI Gen. Laws §23-28.1-5.1). Repair-and-deduct: yes — after written notice and landlord failure within 20 days; cap is $125 or one month's rent. Notable: Providence has a rental registration and inspection program. Rhode Island preempts local rent control. RI Department of Health has jurisdiction over minimum housing standards in addition to building code.
Building Codes — Mississippi (MS) Rental Housing
Building Codes — Mississippi (MS) Rental Housing Adopted code: Mississippi Building Code based on 2018 IBC; enforcement is primarily local. Habitability statute: Miss. Code §89-8-17 (landlord obligations under Landlord and Tenant Act). Heating: landlord must maintain working heating system; no specific minimum temperature. Smoke detectors: required in each sleeping room and on each floor; landlord installs; battery or hardwired (Miss. Code §45-11-201). CO detectors: no statewide requirement. No repair-and-deduct right. Tenant remedy: terminate lease after 30-day written notice and failure to repair. Notable: Mississippi has among the most limited residential tenant protections in the US. Local codes vary widely; rural areas often lack formal code enforcement. Jackson has a local housing code enforcement office.
City Building Codes — Washington, DC
City Building Codes — Washington, DC DC Department of Buildings (DOB) enforces DC Construction Codes (based on 2018 IBC with DC amendments) and DC Property Maintenance Code. Rental registration: DC Rental Accommodations Division (RAD): ALL rental units must be registered (DC Code §42-3502.05); annual fee per unit. DC Rent Control: Rental Housing Act of 1985 (DC Code §42-3501 et seq.): applies to most residential units in DC not built after 1975 or owned by small landlords (4 or fewer units owner-occupied); annual increase capped at CPI + 2% (or 10% max); just cause eviction required. DC Basic Business License: required for all rental housing operations. Heating: Oct 15 through May 15; landlord must maintain 68°F. DC Housing Code (14 DCMR): comprehensive minimum standards for all rental housing including structural, plumbing, mechanical, electrical, and occupancy. DC Office of the Tenant Advocate: provides tenant legal assistance and advocates for habitability. Unique: DC requires landlords to offer lease renewal unless grounds for non-renewal exist.
Building Codes — Delaware (DE) Rental Housing
Building Codes — Delaware (DE) Rental Housing Adopted code: Delaware State Fire Prevention Regulations and local building codes based on 2018 IBC. Habitability statute: 25 Del. C. §5305 (Residential Landlord-Tenant Code). Heating: Oct 1 through April 30; landlord must maintain 65°F in all habitable rooms. Smoke detectors: required in each sleeping room and on each floor; landlord installs; hardwired with battery backup in new construction; battery acceptable in existing (16 Del. C. §6604). CO detectors: required in all residential units with fuel-burning appliances or attached garage (16 Del. C. §6605). Repair-and-deduct: yes — after written notice and landlord failure within 15 days; cap is $75 per repair. Notable: Delaware preempts local rent control. Wilmington has local housing code enforcement. Delaware's residential landlord-tenant code is one of the more detailed mid-Atlantic codes; landlord must provide written receipts for security deposits and comply with interest requirements.
Building Codes — Maine (ME) Rental Housing
Building Codes — Maine (ME) Rental Housing Adopted code: Maine Building Codes based on 2015 IBC/IRC. Habitability statute: 14 MRS §6021 (warranty of habitability). Heating: Sept 15 through May 15; landlord must maintain 68°F in all habitable rooms (14 MRS §6021). Smoke detectors: required in each sleeping room, outside sleeping areas, and on each floor; landlord installs; hardwired with battery backup in new construction; battery in existing (25 MRS §2464). CO detectors: required in all residential units with fuel-burning appliances or attached garage (25 MRS §2464-A). No repair-and-deduct right by statute. Tenant remedy: rent escrow petition or terminate lease after written notice and 14-day failure. Notable: Maine's housing code is part of the implied warranty of habitability statute — a single violation of 14 MRS §6021 can be asserted as a defense to eviction. Portland has enacted local rent control (3% cap) — held valid after 2021 referendum.
Building Codes — New Hampshire (NH) Rental Housing
Building Codes — New Hampshire (NH) Rental Housing Adopted code: NH Building Code based on 2009 IBC (amendment cycles slower than most states). Habitability statute: RSA 540-A (landlord's access and duties); RSA 48-A (standards of repair and maintenance for residential buildings). Heating: Oct 1 through May 1; landlord must maintain 65°F in all habitable rooms. Smoke detectors: required in each sleeping room and on each floor; landlord installs; battery or hardwired (RSA 153:10-a). CO detectors: required in all residential units with fuel-burning appliances or attached garage (RSA 153:10-b). No repair-and-deduct right by statute. Tenant remedy: sue in small claims court; local code enforcement. Notable: New Hampshire has relatively minimal residential landlord-tenant statute; reliance on common law. Manchester and Nashua have local housing code enforcement. NH preempts local rent control.
Building Codes — Montana (MT) Rental Housing
Building Codes — Montana (MT) Rental Housing Adopted code: Montana Building Codes Act based on 2018 IBC; enforcement is local. Habitability statute: MCA §70-24-303 (Montana Residential Landlord and Tenant Act). Heating: Oct 1 through April 30; landlord must maintain 68°F in all habitable rooms. Smoke detectors: required in each sleeping room, outside sleeping areas, and on each floor; landlord installs; battery or hardwired (MCA §50-61-101). CO detectors: required in all residential units with fuel-burning appliances or attached garage (MCA §50-61-102). Repair-and-deduct: yes — after written notice and landlord failure within 14 days; cap is $300 or one month's rent. Notable: Montana preempts local rent control. Billings and Missoula have local housing code enforcement programs. Montana's rental market is tightening rapidly due to population growth; enforcement capacity limited in rural areas.
Building Codes — Washington (WA) Rental Housing
Building Codes — Washington (WA) Rental Housing Adopted code: Washington State Building Code based on 2021 IBC/IRC with WA amendments. Habitability statute: RCW 59.18 (Residential Landlord-Tenant Act — RLTA). Heating: landlord must provide heating equipment capable of maintaining 70°F in all inhabited rooms during cold weather — 70°F is stricter than IPMC. Smoke detectors: required in each sleeping room, on each floor, and outside sleeping areas; landlord installs and maintains; if tenant damages detector landlord may charge for replacement. CO detectors: required in all dwellings with fossil fuel appliances or attached garages (RCW 43.44.110). Repair-and-deduct: yes — after 10-day written notice to landlord; cap of $300 or half month's rent (whichever is greater) per repair incident. Seattle Rental Registration and Inspection Ordinance (RRIO): all rental units in Seattle must be registered; periodic inspections required. Notable: WA bans "no-cause" evictions for most tenancies (just cause required after 20+ days); strong anti-retaliation protections.
This tool provides legal information, not legal advice. Nothing on this site creates an attorney-client relationship. For advice about your specific situation, consult a licensed attorney in your state.