To get code violation records from a city, start with the city’s online code enforcement lookup or open data portal, and if that doesn’t return what you need, file a public records request with the department that handles code enforcement. Most cities treat these records as public, though response times, fees, and the exact department vary by jurisdiction.
Check the City’s Online Tools First
Before filing anything, see whether the city already publishes violation data online. A growing number of municipalities maintain searchable code enforcement databases, open data portals, or GIS mapping tools that let you look up violations by address for free. These go by different names: “code enforcement lookup,” “property information search,” “open data portal,” or “permit and violation search.” Some cities embed violation data directly into their property records or assessor’s database, so a single address search returns permits, tax information, and code violations at once.
To find these tools, go to the city’s official website and search for “code enforcement,” “property lookup,” or “open data.” Larger cities and counties are more likely to have dedicated portals; smaller municipalities often still handle everything through individual requests. If the city has an open data site, look for datasets labeled “code enforcement cases,” “violations,” or “complaints.”
Online tools sometimes lag behind official records by weeks or months. If you need the most current information, a formal request is still worth filing even when a portal exists.
Find the Right Department
When online tools don’t have what you need, the first step in filing is identifying who holds the records. Most cities assign code enforcement work to one of a few places: a code enforcement division, the building department, a planning or zoning department, or the city clerk’s office. Some cities split responsibilities, with building code issues in one department and property maintenance or zoning violations in another.
Check the city’s website for a code enforcement or building services page, which usually lists contact information and sometimes a Records Access Officer. If the website isn’t helpful, call the city’s main line and ask to be directed to whoever handles code enforcement records. Write down the name and direct number of the person you speak with so you have a contact for follow-up.
Properties Outside City Limits
If the property sits in an unincorporated area, code enforcement typically falls to the county rather than a city. County code enforcement departments, building inspection offices, or planning departments handle these areas. You can usually confirm whether an address is inside city limits by checking the county assessor’s website or calling the county clerk. Filing with the wrong jurisdiction is one of the most common reasons people hit dead ends, so verify this before you start.
What Law Gives You Access
Your right to request code violation records comes from your state’s public records law, not the federal Freedom of Information Act. The federal FOIA applies only to federal agencies and does not cover state or local governments.1FOIA.gov. Freedom of Information Act Every state has its own version, often called an Open Records Act, Public Records Law, or Sunshine Law, and these are what give you access to city and county records.
The details differ from state to state, but the underlying principle is the same: government records are presumed public unless a specific exemption applies. Some states require written requests; others accept verbal ones. A written request is almost always better regardless, because it creates a paper trail if you need to follow up or appeal. Most states set a deadline for agencies to respond, though about a quarter of states have no mandated response time at all. Among those that do, deadlines range from three business days on the fast end to twenty business days on the slow end.
What Might Be Redacted
Code violation records are broadly accessible, but agencies may redact certain details. The most common redaction involves the identity of whoever filed the original complaint. Many states exempt complainant names from disclosure, particularly when the person requested confidentiality at the time of filing or when disclosure could threaten someone’s safety. You’ll still get the substance of the violation, including what was cited, the dates, and the property address, but don’t expect to learn who reported it.
If an agency redacts information, it should tell you which exemption justifies the redaction. A blanket refusal with no explanation isn’t sufficient under most state laws, and agencies are generally required to release the portions of a record that are disclosable even when other portions are withheld.
Write a Specific Request
A clear, specific request gets faster results and avoids the back-and-forth that happens when agencies flag a request as too broad. Include:
- The full street address, including unit number if applicable. Add the parcel number or tax ID if you have it.
- A date range. “All violations from January 2020 to present” is better than “all violations ever,” which may trigger a broad-request objection.
- The violation type you want, if you only need one category. Say whether you’re after building code violations, zoning violations, or property maintenance complaints so the agency searches the right system.
- Your format preference. Request electronic copies by email whenever possible; PDFs are standard. Paper copies cost more and take longer.
Many cities have a dedicated public records request form on their website. Use it when available, since agencies process these faster than freeform letters. If no form exists, a simple letter or email with the details above, your contact information, and a reference to your state’s public records law is sufficient.
Cities accept requests through online portals, email, mail, and in-person visits. Online portals are fastest when available, since they generate automatic confirmations and sometimes let you track status. For email, request a read receipt. If you mail a letter, send it certified with return receipt requested. Keep copies of everything: the request itself, any confirmation number, delivery receipts, and the date you submitted. That documentation matters if the agency misses its deadline or you need to escalate.
Fees and What the Records Contain
Agencies can charge for the cost of producing records. Common charges include per-page copying costs for paper records (often between ten and twenty-five cents per page) and hourly staff time for searching, reviewing, and redacting. Some agencies waive fees for small requests or for electronic records that don’t require staff time to compile. Ask for a cost estimate before the agency begins processing if you’re concerned about fees, since many states require agencies to provide one on request.
A typical code violation record includes the type of violation, the specific code section cited, the date issued, the property address, a case or reference number, and the current status of the case (open, closed, or in compliance). Many records also include inspector notes describing what was observed, photographs taken during inspections, any compliance deadlines given to the property owner, and documentation of follow-up inspections. The level of detail varies. Some agencies provide comprehensive case files; others give you a summary spreadsheet with one line per violation.
If Your Request Is Denied
A denial isn’t necessarily the end of the road. The agency must cite a specific legal exemption for withholding records. If it doesn’t, or if you believe the exemption was applied incorrectly, you have options.
Most states provide an administrative appeal process. This typically involves submitting a written appeal to a higher authority within the agency or to a designated records oversight body, such as a state attorney general’s office or an open records commission. Appeal deadlines vary, but many states give you at least thirty days from the denial to file. The appeal should explain why you believe the denial was wrong, reference the specific records you requested, and include a copy of the original denial.
If the administrative appeal fails, you can take the matter to court. Many state open records laws allow courts to order the release of improperly withheld records and, in some states, to award attorney’s fees to requesters who prevail. The prospect of court involvement often motivates agencies to reconsider, so a well-written appeal letter that mentions your right to judicial review carries weight.
Why This Matters Before Buying a Property
Requesting these records before closing isn’t just a nice-to-have. Unresolved violations can create real financial exposure after the sale.
In many jurisdictions, when a property changes hands, the new owner inherits responsibility for any outstanding code violations. The obligation to fix the problem and the liability for associated fines transfer with the deed, regardless of whether the buyer knew about the violations at purchase. Some cities make this explicit. Baltimore, for example, makes the new owner “primarily liable” for any violations listed on the property’s violation report, as if the notices had been addressed to the buyer directly. The flip side: a buyer who requests a violation report before closing and gets back a clean report may be protected from liability for violations the city failed to disclose.
When an owner ignores a violation, the city can impose daily fines that accumulate until the issue is corrected. These vary but can reach $250 to $500 per day per violation. Over months of non-compliance, totals can grow into the tens of thousands. Cities often record unpaid fines as liens against the property, which must be satisfied before title can transfer cleanly.
Standard title insurance generally does not cover building code violations. The typical owner’s policy excludes losses arising from violations of building or zoning laws. There’s a narrow exception: if a notice of violation has been recorded in the public records, the policy may provide some coverage related to that specific recorded notice. Violations that exist in city enforcement files without being formally recorded against the title usually fall outside any coverage. That gap is exactly why pulling violation records yourself matters. The title search alone won’t catch what the title policy won’t cover.
For pre-purchase due diligence, request records from both the city and the county when the property could touch both jurisdictions. Building codes may be enforced by one while property maintenance or health codes fall to the other. When the records arrive, look for open cases and repeated violations at the same address. A single closed violation for tall grass is unremarkable. Multiple open violations for structural issues or unpermitted work signal deeper problems, and compliance deadlines that have already passed without resolution are the ones most likely to have generated fines or liens.