You can check code violations on a property online in most of the United States, but not from one place. There is no national violations database and no site that searches every jurisdiction, so the search starts by working out which office holds the records for that particular address — and that is the step people skip.
It is worth doing before you buy rather than after. Municipal code enforcement targets the real estate, not the person who did the work, so unpaid penalties and administrative orders attach to the property and become yours the moment the deed is recorded.
How to Check Code Violations on a Property Online
Four steps, in this order. The first one is the whole difficulty; the rest are mechanical.
1. Establish which office has jurisdiction. If the address sits inside city limits, the city's code enforcement division or building department holds the record. If it is unincorporated, the county does. This is not a formality — neighbouring addresses on the same road can fall under different authorities, and searching the wrong one returns a clean result for a property that has an open case. If you are unsure, the county assessor's record for the parcel will name the taxing jurisdiction, which is usually the right place to start.
2. Find the search itself, which is often not where you expect. Departments publish this under a variety of names — code enforcement case search, property information, citizen access, violation search, or a general property lookup with enforcement as one tab among several. Searching for the county or city name together with "code enforcement case search" generally finds it faster than navigating the department's own site. Large jurisdictions tend to have a single map-based lookup that carries permits, violations and licences together; smaller ones often have a plain search form, or nothing at all.
3. Search by address, and by parcel number if the address fails. Address matching is the commonest point of failure: a portal may hold the record under a slightly different street format, a pre-annexation address, or a unit number you did not include. The parcel or APN, which you can get free from the county assessor, is the unambiguous identifier and will find records an address search misses.
4. Read the status, not just the presence of a case. A result list means little until you know what state each case is in. What matters is whether the case is open or closed, whether the file records compliance, whether fines were assessed and whether they were paid, and how old the case is. A closed case with a documented correction is history. An open case is an inherited obligation.
Permits and violations are usually separate systems
This trips people up more than anything else on this page. In many jurisdictions the permit database and the code enforcement database are different systems with different search pages, and a clean permit history is not evidence of a clean enforcement record. Check both. Where a jurisdiction runs a combined portal, confirm you have actually selected the enforcement records rather than reading permits and assuming the rest.
The reverse is also worth knowing: work done with no permit at all frequently produces no violation record either, because nothing was ever reported. An empty enforcement search is not proof that the house is compliant — it is proof that nobody has complained. Reading permit statuses and spotting what is missing is the other half of the same investigation.
What an online search will not show you
Portals are partial records, and the gaps are consistent enough to plan around:
- Cases that never reached a citation. A complaint that was inspected and resolved informally, or one still in intake, often does not surface publicly.
- Unrecorded fines. Administrative penalties that have not yet been filed against the land records may not appear in either the enforcement portal or the title search.
- Other departments entirely. Fire, health, zoning and utilities each run their own enforcement, and a portal scoped to building code will not carry them.
- Anything at all, in a small jurisdiction. Plenty of towns have no portal. The records are still public — they are obtained by phoning the department or filing a public records request, which typically takes days rather than minutes.
The paid backstop for all of this is a municipal lien search, covered further down. It is the version of this search that contacts the offices directly instead of relying on what they chose to publish.
If there is no portal
Call the code enforcement office and ask for the enforcement history on the address. Departments field this question from buyers constantly and most will answer it. If the answer is that a written request is required, ask specifically for open code enforcement cases, closed cases with unpaid fines, and open or expired permits — three separate things, and a request naming only one of them will be answered narrowly and truthfully while leaving out the rest.
Open Permits vs. Active Code Violations
To navigate property records effectively, it is essential to distinguish between the different types of administrative flags a local municipal office might place on a home.
An open permit occurs when a previous owner or contractor applied for official permission to perform work—such as re-roofing, replacing an electrical panel, or adding a deck—but never scheduled the final inspection required by local code. The permit remains in a pending or expired state in the municipal database. While an open permit indicates that the owner initially intended to follow local building codes, the lack of a final municipal sign-off means the municipality never confirmed that the work was completed safely or up to code. Finding the ones left open on a given address is a matter of reading the status column rather than the permit list.
An active building department violation, by contrast, is a formal legal notice issued by code enforcement officers. This occurs when local officials inspect a property and identify work performed without required permits, structures built in violation of zoning setbacks, or severe hazards that breach local housing codes. Violations often carry recurring daily fines, mandatory court appearances, or explicit orders to restore the property to its original state.
Properties may also harbor unpermitted work that has not yet triggered an open permit or an active violation simply because local officials have not discovered it yet. Unpermitted work often turns into an active violation during future renovations when a contractor attempts to pull a new permit, prompting municipal inspectors to review the property's entire structural history.
How Local Building Departments Track and Enforce Code Issues
Every jurisdiction maintains its own municipal registry for construction permits and land-use compliance. Metropolitan offices like the Department of Buildings DC maintain comprehensive electronic databases, whereas regional offices like the Hernando County Building Department FL or the City of Fort Pierce Building Department may use combination systems that require written public records requests or in-person file reviews.
Regardless of size, municipal departments—from the Denver Building Department to the City of Cleveland Building Department—share a primary objective: ensuring that structural, electrical, plumbing, and safety standards meet current life-safety requirements.
When a building department uncovers non-compliant work, their primary legal tool is the notice of violation. If the owner ignores this notice, the department can:
- Issue Stop-Work Orders: Halting all ongoing construction on the premises immediately.
- Assess Compounding Daily Fines: Accruing monetary penalties against the property record for every day the violation remains unresolved.
- Record Municipal Liens: Securing unpaid fines against the property deed, preventing any transfer of clean title.
- Revoke Certificates of Occupancy: Rendering the home legally uninhabitable until corrections are made and inspected.
Because these actions attach to the property's land record, purchasing a home with unresolved citations means stepping into active enforcement proceedings initiated by offices like the City of Naples Building Department or the Aurora building department.
The Impact on Mortgages and Title Insurance
Open building department citations directly interfere with the closing process because mortgage lenders and title insurance underwriters closely evaluate risk attached to the physical structure and title.
Mortgage Loan Approval
Lender guidelines commonly prohibit funding loans on properties with active municipal liens or unresolved code violations that affect structural integrity or life safety. If a municipal search reveals that an open permit or active code case exists, the lender's underwriting department will typically issue a conditional hold on the loan. Funding will remain paused until the seller resolves the issue, receives official sign-off from the building department, or establishes an escrow holdback account acceptable to the lender.
Title Insurance Exclusions
Standard owner's title insurance policies are designed to insure against defects in the legal ownership of the property, but they routinely exclude unrecorded municipal code violations or unpermitted work unless specific endorsements are purchased.
If a building department has already recorded a formal lien prior to closing, a title search should identify it, requiring resolution before title insurance can be issued. However, if an open permit or unrecorded violation exists in municipal records without a recorded lien, standard title policies may explicitly exclude coverage for any future remediation costs, leaving the buyer entirely self-insured for required repairs or fines.
Why Standard Home Inspections Do Not Verify Permits
A frequent point of confusion for home buyers is the assumption that a comprehensive pre-purchase home inspection will flag unpermitted additions or open municipal violations.
A standard physical home inspection evaluates the visual, operational condition of accessible structural components, mechanical systems, and finishes on the day of the inspection [ASHI]. Home inspectors are trained to evaluate whether a deck appears structurally sound, whether an electrical panel shows evidence of overheating, or whether plumbing shows signs of leakage.
Home inspectors do not inspect for legal compliance, municipal code conformance, or permit status [ASHI]. That gap is why finding unpermitted work is a separate exercise from the inspection, carried out on records rather than on the house. An inspector can examine a beautifully finished basement and confirm that the HVAC vents function and the drywall shows no moisture damage, but they cannot tell you whether the local building department approved the conversion, required specific fire-rated drywall, or authorized the electrical wiring behind the walls.
Relying solely on a home inspector leaves a significant legal gap. To confirm that the work visible during the physical inspection was legally permitted and closed out, buyers must review administrative municipal records separately.
How to Research Building Department Records Before Closing
Investigating a property's building permit history and code enforcement standing should be completed during the contract inspection or due diligence period.
- Pull municipal permit history. Request the complete historical permit log from the local building department.
- Order a municipal lien search. Have the title company check for unrecorded municipal fines and open cases.
- Cross-reference the physical home. Compare permit records against the current footprint and finished spaces.
- Resolve discrepancies pre-closing. Require the seller to close open permits or clear active violations.
Requesting a Municipal Permit History
Most municipalities provide public access to permit histories. Buyers can request a full property permit report directly from the local building department portal or public records clerk. When reviewing this report, cross-reference the dates and descriptions of permitted work against the physical attributes of the house:
- Does the record show a permit for the detached garage or rear deck?
- Is there a final inspection sign-off for the whole-house electrical service panel upgrade?
- Does the square footage listed in the tax assessor's record match the physical footprint of the home?
Ordering a Comprehensive Municipal Lien Search
In many states, title companies offer or require a specialized Municipal Lien Search in addition to a standard land records search. This report contacts local municipal offices directly to uncover unrecorded items, including:
- Pending code enforcement violations
- Unpaid utility bills that can attach as municipal liens
- Expired building permits
- Accrued administrative fines not yet recorded in county land records
Negotiating Open Violations Before Closing
If your research uncovers open permits, active code violations, or substantial unpermitted renovations, you should address them immediately through formal contract amendments.
Option 1: Seller Resolution Prior to Closing
The safest approach is requiring the seller to resolve all open items at their own expense before closing. This includes hiring licensed contractors to bring non-compliant work up to current building codes, scheduling official municipal inspections, and obtaining formal letters of closure or certificates of completion from the building department. Where the open item is a deck — the commonest one — the after-the-fact permit process sets out what the department will require and roughly how long it takes, which is what you need to judge whether the seller can realistically finish before closing.
Option 2: Escrow Holdback
If the seller cannot complete municipal sign-offs before the agreed closing date due to department scheduling backlogs, the parties can negotiate an escrow holdback. Under this arrangement, a designated portion of the seller's proceeds is held in an escrow account by the closing attorney or title company. The agreement specifies that the funds will be released to the seller only after the municipal authority issues a final permit closure, or used by the buyer to complete repairs if the seller fails to perform within a specified timeframe.
Option 3: Purchase Price Adjustments
For minor open administrative permits where the underlying work clearly meets safety standards, buyers may choose to negotiate a price reduction or seller concession to cover the prospective administrative costs of hiring a private professional to clear the permit post-closing. This path should only be taken after consulting with a licensed contractor or municipal consultant who can estimate the potential risk and exposure accurately.
Next Step: Protect Yourself Before Closing
If you are under contract on a property or preparing to make an offer, contact your title company or real estate attorney today to explicitly request a municipal lien and permit search from the local building department. Verify that any finished basements, deck additions, mechanical retrofits, or structural modifications match the official municipal record before removing your inspection or title contingencies.