QuantCalcQuantCalcResearch
All studiesCapital Gains Calculator

Capital Gains Tax by State for Retirees, 2026: What Selling Stock Costs in All 50 States and DC

Published 2026-10-28. Tax year 2026 (the return filed in early 2027).

How much tax does a retiree pay on a capital gain in 2026, federal and in each state?

For a couple at 67 with $40,000 of Social Security and $40,000 of IRA withdrawals, a $100,000 long-term gain in 2026 adds $6,388 of federal income tax (6.4% of the gain, partly because it makes $14,400 more of their Social Security taxable). The state adds $0 in 12 jurisdictions and up to $9,188 in Maryland; the median is $3,749. Most states tax a gain as ordinary income; several tax part of it or tax it at a lower rate, and Washington taxes only the largest gain here. Across the 12 federal cases, the federal tax ran from 5.9% to 18.4% of the gain. Missouri, which no longer taxes capital gains (RSMo 143.121), charged $0 on all of them.

Key numbers
Cases3 households × 4 gains, each in 51 jurisdictions (612 state cases)
Federal tax on a $100,000 gain (Couple, 67 and 67: $40,000 Social Security + $40,000 IRA)$6,388 (6.4%)
IRMAA surcharge it sets (2026 tiers, a year)$0
State tax on it: jurisdictions at $012
State tax on it: median / highest$3,749 / $9,188 (Maryland)
No state tax on any gain here9: Alaska, Florida, Missouri, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Wyoming
Taxed only on the $500,000 gainWashington
Federal cases where the gain made more Social Security taxable8 of 12
Federal cases where the gain raised IRMAA8 of 12

Price your own gain: the 2026 capital gains tax calculator
Free: the federal tax on a long-term gain at your income, with the NIIT.

The three retirees and the four gains

Each household is 67, on Social Security, with IRA withdrawals, and sells stock held for more than a year. The gain is the amount over the shares' cost basis. The federal side: the 0%, 15% and 20% long-term rates (Rev. Proc. 2025-32), the 3.8% net investment income tax above its thresholds (IRC §1411), and the Social Security the gain pulls into income (IRC §86). IRMAA: the Part B and Part D surcharge the year's MAGI sets (the 2026 tiers). Couples' IRA money is split evenly between the spouses.

The households
HouseholdFilingSocial SecurityIRA withdrawals
G1Single$24,000$20,000
G2Married filing jointly$40,000$40,000
G3Married filing jointly$50,000$100,000

The federal tax and IRMAA the gain adds

Federal income tax (including the NIIT) and the annual IRMAA surcharge a long-term gain adds in 2026
HouseholdGainFederal tax addedShare of the gainSocial Security made taxableIRMAA added (a year)
G1$25,000$1,7056.8%$16,900$0
G1$100,000$12,78212.8%$16,900$2,885
G1$250,000$39,28015.7%$16,900$6,355
G1$500,000$86,28017.3%$16,900$6,936
G2$25,000$1,4745.9%$14,400$0
G2$100,000$6,3886.4%$14,400$0
G2$250,000$34,16613.7%$14,400$5,770
G2$500,000$81,16616.2%$14,400$12,710
G3$25,000$3,73214.9%$0$0
G3$100,000$16,85916.9%$0$2,297
G3$250,000$44,97218.0%$0$9,240
G3$500,000$91,97218.4%$0$12,710

A gain is not taxed only at its own rate. Gains stack on top of ordinary income, so part of a gain can fall in the 0% band and the rest at 15% or 20%; the same gain raises provisional income, which can make more of the Social Security taxable at ordinary rates; and it counts in the MAGI that sets the IRMAA surcharge two years later.

The state tax on a $100,000 gain, ranked

The 15 highest state taxes on a $100,000 long-term gain, Couple, 67 and 67: $40,000 Social Security + $40,000 IRA
StateState tax addedShare of the gainFederal + IRMAA + state
1. Maryland$9,1889.2%$15,576
2. Minnesota$8,4938.5%$14,881
3. Oregon$8,1938.2%$14,581
4. Utah$7,3897.4%$13,777
5. Connecticut$7,2507.2%$13,638
6. Hawaii$6,5026.5%$12,890
7. Virginia$6,3286.3%$12,716
8. Vermont$6,1176.1%$12,505
9. New Mexico$5,7845.8%$12,172
10. Rhode Island$5,6155.6%$12,003
11. District of Columbia$5,5405.5%$11,928
12. Kansas$5,4525.5%$11,840
13. Massachusetts$5,0005.0%$11,388
14. Alabama$4,8104.8%$11,198
15. Indiana$4,7004.7%$11,088

12 jurisdictions add $0 on this gain: Alaska, Florida, Georgia, Missouri, Nevada, New Hampshire, North Dakota, South Dakota, Tennessee, Texas, Washington, Wyoming.

Every state, every gain

State income tax a long-term gain adds in 2026, by state
State$25,000, G2$100,000, G2$250,000, G2$500,000, G2$100,000, G1$100,000, G3
Alabama$1,310$4,810$10,921$21,071$4,385$4,157
Alaska$0$0$0$0$0$0
Arizona$259$1,737$4,778$9,465$1,868$2,153
Arkansas$386$1,844$4,620$9,813$1,847$1,850
California$203$4,214$17,876$41,758$6,613$7,876
Colorado$152$3,581$12,056$23,056$4,232$4,890
Connecticut$5$7,250$16,450$35,150$6,685$6,150
Delaware$492$4,534$14,258$30,758$5,479$6,004
District of Columbia$790$5,540$18,620$39,920$6,974$8,012
Florida$0$0$0$0$0$0
Georgia$0$0$6,487$18,962$1,996$1,996
Hawaii$1,214$6,502$17,377$35,502$6,877$7,243
Idaho$404$4,532$12,965$26,215$5,026$5,888
Illinois$849$4,561$11,986$24,750$4,756$4,561
Indiana$1,175$4,700$11,750$23,500$4,724$4,700
Iowa$0$1,984$8,031$17,531$2,971$2,297
Kansas$1,300$5,452$13,822$27,772$5,517$5,581
Kentucky$560$3,185$8,435$17,185$3,342$3,500
Louisiana$440$2,690$7,190$14,690$2,845$3,000
Maine$0$3,176$16,746$37,570$5,161$6,277
Maryland$1,285$9,188$21,969$54,094$8,632$10,260
Massachusetts$1,250$5,000$12,500$25,000$5,000$5,000
Michigan$561$3,749$10,124$20,749$3,999$3,749
Minnesota$1,338$8,493$19,896$45,982$7,884$7,798
Mississippi$0$2,416$8,416$18,416$3,208$2,416
Missouri$0$0$0$0$0$0
Montana$1,427$4,063$10,741$20,991$4,411$4,616
Nebraska$878$4,231$11,056$22,431$4,487$4,550
Nevada$0$0$0$0$0$0
New Hampshire$0$0$0$0$0$0
New Jersey$0$2,805$14,176$31,037$2,542$8,443
New Mexico$681$5,784$13,134$27,594$5,324$6,790
New York$350$4,201$13,803$33,150$4,861$5,731
North Carolina$998$3,990$9,975$19,950$3,990$3,990
North Dakota$0$0$1,398$4,323$199$782
Ohio$648$2,909$6,828$14,182$2,863$2,850
Oklahoma$935$4,309$11,059$22,309$4,405$4,499
Oregon$2,060$8,193$22,879$47,629$8,864$9,276
Pennsylvania$768$3,070$7,675$15,350$3,070$3,070
Rhode Island$938$5,615$16,008$30,983$4,933$5,037
South Carolina$0$2,246$6,849$14,143$2,215$3,593
South Dakota$0$0$0$0$0$0
Tennessee$0$0$0$0$0$0
Texas$0$0$0$0$0$0
Utah$1,788$7,389$14,418$25,543$6,248$5,792
Vermont$1,809$6,117$16,870$38,492$6,144$6,308
Virginia$742$6,328$14,953$29,328$6,040$5,750
Washington$0$0$0$15,540$0$0
West Virginia$1,017$4,451$11,321$22,771$4,296$4,579
Wisconsin$0$2,034$8,370$17,645$2,632$4,078
Wyoming$0$0$0$0$0$0

G1: Single, 67: $24,000 Social Security + $20,000 IRA. G2: Couple, 67 and 67: $40,000 Social Security + $40,000 IRA. G3: Couple, 67 and 67: $50,000 Social Security + $100,000 IRA. Every household-gain-state case is in the data files below.

When you sell matters as much as where. Realizing gains in a year with little other income, harvesting losses against them, or spreading a sale over December and January moves both the federal and state tax. Year-end Tax Moves prices a 2026 gain harvest on your own numbers (free: one move and your total) →

Download the data

Every case on this page, with its inputs: capital-gains-tax-by-state-retirees-2026.csv (the 12 federal cases) · capital-gains-tax-by-state-retirees-2026-states.csv (the 612 state cases) · capital-gains-tax-by-state-retirees-2026.json (both, CC0). Dollar amounts in USD; IRMAA is a year of surcharges on the 2026 tiers.

Questions

How much is capital gains tax by state for retirees in 2026?
For a couple at 67 with $40,000 of Social Security and $40,000 of IRA withdrawals, a $100,000 long-term gain adds $0 of state tax in 12 jurisdictions, a median of $3,749, and up to $9,188 in Maryland, on top of $6,388 of federal income tax.
Which states have no capital gains tax?
9 jurisdictions taxed none of the gains in this study: Alaska, Florida, Missouri, New Hampshire, Nevada, South Dakota, Tennessee, Texas, Wyoming. Washington taxed only the $500,000 gain.
How much California tax is due on a $100,000 capital gain in retirement?
For the couple above, $4,214; on $500,000, $41,758. California taxes capital gains as ordinary income.
Does Washington tax capital gains?
Washington has no income tax but a separate capital gains excise above a standard deduction: for the couple above it adds $0 on a $100,000 gain and $15,540 on $500,000.
Can a capital gain raise a retiree's Medicare premiums?
Yes. The gain counts in the MAGI that sets the IRMAA surcharge. In 8 of the 12 federal cases here the gain raised it, by up to $12,710 a year on the 2026 tiers.
Can a capital gain make Social Security taxable?
Yes. In 8 of the 12 cases the gain made more of the household's Social Security taxable, which is taxed at ordinary rates even when part of the gain itself is in the 0% band.

Method and sources

Every figure was computed by QuantCalc's open tax engines (federal 2.5.1, state 1.21.2) and the IRMAA module through the household module the free capital gains and state tax calculators run, then recomputed by the C engines behind the federal and state tax APIs from independently written requests, agreeing to the cent. "Added" is the tax on the year with the sale less the same year without it. Each state's capital gains rules and their official sources are in the state tax engine documentation; the federal sources:

What is not modelled

An estimate, not tax advice. These are computed examples for the 2026 tax year from QuantCalc's open tax engines (federal 2.5.1, state 1.21.2). Your own return depends on facts these examples do not include. Check any decision with your tax preparer before acting.

Cite this research study

QuantCalc Research (2026). Capital Gains Tax by State for Retirees (2026): The Federal, IRMAA and State Tax on Selling $25,000 to $500,000 of Stock. https://quantcalc.app/research/capital-gains-tax-by-state-retirees-2026/ (accessed <date>).

BibTeX
@misc{quantcalc2026capitalgainstaxbystateforretirees2026the,
  title  = {Capital Gains Tax by State for Retirees (2026): The Federal, IRMAA and State Tax on Selling $25,000 to $500,000 of Stock},
  author = {{QuantCalc Research}},
  year   = {2026},
  url    = {https://quantcalc.app/research/capital-gains-tax-by-state-retirees-2026/},
  note   = {Accessed <date>}
}

Machine-readable citation metadata (schema.org identifier and citation fields) is embedded in this page's JSON-LD, at the stable identifier https://quantcalc.app/research/capital-gains-tax-by-state-retirees-2026/.