Building Codes & Habitability — California
Warranty of habitability, repair obligations, and city rental programs
State Habitability Standard
California Civil Code §1941 — implied warranty of habitability
Cal. Civ. Code §§ 1941-1942.4
Minimum Habitability Requirements
- Weatherproof roof, walls, doors, and windows
- Plumbing in good working order; hot and cold running water
- Heat capable of maintaining 70°F in living areas (§ 1941.1)
- Electrical wiring in good condition, connected to a power source
- No infestation of rodents, insects, or vermin
- Adequate garbage receptacles with regular removal
- Working carbon monoxide detectors (CC § 17926.1)
- Working smoke detectors on each floor and in each bedroom
- Safe floors, stairways, and railings
- Natural lighting in every habitable room
Repair Obligations & Tenant Remedies
30
Days Landlord Has to Repair
Before tenant may use repair-and-deduct remedy
1x
Monthly Rent Cap
Maximum tenant can deduct per repair episode
Rent Withholding
Rent withholding permitted under state law for serious habitability failures
City-Level Rental Programs
Some cities require rental registration, periodic inspections, or have specific habitability ordinances beyond state law. Enter your city to check for a local program.
Known California cities in our database: check Los Angeles above for city-specific programs.
Governing Statute
California Civil Code §§ 1940–1954.05 + Code of Civil Procedure §§ 1159–1179a
Code Details — California
Relevant building code and habitability requirements from our corpus:
Building Codes — California (CA) Rental Housing
Building Codes — California (CA) Rental Housing Adopted code: 2019 IPMC with California amendments; California Building Standards Code (Title 24). Habitability statute: Cal. Civ. Code §1941 (implied warranty of habitability); Cal. Civ. Code §1941.1 (enumerated conditions). Heating: landlord must provide heating to maintain 70°F in all habitable rooms (stricter than IPMC 68°F). SB 721 (2019): mandatory inspection of exterior elevated elements (decks, balconies, walkways) every 6 years for multi-family buildings with 3+ units. Smoke detectors: new construction requires hardwired with battery backup; existing pre-1992 buildings may use battery-only; must be in each bedroom and on each floor. CO detectors: required in all dwelling units with fossil fuel-burning appliances or attached garage (Cal. Health & Safety Code §17926). Repair-and-deduct: yes — tenant may deduct cost of repairs from rent up to one month's rent after landlord fails to repair within 30 days of written notice (Civ. Code §1942). Lead paint: all pre-1978 units must use EPA-certified contractors for any renovation disturbing painted surfaces. Rent control: statewide AB 1482 caps annual rent increases at 5% + CPI (max 10%) for qualifying multifamily buildings 15+ years old. Notable: CA requires landlords to install water-conserving plumbing fixtures when replacing fixtures in pre-2017 buildings.
City Building Codes — Seattle, WA
City Building Codes — Seattle, WA Seattle Department of Construction and Inspections (SDCI) enforces Seattle Building Code and Seattle Housing and Building Maintenance Code (HBMC). Seattle Rental Registration and Inspection Ordinance (RRIO): ALL rental units in Seattle must be registered; periodic physical inspections required (every 4-6 years depending on building type). Annual registration fee per unit. Heating: WA state requirement of 70°F applies; Seattle requires heat available from heat source within the unit (no central boiler serving multiple tenants without individual controls). CO detectors: RCW 43.44.110 requirement applies; SDCI enforces. Seattle Just Cause Eviction Ordinance: requires specific stated reason (from an enumerated list) for eviction. Tenant relocation assistance: landlords must pay 3 months rent as relocation assistance when displacing tenants for demolition, substantial rehabilitation, or change of use. Seattle Multifamily Housing Code: additional requirements for buildings 5+ units including fire sprinkler systems, accessibility, and green building standards (Seattle Green Building Standard requires most new multi-family to meet LEED or equivalent).
City Building Codes — Los Angeles, CA
City Building Codes — Los Angeles, CA LA Housing Department (LAHD) enforces LA Housing Code. Rental registration (LARSO): all rental units subject to LA Rent Stabilization Ordinance (RSO) must be registered annually; fee ~$30-40/unit. LA RSO applies to most multi-family units built before October 1, 1978. Rent control: RSO caps annual rent increases to annually set % (typically 3-8%). Heating: city requires 70°F in all habitable rooms (matching CA state requirement). Systematic Code Enforcement Program (SCEP): periodic inspections of all multi-family rental buildings; fee charged to landlords per unit inspected. LA Habitability: includes mold disclosure (AB 2108), ventilation, waterproofing. LA Building Code adds structural requirements beyond IPMC for seismic zone 4 (mandatory retrofit for soft-story buildings, "Soft Story Retrofit Ordinance"). Lead paint: all pre-1978 multi-family rentals must comply with RRP renovation rules; LAHD enforces. Unique: LA local "Just Cause Eviction" ordinance requires specific stated reason for eviction for RSO units.
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 — 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.
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 — 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 — 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 — 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 — Idaho (ID) Rental Housing
Building Codes — Idaho (ID) Rental Housing Adopted code: Idaho State Building Code based on 2018 IBC/IRC. Habitability statute: Idaho Code §55-2002 (Residential Landlord and Tenant Act). Heating: landlord must provide working heating equipment; no specific minimum temperature by state law. Smoke detectors: required on each floor and outside each sleeping area; landlord installs; battery or hardwired (Idaho Code §39-6603). CO detectors: required in all residential units with fuel-burning appliances or attached garage (Idaho Code §39-6605). Repair-and-deduct: yes — after written notice and landlord failure within 3 days (emergency) or 30 days (non-emergency); cap is $300 or half month's rent. Notable: Boise has a local housing code enforcement program. Idaho preempts local rent control. No state income tax break specifically for rental income.
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.