Skip to content

Unpermitted Work and Legalization

What It Costs to Legalize Unpermitted Work

Updated November 17, 2026

A garage room with fresh drywall, partway through work to bring it up to code.
Immediate answer

The cost to legalize unpermitted work in California depends on the property. There is no statewide price. The total usually combines plans, the city's or county's permit and plan-check fees, inspections, and any construction the building department requires before it approves the work. The local fee schedule and the condition of the work decide the final number.

On this page
  1. What Legalizing Unpermitted Work Means for Owners
  2. Where the Cost Comes From
  3. Who It Affects
  4. Rules, Disclosures, and Fine Print
  5. Options and Trade-offs
  6. Mistakes to Avoid
  7. What to Do Next
  8. Frequently asked questions
  9. Sources

If you are reading this, you may be holding a code enforcement notice about a garage conversion, a back-room addition or an ADU. The work may also have come up during a sale, or in a records search on a house you inherited. Either way, the question is practical: what will the city or county ask for before it signs off, and is that path realistic compared with removing the work or selling the property as it stands?

This guide covers what legalization involves and where the costs come from. It also explains who usually faces the question, which disclosure rules apply when the property is sold, and how the main options compare.

What Legalizing Unpermitted Work Means for Owners

Unpermitted work is construction, alteration or improvement completed without the building permit the local jurisdiction required. A converted garage, an added bedroom, rewired electrical, new plumbing, or a detached unit built without sign-off can all fall into this category.

Legalizing the work means applying for a permit after the work is already done. Owners and building departments often call this a retroactive permit or an after-the-fact permit. The owner of record, or someone acting for the owner, submits an application, usually with plans that show what was built. The department then reviews it much as it would review new construction.

The application goes to the local building department, which some cities call the building and safety department. Which office you deal with depends on where the property sits. An address inside a city's limits is usually handled by that city. An address in an unincorporated area is usually handled by the county.

Where the Cost Comes From

The total is built from several separate pieces. Each one is set or shaped by the local jurisdiction and by what is actually on the property.

  • Plans. Drawings of the work as it exists, sometimes prepared by an architect or designer.
  • Fees. The jurisdiction's permit, plan-check and inspection fees, set by its own fee schedule.
  • Inspections. Visits by a building inspector to confirm the work meets code.
  • Corrective construction. Changes the department requires before it approves the work.

How fees are figured. Each city or county publishes its own fee schedule. Fees are often tied to the project type and to the valuation of the work, so a larger or more involved project generally carries higher fees. The fee schedule for the jurisdiction where the property sits is the document that shows how that office calculates its charges. No statewide dollar figure applies, because each jurisdiction sets its own.

How the scope of corrective work is set. The building department reviews the plans and inspects the work, and that review decides how much corrective construction is needed. Many jurisdictions review the work against the code in effect when the application is filed, not the code in effect when the work was built, though practice varies from place to place. Work that was acceptable years ago may therefore need changes to meet current requirements.

Opening concealed work. Some departments ask the owner to open walls, ceilings or floors so an inspector can see framing, wiring or plumbing. When that happens, the cost includes both the opening and the patching afterward. It can also lead to more corrective work if the inspector finds conditions that do not meet code.

Because each of these pieces depends on local rules and on the property itself, an estimate for one house says little about another.

Who It Affects

The current owner of record usually faces the legalization question, no matter who did the original work. The owner of record is the person or entity whose name appears on the recorded title. That is often someone other than the person who built the space:

  • Owners who did the work themselves or hired a contractor who never pulled permits.
  • Buyers who learned after closing about an unpermitted addition, conversion or improvement.
  • Heirs who inherited a property with open permits or unpermitted work.
  • Landlords whose rental units include unpermitted space, such as a converted garage or an unpermitted ADU.
  • Investors who acquired a property with open violations or a red tag. A red tag is a notice a building official posts that restricts use or occupancy of a structure.

If you inherited or bought the problem, it can feel unfair that it is now yours to deal with. Who originally did the work and who must deal with it now are separate questions. A building department generally looks to the current owner to respond to a notice or to legalize the work. Whether that owner has a claim against a seller, a prior owner or a contractor is a legal question for an attorney.

Rules, Disclosures, and Fine Print

When an owner sells, California's seller disclosure rules apply alongside the permit question. Under Civil Code section 1102, the disclosure article applies, "except as provided in Section 1102.2," to "any transfer by sale, exchange, real property sales contract as defined in Section 2985, lease with an option to purchase, any other option to purchase, or ground lease coupled with improvements of any single-family residential property."

The same section rules out contracting around it. Civil Code section 1102(c) states: "Any waiver of the requirements of this article is void as against public policy." The disclosure duties therefore do not change because a buyer pays cash or agrees to take the property as it is. "As-is" describes the condition a buyer accepts. It does not set aside a seller's disclosure duties.

Those duties do not reach every transfer. Some exemptions turn on who the buyer is or how the sale happens. Civil Code section 1102.2 lists the transfers the article does not apply to, including:

  • "Sales or transfers from one coowner to one or more other coowners"
  • sales or transfers made to a spouse, or to a person or persons in the line of consanguinity of one or more of the transferors
  • sales or transfers or exchanges to or from any governmental entity
  • sales or transfers pursuant to court order, including probate court sales and foreclosure sales
  • sales or transfers by a fiduciary administering a trust, guardianship, conservatorship or decedent's estate

The fiduciary exemption does not apply when the trustee is a natural person who is a trustee of a revocable trust and is a former owner of the property, or was an occupant in possession of the property within the preceding year. The list in section 1102.2 continues beyond these items.

A known code enforcement notice, citation or red tag is the kind of fact a disclosure conversation turns to, and so is known unpermitted work. Permit records are also generally public, so a buyer, a lender or an appraiser can look up what was permitted and finaled. A real estate attorney can explain how the disclosure rules apply to a particular sale.

Options and Trade-offs

An owner of a property with unpermitted work has three broad paths, and some owners combine them.

Legalize the work. The owner applies for an after-the-fact permit and brings in a contractor or architect as needed. The owner then completes the required inspections and corrective construction until the permit is closed. This path can bring the space into the permitted record, and the fees, plans and construction are its cost. Approval is not assured, because the building department decides whether the work meets code. The correction help process works the same way, through permits and final inspections.

Remove the work. Some building departments may require removal or demolition when work cannot be brought up to code. An owner may also choose removal when legalization looks impractical. Removal usually needs its own permit and inspection, and it gives up the use of the space.

Sell in its present condition. A house with unpermitted work can be sold in its present condition, with the disclosure duties described above still in place unless a section 1102.2 exemption applies. Listing with a real estate agent puts the property on the open market. Buyers who rely on a loan may still face lender or appraisal questions about unpermitted space. Some owners instead sell directly to a buyer who pays cash and takes the property as it is. A direct offer is often lower than an open-market price, because that buyer takes on the legalization or removal, the risk of what inspectors find, and the cost of reselling. In exchange, the seller usually does less preparation, has fewer showings and depends less on a buyer's loan.

Which path fits depends on the property, the notice and the owner's finances. Comparing written offers and estimated net proceeds shows the difference between them. Net proceeds are the price less commissions, repairs, carrying costs, loan payoffs and closing costs. The related cost to fix code violations feeds into that comparison.

When co-owners, a lender, a buyer, a contractor or an agency is in a dispute with the owner, the matter is contested, and that is attorney territory.

Mistakes to Avoid

Setting a notice aside tends to be the most costly step. A code enforcement notice or red tag names what the city or county wants corrected. Enforcement steps and penalties can increase when an owner does not respond, though how and when depends on the local ordinance and the notice itself.

Several other missteps come up often with unpermitted work:

  • Assuming the work will pass as built. Inspectors may require corrective changes, or may ask that concealed work be exposed so they can see it.
  • Treating an as-is or cash sale as an exit from disclosure. As covered above, the duty stays with the seller unless an exemption applies.
  • Adding new work before sorting out the permit status. New construction on a property with open violations can complicate the permit record further.
  • Counting on the original contractor's responsibility. A claim against a contractor or prior owner, if one exists, does not change what the building department asks of the current owner.
  • Skipping the permit record before a sale. The record is generally public, and gaps in it tend to surface during a transaction.

Each of these is easier to avoid once the owner knows what the record and the notice actually say. Background on building code violations explains how local enforcement offices approach these conditions.

What to Do Next

The permit record is the usual starting point. The local building department's public counter or online portal typically shows which permits were pulled, which were finaled and which remain open. Comparing that record with what is physically on the property shows the scope of the unpermitted work.

For an owner who has received a notice or citation, that document is the next thing to read closely. It names the conditions cited and the correction the agency is asking for, and any deadline it gives is the one that applies. For extensive or complex unpermitted construction, a contractor or architect who works in that jurisdiction can describe what legalization would likely require before the owner commits to it.

A practical next step is to request the property's permit history from the local building department. That history, along with any notice received, gives a contractor, an architect or an attorney what they need for a useful conversation.

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

Not sure where to start?

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 happens if you didn't know you needed a permit?

Not knowing a permit was required generally does not remove the need to legalize the work or respond to a notice. The building department's focus is whether the work meets code now. The owner's intent when the work was done is not the question it is deciding.

How much does a building permit cost in California?

No single statewide figure applies. Each city or county sets its own permit, plan-check and inspection fees, often tied to project type and the valuation of the work. The total also depends on plans and any construction the department requires. The local building department's fee schedule shows its current fees.

Can unpermitted work be sold as-is in California?

Yes, a property with unpermitted work can be sold in its present condition. The seller disclosure article that begins at Civil Code section 1102 still applies to covered transfers of single-family residential property. Civil Code section 1102.2 exempts certain transfers, such as transfers between co-owners and transfers to a governmental entity.

Does a cash buyer eliminate the need to disclose unpermitted work?

No. How a buyer pays does not change the seller's disclosure duties, and Civil Code section 1102(c) voids any waiver of them. Whether an exemption applies depends on the type of transfer, not the form of payment. Examples in Civil Code section 1102.2 include transfers to a spouse, to a person in the line of consanguinity of a transferor, or to a governmental entity.

What is a retroactive permit and how does it work?

A retroactive or after-the-fact permit is one applied for after construction is complete. The building department reviews plans of the existing work and inspects it. It may require corrective construction, or the opening of walls, before it approves and closes the permit. The steps vary by jurisdiction.

What is the difference between a code violation and unpermitted work?

Unpermitted work is construction done without a required permit. A code violation is broader. It includes unpermitted work, and it also covers conditions that break building, housing, health, safety or zoning rules, whether or not a permit was ever pulled.

Can a building department require me to tear out unpermitted work?

In some cases, yes. When unpermitted work cannot be brought into compliance, a building department may require that it be removed or demolished. Whether that happens depends on the jurisdiction and on the nature of the work.

Who is responsible for legalizing unpermitted work — the person who did it or the current owner?

The current owner of record typically faces the obligation, regardless of who did the work. Any claim against a prior owner, seller or contractor is a separate legal matter. When that kind of matter is contested, an attorney handles it.

Sources

  1. 01California Legislative Information: Civil Code section 1102 · California Legislative Information
  2. 02California Legislative Information: Civil Code section 1102.2 · California Legislative Information
Call Get help with my property