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.
Your situation
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)
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
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.
2 to 4 months
typical, prep to closing
Works best when the problem is small or already being closed out.
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
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.
Example: the typical single-family house in Melrose. Enter your address to see yours.
Sale price $960,000
You keep ~$883,000
Cash offer $748,800
You keep ~$745,000
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
Get the paperwork and a fix quote, then offer, close.
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
General information, not legal, tax or financial advice.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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
This page is general information, not legal, tax or financial advice. See the honest cash vs listing math.
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 look | What can show up | Who deals with it |
|---|---|---|
| Building department file | Permits on record, open permits, notices of violation, stop work orders | You, with the building official |
| Board of health and fire department | Sanitary code orders, Title 5 septic reports, the smoke and CO certificate | You, with that office |
| Municipal lien certificate | Taxes, water charges and other items that are liens on the parcel | You pay or settle before closing |
| Inspection report | A finished basement, new bathroom or electrical work that has no permit on file | Negotiated 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.
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 section | What it says, in plain words |
|---|---|
| 105.1 | A permit is required to construct, alter, repair or demolish a building or structure, or to change its use. |
| 105.2 | Some 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.2 | Ordinary repairs need no notice. A permit is needed to cut into load-bearing walls or beams, or to change required exits. |
| 109.4 | Anyone who starts work before getting the permit is in violation and subject to penalties. |
| 111.1 | No 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.2 | When work does not need a new certificate of occupancy, the building official can issue a certificate of completion after a final inspection. |
| 102.6 | An existing building that was legally occupied can keep its use, but the official can order safety fixes. |
| 102.6.4 | The official can cite too few exits, or poor lighting and ventilation, as violations and order them fixed. |
| 115 | The 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.
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.
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:
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.
| Item | What the state says |
|---|---|
| Title 5 septic | An 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 alarms | You 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.
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.
| Path | You spend | Time | What you give up |
|---|---|---|---|
| Fix and close out, then list | Repairs, permits, carrying costs | Longest | Months of ownership costs and some risk the cost grows |
| List as-is with the problem disclosed | Carrying costs, usually a price concession | Medium | Buyers using a mortgage may not be able to close |
| Sell as-is to an investor | Usually a lower price | Shortest | The 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
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).
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.