Home Options MA

Your situation

House has code violations or unpermitted work? Here is how to sell it in Massachusetts.

What a buyer's attorney will find, what the town can require, and whether to fix it or sell as-is. Free, no obligation.

We are not a real estate broker or agent. We connect you with independent local buyers and agents who may pay us a fee. No obligation.

Your likely path (our general read, not advice)

  1. Get every notice and permit on file
  2. Price the fix against selling as-is
  3. Ask an attorney before you sign
Line drawing of a center-hall colonial house with shutters

First thing to know

A violation or an order does not go away at closing, so plan for it. Get the town's paperwork first, then compare fixing it with selling as-is.

Your options

Three common ways to move forward.

Sell for cash, as-isOften the best fit

2 to 4 weeks

typical, offer to close

Often the simplest route when the fix is large, an order has a deadline, or the house is hard to finance.

List with a local agent

2 to 4 months

typical, prep to closing

Works best when the problem is small or already being closed out.

Cleanout first

By the job

written quote, before either route

Some citations are about debris, stored items or overgrowth, and a cleanout can clear those quickly.

JUNKRUN is owned by the same people as Home Options MA. If you choose a cleanout, we may earn money from it. No obligation to use it. See JUNKRUN estate cleanout

Cash offer vs listing, side by side.

Type your address and pick the town. We start from the typical house there and use the same math as the calculator. Change the price to your own guess.

Town

Example: the typical single-family house in Melrose. Enter your address to see yours.

List with an agent

Sale price $960,000

  • Agent fee −$50,400
  • Repairs and prep −$12,000
  • Closing and carrying −$14,878

You keep ~$883,000

2 to 4 months

Sell for cash, as-is

Cash offer $748,800

  • Cash buyer's discount −$211,200
  • No agent fee, no repairs, no staging
  • Closing −$3,415

You keep ~$745,000

2 to 4 weeks

Listing keeps about $138,000 more on paper, and takes about 2 months longer. Cash is faster and skips the repairs.

Estimate only, not an offer. Starting price: the typical single-family home in Melrose (August 2026, Zillow Group Data). Assumes a 78% cash offer, 5.25% commission, $12,000 prep, 3 months of carrying costs at $3,500, before any mortgage payoff. Your house is not the typical house. Sources

A typical timeline

How long it usually takes.

Sell for cashabout 2 to 4 weeks

Get the paperwork and a fix quote, then offer, close.

List with an agentabout 9 to 17 weeks

Get the paperwork and a fix quote, then prep, listing and showings, contract to close, buffer.

Get the paperwork and a fix quote: Town response times and contractor quotes vary.

Estimates, not promises. A cleanout adds time before either route. See the honest math and sources.

Questions

Common questions.

General information, not legal, tax or financial advice.

Can I sell a house with open code violations in Massachusetts?

Yes. Nothing we found in the state building code or the sanitary code bars a sale. But the violation stays with the property, buyers will find it, and a buyer using a mortgage may need it closed out first. Cash buyers can buy as-is and price in the fix. Ask your attorney before you sign anything.

Do I need a certificate of occupancy to sell my house?

The state building code (780 CMR 111.1) says a building cannot be used or occupied until the building official issues a certificate of occupancy and use, and a new one is needed when a building is changed or its use changes. We did not find a state rule that makes you get a new certificate just to resell an existing house. Some towns have their own rules, so ask your building department. You will still need the smoke and CO certificate from the fire department.

What if I (or a past owner) did work without a permit?

The code says work started before the permit is a violation subject to penalties (780 CMR 109.4). Towns handle old work case by case, and we could not verify one statewide process. Call the building department, ask what they need to close it out, and get a contractor quote before you decide whether to fix it or sell as-is.

What happens when a board of health condemns a house?

Under the sanitary code the board gives notice and holds a hearing, then can order the owner to secure the house and occupants to leave. The house is placarded and cannot be lived in again until the board approves in writing and removes the placard. If a tenant lives there, the owner must provide comparable housing for a set period.

Can I sell a condemned house?

We found nothing in the sanitary code that bars selling one. The order and placard stay with the property until the board lifts them. A buyer who needs a mortgage will want that done first; a cash investor may buy as-is. Ask an attorney how to handle the contract.

Will code violations stop a buyer from getting a mortgage?

They can. We did not find a state rule on this, because it is up to each lender. A buyer who needs a mortgage will usually want an open order lifted or a permit closed before closing, and the lender may ask the same. Cash buyers can buy as-is. Ask the buyer's lender and your attorney.

Can the town put a lien on my house for code violations?

Costs a board of health incurs when it does work under an order can become a lien, because MGL c.111 s.127B points to the lien rules in c.139 s.3A. We could not verify that every kind of fine becomes a lien. Ask for a municipal lien certificate and the building and health files, and let your attorney read them.

Do I have to fix unpermitted work before selling?

We found no state rule that requires you to close it out before a sale. In practice it comes up in the buyer's inspection and attorney review, and it becomes a price or contract term. You can fix it, disclose it and price for it, or sell to a buyer who takes it as-is.

How long does a board of health condemnation last?

Until the board approves reuse in writing and removes the placard (105 CMR 410.900). How long that takes depends on the repairs and the board. Ask the board what it needs to see.

Full details

The longer version.

The short answer

You can sell a Massachusetts house that has open code violations, unpermitted work, or even a board of health order. The problem does not disappear at closing, though. A buyer's attorney and inspector will usually find it, and a buyer who needs a mortgage may not be able to close until it is fixed. Your realistic choices are to fix it and close out the permit, sell as-is to a buyer who prices in the work, or list the house with the problem disclosed. Which one leaves you with the most depends on what the violation is, what the town requires, and how long you can carry the house.

How each way fits, in full

Sell for cash, as-is. Often the simplest route when the fix is large, an order has a deadline, or the house is hard to finance. An investor prices in the repairs and the permit work, so expect a lower number than for a clean house. Ask for the offer in writing, and ask who takes on the open violation after closing.

List with a local agent. Works best when the problem is small or already being closed out. A listing with the permit finished and any order lifted reaches buyers who need a mortgage. Open items can slow a lender-financed buyer or end the deal at inspection.

Cleanout first. Some citations are about debris, stored items or overgrowth, and a cleanout can clear those quickly. JUNKRUN does cleanouts. It is owned by the same people as Home Options MA, so we may earn money if you use it. Other cleanout companies exist; get more than one price.

JUNKRUN is owned by the same people as Home Options MA. If you choose a cleanout, we may earn money from it. No obligation to use it. See JUNKRUN estate cleanout

Steps that usually help

  1. Get the paper. Ask the building department, the board of health and the fire department for every notice, order and permit on file for the address. Write down every deadline.
  2. Sort the problem. Is it unpermitted work, a building or fire code violation, a sanitary code order, a Title 5 septic failure, or a condemnation? Each one has a different fix and a different office.
  3. Call the building department before anyone starts work. Ask what they need to close an open or missing permit and how long it takes.
  4. Price three paths: fix and close out, sell as-is with the problem disclosed, or take an investor offer. Get written quotes for the fix.
  5. Talk to a real estate attorney before you sign a listing agreement or a purchase contract. Tell them everything you know about the problem.

Watch out for

  • Do not hide a problem you know about. Hiding or misstating a defect can lead to a claim after closing. Ask your attorney what you must disclose.
  • Ask the building department before you remove, cover or change unpermitted work. The fix may need an inspection first.
  • An order from the building department or board of health stays with the property when you sell. The buyer, and their lender, will want to know about it.
  • Costs a town incurs under a board of health order can become a lien on the property. Your attorney will check what is recorded.

Official sources

This page is general information, not legal, tax or financial advice. See the honest cash vs listing math.

What a buyer's attorney and inspector usually find

Most buyers hire a home inspector and a real estate attorney before they sign the purchase and sale agreement. Between them they tend to look in four places. You can look in the same four first.

Where they lookWhat can show upWho deals with it
Building department filePermits on record, open permits, notices of violation, stop work ordersYou, with the building official
Board of health and fire departmentSanitary code orders, Title 5 septic reports, the smoke and CO certificateYou, with that office
Municipal lien certificateTaxes, water charges and other items that are liens on the parcelYou pay or settle before closing
Inspection reportA finished basement, new bathroom or electrical work that has no permit on fileNegotiated between you and the buyer

The municipal lien certificate is set by state law. The town collector issues a certificate of the taxes, assessments, water charges and similar items that are liens on the parcel, for a $25 fee, within 10 days (not counting weekends and holidays) in a town of more than 5,000 people and within 20 days in a smaller one (MGL c.60 s.23). Whether a particular fine shows up on it depends on how the town recorded it, and we could not verify that for each town. The building and health files are separate records, so ask for them separately. See our municipal lien certificate guide.

We did not find a standard statewide seller disclosure form on mass.gov. What you must tell a buyer about a known defect is a legal question for your attorney. The safe rule is simple: if you know about an order, a violation or unpermitted work, say so in writing before the buyer's deadlines. See our seller disclosure guide.

Unpermitted work and the state building code

The Massachusetts State Building Code is 780 CMR. Its first chapter says it is unlawful to build, alter or repair a building, or to change its use, without first filing an application and getting the permit. Starting work before the permit is itself a violation that can bring penalties. These are the parts that come up most when a house is sold:

780 CMR sectionWhat it says, in plain words
105.1A permit is required to construct, alter, repair or demolish a building or structure, or to change its use.
105.2Some work needs no permit under 780 CMR, for example a one-story detached shed of 120 square feet or less. Electrical, plumbing and sheet metal work have separate permits.
105.2.2Ordinary repairs need no notice. A permit is needed to cut into load-bearing walls or beams, or to change required exits.
109.4Anyone who starts work before getting the permit is in violation and subject to penalties.
111.1No building may be used or occupied until the building official issues a certificate of occupancy and use, and a new one is needed when a building is changed or its use changes. Work that needs no permit needs no certificate.
111.1.2When work does not need a new certificate of occupancy, the building official can issue a certificate of completion after a final inspection.
102.6An existing building that was legally occupied can keep its use, but the official can order safety fixes.
102.6.4The official can cite too few exits, or poor lighting and ventilation, as violations and order them fixed.
115The official can issue a stop work order for work that is unsafe or contrary to the code.

Typical trouble spots when a house is sold: a finished basement or attic used as a bedroom, an added bathroom, a deck, a converted garage, or a second kitchen. Habitable space has to meet rules for exits, light and air, which is why the building official looks at them. A second unit raises zoning questions too; see our guide to selling a house with an in-law apartment.

Closing out old unpermitted work

The code does not describe an "after-the-fact permit" by that name, so we cannot give you one state process. How a town closes out old work is local, and Melrose, Malden, Medford and every other town set their own fees and paperwork. Call the building department and ask three things: what application they need, whether they need drawings, and whether they will want to see inside walls. Get a contractor quote at the same time, so you know what the fix would cost before you decide.

Board of health orders and condemnation

The State Sanitary Code (105 CMR 410) sets minimum standards for housing, such as heat, water, kitchens, bathrooms, exits and pests. The local board of health enforces it. A house is "unfit for human habitation" when a condition poses such immediate harm that other remedies cannot be expected to fix it fast enough. If a board decides that, the process in 105 CMR 410.650 and 410.900 usually runs like this:

  1. An inspection finds a condition that makes the house, or part of it, unfit.
  2. The board serves a notice that it will consider a finding of unfitness and may order the owner to secure the house and the occupants to leave.
  3. If someone lives there, the board holds a public hearing at least 5 calendar days after the notice, unless it decides in writing that the danger is so immediate that it cannot wait.
  4. The board can issue a finding, an order of condemnation, an order to vacate and an order to secure.
  5. If no one asks for a hearing within 7 calendar days of the order, or after the hearing, the house is placarded as unfit.
  6. The placard stays until the board approves reuse in writing. No one may deface or remove it.

If a tenant lives there and the tenant is not the owner, the owner must provide comparable housing for the shortest of three periods: the rest of the lease, until the board says the home is suitable, or until the tenant finds permanent housing.

State law adds a few more points (MGL c.111 s.127B). The board can order the owner to vacate, clean up or comply with the code. If the owner refuses, the board can do the work at the owner's expense. A copy of the order goes to any mortgage lender or lien holder of record by registered mail, so your lender may already know. The statute applies the lien rules in MGL c.139 s.3A to the debt, so costs the town pays can become a lien on the property.

We found nothing in the sanitary code that bars selling a condemned house. The order and placard stay with the property until the board lifts them. A buyer who needs a mortgage will want that done first. A cash investor may buy as-is. Ask your attorney how the contract should handle the order.

Towns can also write tickets for by-law violations, up to $300 each as the town sets (MGL c.40 s.21D). The statute says that if a ticket is not paid, the enforcing officer decides whether to ask for a criminal complaint. We could not verify that an unpaid ticket becomes a lien, so ask the town clerk and the collector to show you everything outstanding.

Septic, smoke and CO, and lead: the sale-time items

ItemWhat the state says
Title 5 septicAn inspection by a MassDEP-approved inspector within 2 years before a sale (6 months after, if weather blocks it). The inspector sends the report to the board of health within 30 days and the buyer must get a copy. A passing report is good for 2 years, or 3 if the system is pumped every year.
Smoke and CO alarmsYou need a certificate of compliance from the local fire department when you sell. Call as soon as you have a closing date.
Lead paint (built before 1978)You must give the buyer the Property Transfer Lead Paint Notification before the purchase contract is signed. Sellers who skip it face civil penalties.

A failed septic system is the most common money problem on this list. Under the state guide, an owner who fails inspection and decides not to sell must still repair the system within 2 years unless the board of health or MassDEP allows another schedule. A conditional pass covers parts that can be repaired, such as a cracked tank or broken pipe, but not a failed soil absorption system or a cesspool. The guide also lists a sale exception: the owner or buyer signs an enforceable agreement with the board of health to upgrade the system within 2 years after the transfer, if it is disclosed and binds later owners. Lenders and attorneys often prefer a fix before closing or money held back in escrow. See our Title 5 guide.

Lead matters to buyers with children. Under the Lead Law, if a child under 6 will live in a pre-1978 home, the owner must have it deleaded or under Interim Control within 90 days of taking title. Expect that buyer to ask what you know about lead. See our lead paint guide.

Fix it, or sell as-is: how to run the numbers

Three numbers decide this: what it costs to fix and close out the problem, how many months it takes, and what it costs to hold the house while you wait. The permit and inspection fees are part of the fix, and so is any drawing or engineer's letter the building department asks for.

Three paths, side by side
PathYou spendTimeWhat you give up
Fix and close out, then listRepairs, permits, carrying costsLongestMonths of ownership costs and some risk the cost grows
List as-is with the problem disclosedCarrying costs, usually a price concessionMediumBuyers using a mortgage may not be able to close
Sell as-is to an investorUsually a lower priceShortestThe gap between the offer and a fixed-up sale

Holding costs add up. The state Department of Revenue puts the FY2026 average single-family tax bill at $8,113 (Mass.gov DOR). That is about $676 a month in property tax alone, before the mortgage, insurance and utilities. It is a statewide average, not your bill.

How much less will an investor pay? Industry blogs quote 65% to 85% of market value for cash sales (FairOffer). That is one blog's range, not data for your town, and your discount depends on the house. To an investor an open violation is a repair cost. Get two or three written offers and ask each one what repair cost it assumed. Then compare the net, not the headline, with the cash vs listing comparison and the net proceeds calculator.

If an order has a deadline, ask the building department or board of health in writing whether a plan with a schedule is acceptable. Do not agree to a sale date that you cannot meet.

Selling? Add drone photos

Show the whole property.

Aerial photos show the lot, the yard, the roofline and the neighborhood in a way street photos cannot. Many sellers add them to a listing, and they are a short, inexpensive shoot (typically $250 to $900).

See what you'd walk away with.

Enter your address. It is free, and you can stop at any point.

We are not a real estate broker or agent. We connect you with independent local buyers and agents who may pay us a fee. No obligation.

Step 1 of 2

Where is the house?

We will show you a ballpark for your town right away. Nothing here is an appraisal, and there is no obligation.