City Inspection for Apartments: Process, Tenant Rights, and Costs

A city inspection for an apartment is a walkthrough by a local code enforcement officer who checks your rental unit against the municipal housing code, looking at structure, plumbing, electrical, heat, fire safety, and sanitation. The inspector can be there because a tenant or neighbor filed a complaint, because the city runs a scheduled inspection cycle for rental properties, or because the landlord needs a valid rental license to legally lease the unit. Whichever the trigger, the outcome is the same shape: a pass, or a written notice listing violations the landlord has to fix by a deadline.

Why an Inspector Shows Up

Three things bring a code officer to an apartment door.

The first is a complaint. A tenant or neighbor contacts the city’s code enforcement or housing department to report a specific problem, such as no heat, a pest infestation, or exposed wiring, and an inspector is assigned to investigate. This is how most people first encounter a city inspection. The inspector focuses on the reported issue but will note any other visible violations while in the unit.

The second is a proactive rental inspection program. Cities that run these schedule mandatory inspections of rental properties on a recurring cycle whether or not anyone has complained. Some inspect every rental annually; others use a three-to-five-year cycle or focus on neighborhoods with older housing stock. The point is to catch deteriorating conditions before they turn into emergencies, since the tenants in the worst conditions are often the least likely to file a complaint.

The third is rental licensing. Many cities require landlords to register rental properties and hold a license or certificate of occupancy before renting to anyone, with an inspection built into the initial license and sometimes into renewals. Renting without a required license can bring fines, license revocation, or, in serious cases, an order to vacate the building.

What the Inspector Checks

Most municipal housing codes are based on the International Property Maintenance Code or a similar model, adjusted by local amendments. The specific checklist varies from city to city, but the categories are consistent.

Structure. Walls, ceilings, floors, foundations, porches, railings, stairs, and siding are checked for cracks, water damage, sagging, and deterioration. A crumbling foundation or a visibly sagging roof can trigger an immediate order to vacate rather than a normal correction timeline.

Plumbing. The unit needs hot and cold running water at kitchen sinks, bathroom sinks, tubs, and showers, connected to an approved water and sewage system. Inspectors look at leaks, water pressure, drainage, and toilets.

Electrical. Outlets, switches, wiring, and fixtures are checked for exposed wires, overloaded circuits, missing outlet covers, and things that simply don’t work. The service has to be sufficient for the size of the unit.

Heat and ventilation. A working heating system is a baseline habitability requirement almost everywhere. When the landlord provides heat, most codes require habitable rooms to be kept at a minimum of 68°F during heating season. Kitchen and bathroom ventilation gets attention too, because poor airflow feeds moisture and mold.

Fire and life safety. Smoke alarms are required on every level of the unit, inside each bedroom, and within 21 feet of bedroom doors, and the inspector tests each one for an audible or visual signal. Carbon monoxide alarms are checked where required, and combination devices are evaluated against both standards separately.1U.S. Department of Housing and Urban Development. National Standards for the Physical Inspection of Real Estate – Smoke Alarm Exits have to be unobstructed, and sleeping rooms need emergency escape openings, usually windows meeting a minimum size, so occupants can get out during a fire without relying on interior hallways.

Sanitation and pests. The interior has to be sanitary and free of garbage buildup. Inspectors look for evidence of rodents or insects, which the landlord is generally responsible for handling in multi-unit buildings. Common areas, basements, and trash rooms are checked too.

General condition. Windows must open and close properly, exterior doors need functioning locks, floors can’t have tripping hazards or structural weakness, and any appliances the landlord provides need to work safely.

Older Buildings and Lead Paint

If the building was built before 1978, a separate federal rule applies on top of local code. Before you sign a lease, the landlord has to disclose any known lead-based paint or lead hazards in the unit, hand over any inspection reports they have, and give you a copy of the EPA pamphlet “Protect Your Family From Lead In Your Home.” A lead warning statement has to be included in or attached to the lease.2U.S. Environmental Protection Agency. Real Estate Disclosures About Potential Lead Hazards The landlord has to keep signed copies of these disclosures for at least three years.

A landlord who knowingly skips lead disclosure can face civil penalties of up to $10,000 per violation under the Toxic Substances Control Act, plus liability for three times the tenant’s actual damages in a private lawsuit, and courts can add attorney fees and expert witness costs.3Office of the Law Revision Counsel. 42 US Code 4852d – Disclosure of Information Concerning Lead Upon Transfer of Residential Property Narrow exemptions cover post-1977 housing, zero-bedroom units like studios and lofts (unless a child under six lives there), leases under 100 days, and units that have been tested and certified lead-free by a licensed inspector.2U.S. Environmental Protection Agency. Real Estate Disclosures About Potential Lead Hazards In older buildings, city inspectors routinely flag peeling or deteriorating paint as part of the standard walkthrough, since chipping lead paint is both a code violation and a serious health hazard for young children.

Some inspectors also look for visible mold, moisture intrusion, and radon depending on local rules. These environmental checks vary more from city to city than the structural or fire safety ones.

How the Visit Itself Goes

The process starts with notice. When the city schedules an inspection, the landlord is notified and is responsible for telling the tenant. Most states require a landlord to give written notice before entering a rental for any non-emergency reason, typically 24 to 48 hours, though the exact window depends on state law. Some cities also send notice directly to tenants, especially in proactive programs.

On the day, the inspector identifies themselves and walks through the unit systematically, working from a checklist or a digital tool and photographing violations. They look at the individual apartment and any common areas: hallways, stairwells, laundry rooms, the building exterior.

Afterward, the inspector shares preliminary findings with whoever is present. A written notice follows if there are violations, listing each code section cited, describing the deficiency, and setting a correction deadline. A missing smoke detector battery might get a short window; major structural or safety problems can require immediate action.

Your Rights as a Tenant

You can request an inspection yourself. If your landlord won’t fix problems in the unit, you have the right to contact the city’s code enforcement or housing department and ask for one, and you don’t need the landlord’s permission. Many cities let you file the complaint online, by phone, or in person, and some accept anonymous complaints, though an inspector will still need access to the apartment. This is one of the more powerful tools tenants have, and it’s underused.

You can be present during the inspection. Being there lets you point out problems, ask the inspector questions, and see what gets documented. The inspection can still go ahead if you’re not there, as long as entry was properly arranged.

You can refuse entry, but with a caveat. Under the Supreme Court’s decision in Camara v. Municipal Court, a city inspector cannot enter your home without either your consent or a warrant, and the Fourth Amendment bars prosecuting you for refusing a warrantless code inspection of your residence.4Library of Congress. Camara v Municipal Court, 387 US 523 (1967) In practice, refusing rarely stops the inspection for long. Cities can obtain administrative warrants based on the general reasonableness of the inspection program rather than specific evidence of a violation in your unit. A few state constitutions offer stronger protections, but in most places demanding a warrant just delays the visit.

You’re protected from retaliation. In the large majority of states, a landlord who raises your rent, cuts services, or tries to evict you because you filed a housing complaint is engaging in illegal retaliation. The details vary. Some states presume retaliation if the landlord acts within a certain window after the complaint, which shifts the burden to the landlord to prove a legitimate reason for the action. If you suspect retaliation after reporting a code violation, contact a local tenant rights organization or legal aid office.

What the Landlord Has to Do

The landlord carries the heavier load. The property has to meet all applicable housing and building codes before the inspector arrives, and when violations are found, the landlord is the one responsible for making repairs within the deadline. That means keeping structural components sound, keeping plumbing, electrical, and heating systems operational, addressing pest infestations, and making sure fire safety equipment works.

In cities with rental licensing, the landlord has to register the property, pay any required inspection fees, and keep the license current. Renting without a valid license where one is required can bring fines and may undermine the landlord’s ability to enforce lease terms or pursue eviction.

Before an inspection, the landlord has to give the tenant proper advance notice of entry under state law. Skipping notice isn’t just a privacy problem; it can create legal complications for the landlord if the tenant refuses access.

What Happens After the Inspection

If the unit passes, the file closes until the next scheduled inspection or the next complaint.

If violations are found, the written notice sets a correction deadline that depends on severity. A broken window latch or a missing outlet cover might get 30 days. Hazards that pose an immediate risk to health or safety, like no heat in winter, a gas leak, or severe structural damage, can require correction within 24 to 72 hours or trigger an immediate order to vacate.

After the deadline, the city schedules a re-inspection to confirm every cited violation has been corrected. Some cities charge a re-inspection fee, especially if the landlord failed to make the repairs. If everything is resolved, the case closes. If problems remain, enforcement escalates: daily fines that accumulate for every day a violation stays uncorrected, license revocation, liens on the property, and referral to municipal court. Daily fines range from modest amounts to several thousand dollars a day depending on jurisdiction and severity.

A landlord who thinks a violation was issued in error can usually appeal. Appeals are filed in writing with a local building code appeals board or administrative office, and the deadline is short, often 10 to 30 days from the date on the notice. The written appeal should identify the specific violation being contested, explain why the finding is inaccurate, and include supporting evidence such as photographs, contractor reports, or proof the condition was already corrected. The board holds a hearing and can uphold the violation, modify it, or overturn it.

If You Live in Subsidized Housing

Tenants in federally subsidized housing, including those using Housing Choice Vouchers (Section 8), deal with a second inspection system that runs alongside city code enforcement. HUD inspections enforce federal housing quality standards under a framework called NSPIRE (National Standards for the Physical Inspection of Real Estate), which evaluates the individual unit, common interior spaces, and the building exterior and site.5U.S. Department of Housing and Urban Development. NSPIRE Inspection Protocol and Guidance A property that fails a HUD inspection can lose eligibility to participate in the voucher program, which hits the landlord’s revenue directly. A unit can pass a city inspection and fail a HUD inspection, or the other way around, because the two systems use different standards. If you’re in subsidized housing, both may apply to your unit.

Who Pays

Tenants don’t pay for city inspections. Costs fall on the landlord or on the city’s general budget. In licensing programs, landlords pay an annual or per-cycle inspection fee that typically runs from about $75 to $300 per unit, with wide variation by jurisdiction. Re-inspection fees are common when violations aren’t corrected on time. The real financial exposure for landlords isn’t the fee, though; it’s the daily fines, court costs, and possible loss of a rental license that follow if repairs don’t get made.