← Back to Writing
Oct 27, 2026 · 7 min read

Massachusetts Capital Gains Tax on Home Sales: What to Know in 2026

I put together a video breaking down Massachusetts capital gains tax for home sellers, and it hit a nerve with a lot of people who had never thought about this stuff before their home went on the market.

What capital gains tax actually is

This is the thing that trips people up first. Capital gains tax is not a tax on your sale price. It is a tax on your profit.

"Capital gains tax is not a tax on what you sell your home for. It is a tax on your profit."

The math works like this. Take what you sold for. Subtract your selling costs, things like agent commissions, deed excise taxes, and legal fees. Then subtract your basis, which is what you paid plus what you spent on real improvements. What is left is your gain, and that is the only number that gets taxed.

The example from the video makes this concrete. Buy at $300,000, put $60,000 into it, sell at $600,000 with roughly $35,000 in selling costs. Your gain is not $300,000. It is closer to $205,000.

The rule that covers most sellers

The Section 121 exclusion is why most Massachusetts homeowners walk away owing nothing. If the home was your primary residence, you can exclude up to $250,000 of gain if you are single, or up to $500,000 if you are married filing jointly. That excluded amount is not taxed at all, at the federal level or the state level.

To qualify, you need to have owned the home for at least two of the last five years and lived in it as your main home for at least two of those five years. The two years do not have to be back to back. It is 24 months total in that window. You can also only use the exclusion once every two years.

One thing worth knowing: if you had to move before hitting two years because of a job relocation, a health situation, or certain military service, you may still qualify for a partial exclusion. That door is not automatically closed.

Those $250,000 and $500,000 figures have not moved since the exclusion was written into law by the Taxpayer Relief Act of 1997. They have never been adjusted for inflation, which means more longtime owners are bumping up against them every year.

When you actually owe, the Massachusetts rates

If your gain is above the exclusion, here is what Massachusetts charges. Own the property more than one year and you owe 5%, the same as the regular Massachusetts income tax rate. Own it for one year or less and you owe 8.5%. That short-term rate is the most overlooked number in Massachusetts real estate, especially for anyone doing a flip or a quick resale.

Massachusetts also has a 4% surtax on taxable income above a threshold. For 2026, multiple sources confirm that threshold sits at $1,107,750, not the higher figure you may have seen elsewhere. The surtax is marginal, meaning only the dollars above that line get the extra 4%. Your full gain does not suddenly jump to 9%. Just the portion above the threshold does.

A home sale gain counts toward your total taxable income for the year. Someone with a modest salary could cross that line in the year they sell a home with a very large gain. Worth running the numbers with your accountant before you list.

Improvements, repairs, and where sellers leave money behind

"Every dollar of legitimate improvement raises your basis, which lowers your gain, which lowers any tax."

This is where sellers consistently leave real money on the table. Improvements generally add to your basis. Repairs generally do not. An improvement adds value, extends the life of the property, or adapts it to a new use. A repair just keeps things working.

Things that typically count as improvements: a new roof, a kitchen or bath remodel, new windows, a new heating system, a new septic system, a finished basement, a deck, new flooring, an electrical rewire. Things that typically do not count: fixing a leak, painting, replacing a broken window pane, routine furnace service. IRS Publication 523 spells this out clearly, and it is worth reading if you have owned your home for a long time.

One thing IRS Publication 523 also covers: if you claimed an energy credit on an improvement in a prior year, that can affect your basis. Your accountant will want to know about that.

"I've watched sellers lose track of 40, 50, $60,000 of legitimate improvements because it was just years and years of receipts that nobody kept track of or kept."

Also worth knowing: your own labor does not count. Only what you paid in materials and paid labor qualifies. Building permits are especially useful records because they independently verify the scope and date of the work, which matters if the IRS ever asks questions.

Situations where you should call a professional first

A few situations need professional guidance before you do anything else.

Longtime owners who bought in Worcester, Auburn, Shrewsbury, or anywhere else in Central Mass back in the 1980s for $80,000 or $90,000 may have a gain that stretches past the exclusion. The $500,000 ceiling still covers many of them, but not all.

Surviving spouses can generally still use the $500,000 exclusion if the sale happens within a certain window after the spouse's death. Timing matters, and so do the basis rules that can apply. Talk to an accountant and an estate attorney before you list.

Inherited property usually gets a step-up in basis to the value at the date of death. That often means far less gain than people expect, sometimes almost none if you sell soon after. But check with a professional to confirm how it applies to your situation.

Rental and investment properties are a different world entirely. The primary residence exclusion does not apply. Depreciation recapture comes into play. A 1031 exchange can defer gain into another property, but strict deadlines start the day you close. Get a real estate agent, a tax attorney, and a CPA involved before you go under agreement, not after.

"Do not plan around a law that does not yet exist."

There are bills in Congress that would change the exclusion amounts or index them to inflation. None of them have passed. The rules right now are still $250,000 and $500,000.

What to do this week

Do the rough math. Take your purchase price, add what you have spent on real improvements, and compare that to what your home would sell for today. Subtract estimated selling costs. If the number left over is anywhere close to your exclusion amount, call your accountant before you list, not after. If the home is a rental, an inherited property, a second home, or you have lost a spouse, go straight to a professional before you do anything else.

If you want to talk through the real estate side of this before you get to that call, feel free to reach out. I am happy to walk through what I know and be honest about where your accountant or attorney needs to take over.

New posts by email

Want the next one in your inbox?

Or call Annie with a question · (508) 365-7036
Annie Oakman
Media Realty · (508) 365-7036
Privacy policyTerms of useDo not sell or share my informationAccessibility statementFair housing notice
Annie Oakman is a licensed real estate agent with Media Realty, MA: 9559706 / CT: RES.0827695. Market numbers come from MLS records and are believed accurate but not guaranteed. Nothing on this site is an appraisal or a promise of value. If your home is already listed with another broker, this is not a solicitation.
© 2026 Annie Oakman · Media RealtyEQUAL HOUSING OPPORTUNITY