<

Capital Gains Tax on Home Sale in Massachusetts

Capital Gains Tax on Home Sale in Massachusetts

Selling a home in Massachusetts may result in capital gains tax if you sell the property for more than your adjusted basis.

However, many homeowners qualify for a federal exclusion that can significantly reduce or eliminate taxable gain.

After federal rules are applied, any remaining gain may be subject to Massachusetts state tax.

You can feel reassured knowing that most homeowners who meet the primary residence requirements often owe little or no tax after applying the federal exclusion.

How Capital Gain Is Calculated

Capital gain is the profit from your home sale. It is calculated as:

Save 10% on TurboTax Electronic Tax Filing!
Get this offer and save 10% on TurboTax Electronic Tax Filing!

Sale price
minus
Adjusted basis

Your adjusted basis generally includes:

• Original purchase price

• Major improvements

• Certain closing costs

From the sale price, you may subtract:

• Real estate commissions

• Attorney fees

• Transfer taxes and selling expenses

Only the profit is potentially taxable.

Federal Home Sale Exclusion

If the home was your primary residence, you may qualify for the federal home sale exclusion.

To qualify, you must:

• Have owned the home for at least two years

• Have lived in the home as your primary residence for at least two of the last five years

If you qualify:

• Single filers can exclude up to $250,000 of gain

• Married couples filing jointly can exclude up to $500,000 of gain

Example:
You purchased your Massachusetts home for $450,000 and sold it for $800,000. You made $40,000 in improvements and paid $50,000 in selling costs.

Your gain is $260,000. If you are married filing jointly, you may exclude the full $260,000 and owe no federal capital gains tax.

If your gain exceeds the exclusion amount, the excess is taxable federally.

Federal Capital Gains Tax Rates

If part of your gain is taxable, it is generally taxed at long-term capital gains rates if you owned the home for more than one year.

Federal long-term capital gains rates are typically:

• 0%

• 15%

• 20%

Higher-income taxpayers may also owe a 3.8% Net Investment Income Tax.

Massachusetts State Tax Treatment

Massachusetts does not have a separate capital gains tax system. Gains are included in your Massachusetts taxable income.

In general:

• Long-term gains (assets held more than one year) are taxed at 5%

• Short-term gains (held one year or less) are taxed at 8.5%

If your taxable income exceeds certain high-income thresholds, an additional surtax may apply.

Any taxable gain remaining after the federal exclusion is added to your Massachusetts income and taxed at the applicable rate.

What If It’s Not Your Primary Residence?

If the home was a rental, vacation property, or second home:

• The federal home sale exclusion generally does not apply

• The full gain may be taxable federally

• Massachusetts taxes the gain at the appropriate state rate

If the property was rented, depreciation recapture may apply federally.

How to Reduce Capital Gains Tax

You may reduce taxable gain by:

• Keeping records of all improvements

• Subtracting eligible selling expenses

• Meeting the two-year ownership and residency tests

• Selling in a lower-income year

Accurate documentation can significantly reduce taxable gain.

💻 Electronic Filing Recommendation

E-filing after a home sale is recommended:

• Automatic gain calculations

• Built-in home sale exclusion checks

• Proper Schedule D and Form 8949 preparation

• Integration with Massachusetts tax forms

• Reduced math errors

Tax software helps ensure both federal and state reporting is accurate.

Final Thoughts

Capital gains tax on a home sale in Massachusetts depends on how much profit you make and whether the home qualifies as your primary residence.

Many homeowners can exclude a substantial portion of their gain at the federal level. Any remaining taxable gain is included in Massachusetts income and taxed at the state rate.

Save 10% on TurboTax Electronic Tax Filing!
Take advantage of this offer and save 10% on TurboTax Electronic Tax Filing!