Massachusetts Capital Gains Tax vs. Federal Capital Gains Tax on a Home Sale

by | Sep 29, 2026

Selling your home in Massachusetts means potentially dealing with two separate tax bills — not one. Understanding capital gains tax on a Massachusetts home sale from both the state and federal levels is one of the most important financial steps you can take before closing.

Do You Pay Both Massachusetts and Federal Capital Gains Tax When You Sell a Home?

The short answer is that most home sellers in Massachusetts face a dual tax obligation when they profit from a sale. The IRS collects its share at the federal level, and the Massachusetts Department of Revenue collects its own separate tax at the state level. These are entirely different systems, calculated differently, and paid through different filings.

Many sellers are surprised to learn that paying federal tax does not satisfy your state obligation — and vice versa. Both apply to the same gain, which is the profit you made after subtracting your cost basis from your sale price.

What Is a Capital Gain on a Home Sale?

A capital gain is the profit left over after you subtract what you originally paid for the home — plus certain improvements and selling costs — from the final sale price. If you bought a home in Haverhill, MA for $250,000 and sold it for $450,000, the starting point for your gain calculation is that $200,000 difference, before any deductions.

Both the IRS and Massachusetts use this same basic starting point. They differ in how they define rates, holding periods, and allowed exclusions.

Who Collects Which Tax?

The IRS handles federal capital gains tax through your annual federal income tax return. Massachusetts collects its tax through the state income tax return filed with the Department of Revenue. If you live in Massachusetts and sell a Massachusetts property, both agencies expect a filing.

If you sold a vacation property or rental in another state, the rules shift — but for a primary residence in Massachusetts, both layers of tax are typically in play.

How the Primary Residence Exclusion Fits In

Before calculating your tax, it helps to know that both systems recognize the primary residence exclusion. Under federal law, single filers can exclude up to $250,000 of gain, and married couples filing jointly can exclude up to $500,000 — provided they meet the ownership and use tests. Massachusetts follows similar exclusion rules for state purposes.

How Is the Massachusetts Capital Gains Rate Different From the IRS Rate?

This is where the two systems diverge most sharply — and where many sellers underestimate what they owe. The federal and Massachusetts rates are structured very differently, which significantly affects your total tax picture.

The Federal Capital Gains Rate Structure

The IRS divides gains into two categories based on how long you owned the property.

If you owned the home for one year or less, the gain is considered short-term and taxed as ordinary income. Depending on your tax bracket, that rate can range from 10% to 37%.

If you owned the home for more than one year, the gain is considered long-term. Federal long-term capital gains rates are 0%, 15%, or 20% depending on your taxable income. Higher earners may also owe an additional 3.8% net investment income tax, which applies to certain passive income — including gains from property sales.

The Massachusetts Capital Gains Rate Structure

Massachusetts takes a simpler but sometimes harsher approach. The state charges a flat rate on most long-term real estate capital gains. As of the most recent guidance available, Massachusetts applies a 5% rate on long-term gains from real estate held for more than one year.

For property held one year or less, Massachusetts treats the gain as short-term and taxes it at a higher rate — historically around 12%. Sellers should confirm the current rate with a tax professional since rates can change with legislation.

Why the Flat State Rate Matters

The federal system rewards certain income levels with a 0% long-term rate, so a seller with modest income might owe nothing federally on a long-term gain. But in Massachusetts, that same seller still owes the flat state rate on any gain above the exclusion. The state does not have a zero-percent tier the way the IRS does.

What Is the Total Tax Hit a Massachusetts Home Seller Could Face?

Looking at both taxes side by side gives you the clearest sense of what selling could actually cost. The combined tax rate depends on your filing status, income, how long you owned the property, and whether any exclusions apply.

A Practical Way to Think About It

Imagine a married couple in Haverhill, MA who owned their home for eight years, bought it for $300,000, and sold it for $700,000. Their gross gain is $400,000. After the $500,000 married filing jointly exclusion, their taxable gain is zero. No federal or state tax applies in that scenario.

Now change the numbers slightly. Same couple, but the home sold for $900,000. Their gross gain is $600,000. After the $500,000 exclusion, they have a $100,000 taxable gain. Federally, at a 15% long-term rate, they owe $15,000. At Massachusetts’ flat rate of 5%, they owe another $5,000 to the state. Their combined tax bill is $20,000 on that $100,000 gain.

This same scenario plays out for homeowners across Massachusetts — whether they are selling in Burlington, Essex, or anywhere else in the state — because the state rate applies uniformly regardless of location.

Sellers Who Do Not Qualify for the Exclusion

Some sellers do not meet the ownership and use requirements for the exclusion. This includes people who sold a second home, inherited property they never lived in, or owned the home for less than two of the last five years. In those cases, the full gain is taxable — and both the federal and state rates apply from the first dollar.

Working With a Tax Professional

The numbers above illustrate how the two systems interact — they are not tax advice. Every seller’s situation involves specific details that only a licensed CPA or tax attorney can evaluate accurately. We always encourage sellers to consult a professional before making any final decisions about their sale, so they walk into closing with a complete picture of Massachusetts capital gains tax on their home sale and no surprises afterward.

Frequently Asked Questions

Does Massachusetts charge capital gains tax on top of federal tax, or is it one combined system?

Massachusetts and the federal government each run their own separate tax systems. A home seller in Massachusetts files two different returns and potentially pays two different tax bills on the same gain. There is no shared system or combined filing between the IRS and the Massachusetts Department of Revenue.

What happens if my home sale gain is fully covered by the federal exclusion but still taxable in Massachusetts?

The exclusion rules at the federal and state level are generally aligned — so if your gain is fully excluded for federal purposes, it is typically also excluded for Massachusetts purposes. However, the specific facts of your sale matter, and a tax professional can confirm whether your situation qualifies under both sets of rules.

How does a cash offer account for my capital gains tax situation?

We do not calculate your personal tax liability as part of our offer process. Our cash offer reflects the value we place on the property itself. We always recommend that sellers review their expected tax situation with a qualified tax professional so they have a complete picture of what they will keep after a sale.

Selling your home is one of the largest financial decisions you will make — and understanding the full scope of capital gains tax on a Massachusetts home sale from both the state and federal side helps you walk into that decision with clear eyes.

Get One-on-One Guidance

Contact us below or call (978) 228-1068 to speak with us about selling your home fast.

  • This field is for validation purposes and should be left unchanged.
Elie Deglaoui - Author

Author

Elie Deglaoui

Elie is our office admin who handles all our day-to-day tasks and makes sure we always stay on track. He brings his love of music and sports into the office everyday to always liven up the environment. His outgoing personality makes it easy and fun for him to talk to homeowners, homebuyers, and everyone in between.