Skip to content

Option 02

Code Violation Correction & Compliance Help

Understand what correction may involve and connect — only if you choose — with independent professionals.

Updated November 17, 2026

A new railing on front steps, a simple correction that can close a violation.
Immediate answer

Correcting a code violation in California means bringing the property up to the building or housing code the local agency enforces, not just stopping the problem. A contractor whose license covers the work usually performs it, permits go through the city or county building department, inspectors check it, and the local agency decides when the violation is closed.

On this page
  1. Key Takeaways
  2. When This Option Fits
  3. How It Works, Step by Step
  4. Costs, Timing and Trade-offs
  5. Options to Compare
  6. What to Have Ready
  7. Local Context
  8. Frequently asked questions

A notice, a citation or a red tag is sitting in front of you, or you own a house with an addition, a garage conversion or wiring that was never permitted. It names a code section, a correction and a date, and it asks you to decide how to respond before you know what the work involves or what it will cost. This page lays out what correction looks like from the owner's side: who does what, in what order, what shapes the cost, and how correction compares with the other paths an owner has.

Key Takeaways

  • Correction means conformance. The goal is a property that meets the applicable building or housing code. Stopping a use, or covering up work, does not close a violation.
  • The usual pieces are a contractor, a permit, inspections and a final sign-off. The final approval on the permit is what the agency looks for before it closes the case.
  • The local agency decides. The building official, meaning the official in charge of the city's or county's building department, and the code enforcement officer, the person who investigates and cites violations, enforce the code for the place where the property sits. They accept or reject the correction.
  • Contractor licenses are a state matter. The Contractors State License Board is the California agency that issues and regulates contractor licenses, and its records are the place to look up a contractor's license.
  • The path depends on the facts. What was cited, what that city or county requires, and whether the work needs a permit all change the steps.
  • No timeline or result is assured. Both depend on the jurisdiction and the scope of the work.

The meaning of a notice and what it asks of an owner are laid out in more detail in the guide to reading code enforcement notices.

When This Option Fits

Correction is the usual path when the owner plans to keep the property, refinance it, sell it on the open market or rent it out legally. Each of those depends on the property's legal status. A lender, an insurer or a buyer may also require that open violations be resolved before a transaction closes, which puts correction on the table even for an owner who intends to sell.

Unpermitted work is a common reason correction comes up. Consider a hypothetical: a city cites a converted garage that has a bedroom and a bathroom but no permit record. Closing that case typically runs through a permit, plan review and inspections, sometimes with walls opened so an inspector can see the framing, wiring and plumbing inside.

Correction may not fit as well in two situations. One is when the cost of bringing the property into compliance is more than the owner can carry. The other is when the cited work cannot be legalized under current code, so the only correction is removing it. In either case, other options deserve a look.

Correction is not the only route. Some owners, in some situations, find that selling the property in its present condition fits better: it moves the correction work and cost to a buyer, usually at a lower price than a corrected property would bring. Neither direction is right in general; the facts of the property and the owner's plans decide it.

How It Works, Step by Step

The sequence below is the general shape of correction in California. The order and details vary by city and county.

  1. Read the notice closely. It names the code section violated, the correction required and the deadline the agency has set. That deadline is the one that governs; a notice from the agency is the source for it.
  2. Find out whether a permit is needed. Some repairs do not need one. Structural, electrical, plumbing and conversion work usually does. The building department decides which category the work falls in.
  3. Hire a contractor whose license matches the work. California licenses contractors by classification, with general building licenses and separate specialty licenses for trades such as electrical and plumbing. The Contractors State License Board's records show which classification a contractor holds.
  4. Apply for the permit. The contractor, or a permit expediter (a person paid to prepare and move permit paperwork through the department), files the application. The owner of record, the person or entity whose name is on the recorded title, typically signs it or authorizes the contractor to sign.
  5. Do the work and pass inspections. The building department inspects at required stages, and each stage is approved before work moves on.
  6. Pass the final inspection. A passed final closes the permit. The owner or contractor then tells code enforcement, which closes the violation on its own records.

Work that was built without a permit may need what is called a permit after the fact, also known as an as-built or retroactive permit. The process is similar, but it can add plan review and corrections to meet current code. Throughout, the roles stay separate: the contractor performs the work, the inspector checks it, and the building official decides whether it meets code.

Costs, Timing and Trade-offs

Permit fees are set by each city or county and vary with the jurisdiction and the size of the project. The local building department's published fee schedule is the source for the current figures; this page states none.

Contractor costs depend on the scope of the work, the trade involved, local labor conditions and how much it takes to bring unpermitted work into compliance. A permit after the fact often costs more than a standard permit, because finished walls or ceilings may have to be opened for inspection, plans may need extra review, and the work may need changes to meet current code.

Timing depends on how long the department takes to process permits, when a contractor is available, how inspections are scheduled and whether an inspection turns up corrections. Some departments issue simple permits at the counter; others send plans through a plan check that can take weeks.

Carrying costs run alongside the project: mortgage payments, property taxes, insurance and, where the agency imposes them, fines or penalties that continue while the violation stays open.

The trade-off is plain. Correction resolves the violation and restores the property's legal status, but it takes money and time up front, and the owner carries that cost whether the property is kept or sold afterward.

Options to Compare

An owner facing a code violation generally has these paths. None is ranked here; each has real costs and benefits.

OptionWhat it involvesMain trade-off
Correct and keepContractor, permits, inspections, closed violationUp-front cost and time, carried by the owner
Correct, then sellLegal status restored before listingBroader buyer pool and financing, after paying for the work
Sell in present conditionBuyer accepts the property and the correction workLower price in exchange for less preparation
List with an agent, disclosing the violationsAgent and market set the courseSale may happen before or after correction
Do nothingViolation stays openFines and further enforcement can continue

Correct and keep. The owner pays for the work and ends with a compliant property.

Correct, then sell. Restoring legal status first typically widens the field of buyers and the loans they can use.

Sell in present condition. A buyer who takes the property as it is takes on the correction work and its cost. A buyer paying cash often offers less than the property would bring on the open market, because that buyer absorbs the repair risk, the holding time and the cost of reselling. What the seller gets in return is less preparation, fewer showings and less dependence on a buyer's loan approval.

List with a real estate agent. California sellers owe buyers disclosure of known material defects, which includes known violations; an attorney or a real estate agent can say which disclosures apply to a given sale. The agent and the market then shape whether the property sells before or after correction.

Do nothing. Fines and penalties typically continue to accrue, and some jurisdictions can record a lien or pursue further enforcement. It is not a stable long-term position.

A sale of any kind does not close an enforcement case or change the seller's duties under California law; those are the same whether or not the buyer pays cash. Comparing written offers and estimated net proceeds, meaning the price less commissions, repair costs, carrying costs, loan payoffs and closing costs, is how an owner tells which path fits.

What to Have Ready

A contractor, a building department and anyone helping compare options will ask for the same basic records.

  • The notice, citation or red tag. It names the code section, the required correction and the deadline.
  • The permit history. The local building department keeps it, and it shows which work on the property was permitted and which was not.
  • Prior paperwork. Earlier inspection reports, contractor bids and letters or emails with code enforcement.
  • The Assessor's Parcel Number. This number, known as the APN, identifies the parcel and is used on permit applications and in department record searches.
  • Title information. Who is the owner of record matters for signing a permit application and for any sale. A title report or the county recorder's records show it.

The permit history is often the first record worth pulling, because the line between permitted and unpermitted work shapes what a contractor will quote and what the building department will require.

Local Context

California sets statewide building standards through the California Building Code, and cities and counties adopt local amendments to it. A requirement in one city may differ in the next.

Enforcement belongs to the city or county where the property sits. A notice from the City of Oakland moves through Oakland's process, and a notice for a parcel in an unincorporated part of a county goes through that county's building or code enforcement department. Los Angeles, San Diego and Oakland each run their own code enforcement and permit processes, as do counties such as Riverside and Sacramento for their unincorporated areas. This page states no local rule, fee or deadline for any of them.

Each local building department publishes its own fee schedule, submittal requirements and inspection procedures, and those pages are the source for local rules. For a property inside the City of San Diego, the guide to San Diego code violation help covers who enforces the codes there. How California treats substandard buildings statewide is explained in the guide to building code violations.

Contractor licensing does not vary by city. The Contractors State License Board regulates it statewide, and its license records are where an owner can look up a contractor's license status before signing a contract.

Ready to talk through your options?

Share the details of your notice. You choose whether contractors or a sale consultant may contact you.

Get help with my property

Free · You decide

Want correction estimates?

Tell us about the notice and your goals. We'll help you understand correction and sale options — you decide.

Get help with my property Call (888) 599-6621

Verify before you hire

Confirm any contractor's license and status with the state before signing a contract.

CSLB license lookup ↗

Frequently asked questions

What is the most common building code violation in California?

Unpermitted construction is among the most frequently cited categories: additions, garage conversions, accessory dwelling units, and electrical or plumbing work done without a permit. The specific violation depends on the property and the jurisdiction, and the notice itself names the code section and the correction it requires.

Who has the authority to enforce the building code?

The building official for the city or county where the property sits holds that authority. In an incorporated city it is usually the city's building or code enforcement department; in an unincorporated area it is the county's department. The notice or citation names the agency that issued it.

Does a contractor need a specific license to do code violation correction work in California?

Yes, the license has to match the work. California licenses contractors by classification, with general building and specialty trade classifications such as electrical and plumbing. The Contractors State License Board's records show a contractor's current license and classification. Cost is a separate question that depends on the scope of the work.

How much does a contractor charge to pull a permit?

No single figure applies. The city or county sets the permit fee, which varies by jurisdiction and project, and the local fee schedule is the source for it. What a contractor charges to handle the permit varies by contractor and project; a written bid shows it for a specific property.

Can unpermitted work be legalized after the fact?

Often it can, through a permit after the fact, also called an as-built or retroactive permit. That usually means an application, plan review and inspections, sometimes with finished walls or ceilings opened. Whether a particular piece of work can be legalized depends on what was built and current code; the building department decides.

How do I report illegal construction in California?

A complaint goes to the code enforcement or building department for the city or county where the property is located. Many departments take complaints online, by phone or in person, and a notice from the agency shows its contact details.

How do I verify a contractor's license in California?

The Contractors State License Board keeps California's official contractor license records. A search by contractor name, business name or license number shows whether a license is current, its classification, and whether bond and workers' compensation information is on file.

Does selling the property as-is eliminate the code violation?

No. A sale does not close an enforcement case or remove a violation from the property's record, and the seller's disclosure duties under California law apply whether or not the buyer pays cash. A buyer who accepts the property in its present condition takes on the correction work, while the violation follows the property.

What happens if a code violation is not corrected?

Fines and penalties typically continue while a violation stays open. Some jurisdictions can record a lien, pursue further enforcement or, where habitability is at stake, order the property vacated. The notice or citation from the agency describes the consequences and the deadline for that property.

Call Get help with my property