Probate & Estate

Do You Pay Capital Gains Tax When You Sell Your House in Massachusetts? (Quincy Sellers Guide 2026)

November 9, 2026 By Krista Recker

Last updated: November 5, 2026
FRESHNESS: rate/stat-dependent (federal capital gains brackets, Massachusetts surtax threshold; re-verify each quarter)

SELLING

Do You Pay Capital Gains Tax When You Sell Your House in Massachusetts? (Quincy Sellers Guide 2026)

November 9, 2026 | By Krista Recker

Most Quincy homeowners who sell their primary residence pay no capital gains tax, because you can exclude up to $250,000 of gain as a single seller, or up to $500,000 on a joint return, as long as you owned and lived in the home for at least 2 of the last 5 years. Only the gain above those amounts is taxed, at 0%, 15%, or 20% federally and 5% by Massachusetts.

I am a real estate salesperson and investor, not a tax advisor or attorney, so use this as the framework and confirm your numbers with a CPA before you list.

Who this applies to

This is written for you if any of the following is true:

  1. You bought your Quincy home years ago, it has appreciated a lot, and you want to know whether the sale will trigger a tax bill.
  2. You are a couple or a single owner deciding whether to sell now or wait, and the gain is close to $250,000 or $500,000.
  3. You moved out of your home, rented it, and are now thinking about selling.
  4. You are selling after a divorce, a job relocation, or the death of a spouse and are not sure the 2 year rule still works for you.

If you are selling a rental or other investment property, the rules are different. Read the 1031 exchange guide for Quincy rentals alongside this one.

Do you pay capital gains tax when you sell your home in Massachusetts?

You pay tax only on the gain that is left after the home sale exclusion, and for most primary residence sellers that leaves nothing. Gain is what you sell for, minus your selling costs, minus your tax basis. If that number is under $250,000 (single) or $500,000 (married filing jointly) and you pass the ownership and use tests, you owe $0 federal and $0 Massachusetts capital gains tax on the sale.

Massachusetts follows the federal exclusion, so you do not run a separate state calculation to qualify. The state taxes whatever gain remains on your Massachusetts return.

How does the $250,000 and $500,000 home sale exclusion work?

The exclusion is a tax break you can use once every 2 years, and it needs 3 things to be true. You must have owned the home for at least 2 years, lived in it as your main home for at least 2 years, and not used the exclusion on another home sale in the 2 years before this sale. The 2 years of ownership and 2 years of use do not have to be the same 2 years, and they do not have to be back to back, but both must fall inside the 5 years before the closing date.

For married couples to claim $500,000, you must file jointly, either spouse must meet the ownership test, both spouses must meet the use test, and neither spouse can have used the exclusion on another sale in the prior 2 years. If only one spouse qualifies, the exclusion is $250,000. Depreciation and certain rental periods, covered below, can leave some gain taxable even when your total gain is under these limits.

How do you calculate your gain on a Quincy home?

Your gain is your net sale price minus your adjusted basis. Net sale price is what you sold for, less selling costs such as the listing and buyer agent commissions, the Massachusetts excise (transfer) tax, attorney fees, and title fees on the seller side. Adjusted basis is what you paid, plus buying costs that were not mortgage interest, plus the cost of capital improvements, meaning projects that add value or extend the life of the home, such as a new kitchen, a new roof, or an added bathroom.

Here is a hypothetical Quincy example, not a current listing:

Line Amount
Sale price $700,000
Minus selling costs (about 6%) minus $42,000
Net sale price $658,000
Original purchase price $385,000
Plus buyer closing costs that count toward basis $9,000
Plus kitchen remodel $45,000
Adjusted basis $439,000
Taxable gain before the exclusion $219,000

Assuming the seller passes the 2 of 5 year tests, the $9,000 and $45,000 qualify as basis additions, and there is no depreciation or rental use, that $219,000 gain is under the $250,000 exclusion, so there is no federal or Massachusetts income tax on the sale. You will still pay closing costs and the transfer tax. Routine repairs and painting do not raise your basis. Keep receipts for every improvement, because the person with the paper trail wins this calculation.

What are the federal and Massachusetts tax rates on gain above the exclusion?

Federal long term capital gains tax is 0%, 15%, or 20% depending on your total taxable income, and Massachusetts taxes the same gain at 5%. Long term means you owned the home for more than a year.

Filing status 0% federal rate 15% federal rate 20% federal rate
Single Taxable income up to $49,450 $49,451 to $545,500 Over $545,500
Married filing jointly Taxable income up to $98,900 $98,901 to $613,700 Over $613,700

These thresholds measure your total taxable income, not just the gain from this sale, so other income decides how much of your gain lands in each band, and one gain can span more than one band. Two add-ons can raise the bill. The 3.8% federal net investment income tax can apply to your taxable gain, but only on the lesser of your investment income or the amount your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), and it never applies to gain you excluded under the home sale exclusion. Massachusetts adds a 4% surtax only on the part of your taxable income above $1,107,750 for 2026, which makes the state rate on that top slice 9%, and a large taxable gain can push you over that line.

Figures checked against IRS Publication 523, the IRS 2026 inflation adjustments, and Massachusetts Department of Revenue guidance in November 2026. The $700,000 sale price and 6% selling costs used in the examples are hypothetical, not Quincy market benchmarks. Tax law changes, so confirm the current numbers with your CPA.

What does the tax look like in real situations?

Here is how the rules play out for six common Quincy sellers. Every row is a hypothetical, and the dollar figures are estimates, not tax advice.

Seller situation Estimated tax result
Single owner lived in the home 8 years, $219,000 gain on a $700,000 sale $0 federal and $0 Massachusetts, because the gain is under $250,000
Married couple filing jointly lived in the home 6 years, $400,000 gain $0 federal and $0 Massachusetts, because the gain is under $500,000
Single owner lived in the home 12 years, $400,000 gain, full exclusion available $150,000 taxable; if all of it falls in the 15% federal band, about $22,500 federal plus $7,500 Massachusetts at 5%, about $30,000 total, before any 3.8% net investment income tax
Single owner sold after 10 months because a job moved them more than 50 miles away Possible partial exclusion of about $104,167, which is 10 of 24 months times $250,000, if the sale qualifies
Owner lived in the home 3 years, rented it for 2 years, then sold Still qualifies for the exclusion because they lived there 2 of the last 5 years, but depreciation allowed or allowable on the rental period is taxed at up to 25% federally
Owner sold 11 months after buying with no qualifying reason, $50,000 gain Taxed as a short term gain: the ordinary federal rate for your bracket plus 8.5% Massachusetts

Can you still get the exclusion if you do not meet the 2 year rule?

Often yes, in part. If you sell before 2 years because of a change in employment, a health reason, or an unforeseen circumstance, you can claim a reduced exclusion based on how long you owned and lived in the home. The formula is the shortest of your qualifying ownership period, qualifying use period, or time since your last exclusion, divided by 24 months, times $250,000 (or $500,000 if married), and joint filers may need to run it for each spouse.

The IRS lists unforeseen circumstances that qualify, including death, divorce or legal separation, multiple births from one pregnancy, and an involuntary conversion of the home. A job change is safely covered if your new workplace is at least 50 miles farther from the home than your old one was, though other facts can also qualify a work related sale. An unmarried surviving spouse who sells within 2 years of the other spouse's death may qualify for up to $500,000, as long as the ownership, use, and prior exclusion requirements were met, and the deceased spouse's ownership and use time can count toward them.

What if you rented the house or used part of it for business?

You can still use the exclusion, but some of the gain stays taxable. Depreciation allowed or allowable after May 6, 1997 is not covered by the exclusion, and for a home held long term that portion faces a maximum federal rate of 25%, so you cannot avoid it by skipping the deduction. If you used a portion of the home exclusively as a home office and claimed depreciation on it, the same rule applies to that portion.

There is also a rule for years when the home was not your main residence before you moved in, such as a rental you later converted. Certain periods after 2008 when the home was not your main residence, called nonqualified use, can make a prorated share of the gain ineligible for the exclusion, with exceptions such as time after you last used it as your main home within the 5 year window. This is where a CPA earns the fee, so bring your purchase date, move in date, and any rental dates to the meeting.

What do you report when you sell, and who sends the form?

Your closing attorney or title company generally must send the IRS a Form 1099-S reporting the sale price unless an exception applies. The principal residence exception requires a signed seller certification and sale price limits of $250,000 for a single seller or $500,000 for a married couple, so a $700,000 sale will typically still produce a 1099-S even if your gain is fully excluded. Ask at closing what will be filed. If you receive a 1099-S, or if any of your gain is taxable, you report the sale on your federal return with Form 8949 and Schedule D, and on your Massachusetts return. Keep your purchase, improvement, and depreciation records for as long as you own the home and until at least 3 years after the due date of the return for the year you sell.

A loss on the sale of your personal residence is not deductible, so if you sell for less than your basis, that loss does not reduce your other income. A rental portion of the property is treated separately.

How can you lower the tax on a home sale?

You can lower the tax by raising your basis, timing the sale, or using the exclusion fully. Gather improvement receipts before you meet your CPA. If you are a few months short of 2 years, ask whether waiting would save more than the market might cost you. If you are a couple, check whether both spouses meet the use test. If you inherited the home, your basis is generally its fair market value on the date of death, which often removes most of the gain, though for jointly owned property the adjustment may apply only to the inherited share. See the stepped up basis guide for inherited houses in Massachusetts.

The Bottom Line

Most Quincy sellers owe $0 in capital gains tax on a primary residence, because the exclusion shelters the first $250,000 (single) or $500,000 (married filing jointly) of gain if you lived there 2 of the last 5 years. The sellers who owe tax are the ones with large gains, short ownership, or years of rental use, and they are the ones who should run the numbers before listing, not after closing. Tax planning belongs in your pricing strategy, because what you keep after the sale matters more than what you list for.