Massachusetts · Tax year 2026

Massachusetts Capital Gains Tax Calculator

Massachusetts taxes long-term capital gains at 5% and short-term at 8.5% — a 3.5-point penalty for selling early, stacked on top of the federal one.

You
The sale
State

How Massachusetts taxes a capital gain

Statutory authority: Mass. Gen. Laws ch. 62 § 4; Mass. Const. Amend. Art. CXXI (Fair Share surtax)

Massachusetts taxes income in classes, not on a ladder

Almost every other state computes one figure of taxable income and runs it up a rate ladder. Massachusetts does not. It sorts income into separate CLASSES and taxes each on its own terms, which is why a single "Massachusetts rate" tells you very little about what a sale will cost.

For capital gains the practical shape is: long-term gains ride the ordinary 5% rate, short-term gains are taxed in their own class at 8.5%, and long-term gains on collectibles or pre-1996 installment sales are taxed at 12%. That last class is not collectibles alone, which is a detail most summaries drop.

The holding-period penalty is 3.5 points, on top of the federal one

This is the number worth carrying away. Selling at eleven months rather than thirteen costs a Massachusetts resident an extra 3.5 percentage points of state tax on the whole gain — 8.5% instead of 5% — and that sits on top of a federal penalty that is far larger still.

Federally, the same early sale moves the gain from the 0/15/20% ladder to ordinary rates reaching 37%. Stack the two and a Massachusetts taxpayer in a high bracket can pay well over twenty points more for selling two months early, on an identical asset at an identical price.

It also compounds a subtler effect explained on the main guide: a short-term gain has no preferential rate to point at, so its true cost is easy to understate. The effective-rate section shows the same taxpayer's bill stated two ways, and the gap there — over ten points — is exactly this problem seen from the federal side. Massachusetts adds a state layer to it.

The 12% class: collectibles or pre-1996 installment sales

Massachusetts taxes long-term gains on collectibles or pre-1996 installment sales at 12% — more than double the 5% that applies to other long-term gains. The Department’s own worksheet, Form 2-ES line 2b, names both, and summaries that describe this as the “collectibles rate” are leaving out half of what it covers.

Federally, collectibles are taxed at a maximum of 28% rather than the usual 20% ceiling, so this is one of the few situations where both governments treat an asset class less favourably at once. If you are selling art, coins, or precious metals as a Massachusetts resident, neither the standard federal long-term rate nor the standard state rate is the one that applies to you.

The 4% Fair Share surtax applies above $1,107,750

A 4% surtax applies to taxable income above an annually-indexed threshold, taking a long-term gain to 9% and a short-term gain to 12.5% above that line. For tax year 2026 the threshold is $1,107,750, read from the Department of Revenue’s own 2026 Form 2-ES.

Two details decide whether it applies to you, and both are easy to get wrong. The first is the base: it is measured on Massachusetts taxable income, not federal adjusted gross income. The second is that the base is every rate class added together — Form 2-ES line 3 adds the 5%, 8.5% and 12% lines before subtracting the threshold. A taxpayer with $700,000 of salary and $500,000 of long-term gain is over the line even though neither figure approaches it alone.

This calculator carried the surtax as uncomputable for three sessions rather than use a figure from a secondary source. Two amounts circulated — $1,107,750 and $1,053,750 — and the lower one turned out to be the 2024 threshold being republished as current, not a genuine disagreement. The series runs $1,000,000 for 2023, $1,053,750 for 2024, $1,083,150 for 2025 and $1,107,750 for 2026. It is now applied, from the primary document.

Massachusetts follows the federal home-sale exclusion

Massachusetts conforms to the federal Section 121 exclusion, so the $250,000 of gain a single filer can exclude on a main home — $500,000 on a joint return — is excluded for state purposes as well. Gain removed federally never reaches the Massachusetts calculation.

Given how much of the state's household wealth sits in appreciated housing, this is often the single largest item on a Massachusetts return that involves a sale. The exclusion is statutory and has never been indexed, so in the Boston market a couple can exceed $500,000 of gain on an ordinary family home, and the excess is taxed as a straightforward long-term gain at 5%.

A worked Massachusetts example

Every figure below is computed by the same engine that powers the calculator above, at the moment this page was built — not typed in by hand. When the tax-year data is updated, this example updates with it.

Sold at 366 days — long-term

A single Massachusetts filer earning $120,000 sells shares for a $200,000 gain, having held them just over a year. The gain is long-term in both systems.

Taxable income after deduction
$303,900
Taxable gain
$200,000
Tax owed without the sale
$17,570
Tax the sale added
$34,560
of which net investment income tax
$4,560
Total federal tax
$52,130
Massachusetts state tax
$10,000
Effective rate on the gain
17.28%

Massachusetts takes 5%. Federally the gain sits on the preferential ladder. Now compare the identical sale two days earlier.

Caveats on this example (1)
  • Net investment income was derived from capital gains and qualified dividends only. Interest, non-qualified dividends, rents, royalties and passive business income inside ordinaryIncome are also net investment income under IRC 1411(c) and are not counted here.
Show the working — 13 steps, each with its citation
  1. Net short-term capital gain or loss for the year$0Short-term / long-term nettingIRC 1222; IRS Pub. 550

    Assets held one year or less. Taxed at ordinary rates if a net gain.

  2. Net long-term capital gain or loss for the year$200,000Short-term / long-term nettingIRC 1222; IRS Pub. 550

    Assets held more than one year. Eligible for the 0/15/20% rates.

  3. Standard deduction-$16,100Deduction from adjusted gross incomeRev. Proc. 2025-32 4.14(1) (IRC 63(c)(2))

    Adjusted gross income of $320,000 less $16,100.

  4. Taxable income$303,900Taxable incomeIRC 63(a)

    The figure the rate tables and the capital gain ceilings are both measured against.

  5. Ordinary income taxed at 10%$1,240Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $12,400 of taxable income between $0 and $12,400.

  6. Ordinary income taxed at 12%$4,560Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $38,000 of taxable income between $12,400 and $50,400.

  7. Ordinary income taxed at 22%$11,770Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $53,500 of taxable income between $50,400 and $103,900.

  8. Ordinary income stacked below the long-term gain$103,900LTCG bracket stackingIRC 1(h); Schedule D Tax Worksheet, Form 1040 instructions

    Long-term gain is taxed by reference to where it sits ON TOP of $103,900 of other taxable income, not from the bottom of the rate table.

  9. Long-term gain taxed at 15%$30,000LTCG bracket stackingRev. Proc. 2025-32 4.03 (IRC 1(h), 1(j)(5))

    Gain between the $49,450 zero-rate ceiling and the $545,500 15% ceiling.

  10. Net investment income tax threshold$200,000IRC 1411 thresholdIRC 1411(a)-(b); 26 C.F.R. 1.1411-2

    Modified AGI of $320,000 against the $200,000 threshold for a single filer. This threshold is statutory and is not adjusted for inflation.

  11. Net investment income tax at 3.8%$4,560Net investment income taxIRC 1411(a)-(b); 26 C.F.R. 1.1411-2

    3.8% of $120,000, the lesser of net investment income ($200,000) and the amount by which modified AGI exceeds the threshold ($120,000). Here the binding figure is the excess of modified AGI over the threshold.

  12. Massachusetts tax on long-term gain at 5%$10,000State class-based capital gains rateMA DOR 2026 Form 2-ES Part 1 (class rates and surtax base); Mass. Gen. Laws ch. 62 s 4

    Long-term gains ride the ordinary rate.

  13. Total tax$62,130Sum of all tax stepsRev. Proc. 2025-32 (I.R.B. 2025-45)

    $62,130 on $320,000 of total income, an effective rate of 19.42%.

The identical gain, sold at 364 days — short-term

Same filer, same income, same $200,000 gain, same asset. The only difference is that the sale happened two days before the one-year anniversary.

Taxable income after deduction
$303,900
Taxable gain
$200,000
Tax owed without the sale
$17,570
Tax the sale added
$62,124.25
of which net investment income tax
$4,560
Total federal tax
$79,694.25
Massachusetts state tax
$17,000
Effective rate on the gain
31.06%

Massachusetts now takes 8.5% instead of 5% — the 3.5-point spread — and federally the gain has left the preferential ladder entirely, taxed as ordinary income. Two days of holding period, and both bills move at once.

Caveats on this example (1)
  • Net investment income was derived from capital gains and qualified dividends only. Interest, non-qualified dividends, rents, royalties and passive business income inside ordinaryIncome are also net investment income under IRC 1411(c) and are not counted here.
Show the working — 15 steps, each with its citation
  1. Net short-term capital gain or loss for the year$200,000Short-term / long-term nettingIRC 1222; IRS Pub. 550

    Assets held one year or less. Taxed at ordinary rates if a net gain.

  2. Net long-term capital gain or loss for the year$0Short-term / long-term nettingIRC 1222; IRS Pub. 550

    Assets held more than one year. Eligible for the 0/15/20% rates.

  3. Short-term gain added to ordinary income$200,000STCG at ordinary ratesIRC 1222(5); IRS Pub. 550

    Short-term capital gain has no preferential rate.

  4. Standard deduction-$16,100Deduction from adjusted gross incomeRev. Proc. 2025-32 4.14(1) (IRC 63(c)(2))

    Adjusted gross income of $320,000 less $16,100.

  5. Taxable income$303,900Taxable incomeIRC 63(a)

    The figure the rate tables and the capital gain ceilings are both measured against.

  6. Ordinary income taxed at 10%$1,240Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $12,400 of taxable income between $0 and $12,400.

  7. Ordinary income taxed at 12%$4,560Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $38,000 of taxable income between $12,400 and $50,400.

  8. Ordinary income taxed at 22%$12,166Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $55,300 of taxable income between $50,400 and $105,700.

  9. Ordinary income taxed at 24%$23,058Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $96,075 of taxable income between $105,700 and $201,775.

  10. Ordinary income taxed at 32%$17,424Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $54,450 of taxable income between $201,775 and $256,225.

  11. Ordinary income taxed at 35%$16,686.25Ordinary income tax bracketsRev. Proc. 2025-32 4.01 (IRC 1(j)(2))

    $47,675 of taxable income between $256,225 and $303,900.

  12. Net investment income tax threshold$200,000IRC 1411 thresholdIRC 1411(a)-(b); 26 C.F.R. 1.1411-2

    Modified AGI of $320,000 against the $200,000 threshold for a single filer. This threshold is statutory and is not adjusted for inflation.

  13. Net investment income tax at 3.8%$4,560Net investment income taxIRC 1411(a)-(b); 26 C.F.R. 1.1411-2

    3.8% of $120,000, the lesser of net investment income ($200,000) and the amount by which modified AGI exceeds the threshold ($120,000). Here the binding figure is the excess of modified AGI over the threshold.

  14. Massachusetts tax on short-term gain at 8.5%$17,000State class-based capital gains rateMA DOR 2026 Form 2-ES Part 1 (class rates and surtax base); Mass. Gen. Laws ch. 62 s 4

    Short-term gains are taxed in their own class at a higher rate.

  15. Total tax$96,694.25Sum of all tax stepsRev. Proc. 2025-32 (I.R.B. 2025-45)

    $96,694.25 on $320,000 of total income, an effective rate of 30.22%.

What this calculator does not cover for Massachusetts

The Massachusetts figure stacks your gain on your federal ordinary taxable income. Massachusetts computes its own taxable income with its own additions and subtractions, which are not modelled here — so treat the state number as a close approximation for a straightforward wage-and-sale situation, and as a rough one if your return carries significant state adjustments.

Full-year residency is assumed throughout. Part-year residents, non-residents, and gains sourced to property in another state all turn on rules this calculator does not model. The complete list of what is in and out of scope is on the methodology page.

Other states

See the full 2026 capital gains guide for the federal rules that apply wherever you live — the rate ladder, the net investment income tax, the home-sale exclusion and depreciation recapture — plus every state we currently cover.