Maryland Capital Gains Tax
Figures verified December 1, 2026 against Comptroller of Maryland, Form MW506NRS: withholding on sales of real property by nonresidents (2026) · Update log
Short answer
Maryland taxes capital gains as ordinary income at 2% to 6.5%, plus county income tax of 2.25% to 3.3%, plus a 2% surtax on the gain when federal adjusted gross income is over $350,000. For a Montgomery County resident with an $80,000 salary, a $100,000 gain costs about $8,363: $5,163 state tax and $3,200 county tax.
Inherited property steps up to its value on the date of death, so only growth after the death is taxed. Maryland's inheritance tax (10% for nieces, nephews, cousins and friends) and estate tax (over $5 million) are separate taxes on the value at death. When an heir who lives outside Maryland sells a Maryland house, 8.75% of the payment is withheld at closing unless the Comptroller approves a lower amount.
Free tool
Maryland capital gains tax calculator
State and federal tax on a long-term gain (an asset held more than a year) for 2026. Inherited property always counts as long-term, and its basis is its value on the date of death. Amounts like 450k or 1.2m work.
Maryland capital gains tax rates (2026)
Taxed as ordinary income, plus a 2% surtax on gains at higher incomes and county tax. These are Maryland's 2026 income tax brackets, by taxable income. A gain is added on top of your other income, so it can push part of it into a higher bracket.
| Rate | Single | Married, joint | Head of household |
|---|---|---|---|
| 2% | Up to $1,000 | Up to $1,000 | Up to $1,000 |
| 3% | $1,001 to $2,000 | $1,001 to $2,000 | $1,001 to $2,000 |
| 4% | $2,001 to $3,000 | $2,001 to $3,000 | $2,001 to $3,000 |
| 4.75% | $3,001 to $100,000 | $3,001 to $150,000 | $3,001 to $150,000 |
| 5% | $100,001 to $125,000 | $150,001 to $175,000 | $150,001 to $175,000 |
| 5.25% | $125,001 to $150,000 | $175,001 to $225,000 | $175,001 to $225,000 |
| 5.5% | $150,001 to $250,000 | $225,001 to $300,000 | $225,001 to $300,000 |
| 5.75% | $250,001 to $500,000 | $300,001 to $600,000 | $300,001 to $600,000 |
| 6.25% | $500,001 to $1,000,000 | $600,001 to $1,200,000 | $600,001 to $1,200,000 |
| 6.5% | Over $1,000,000 | Over $1,200,000 | Over $1,200,000 |
Every Maryland county and Baltimore City adds a local income tax of 2.25% to 3.3% for 2026 on the same taxable income, gains included. Pick your county in the calculator. Nonresidents pay a 2.25% special nonresident tax instead.
What a gain costs in Maryland
| Long-term gain | Maryland tax | With Montgomery County tax |
|---|---|---|
| $50,000 | $2,463 (4.93%) | $4,063 (8.13%) |
| $100,000 | $5,163 (5.16%) | $8,363 (8.36%) |
| $250,000 | $13,613 (5.45%) | $21,613 (8.65%) |
| $1,000,000 | $79,838 (7.98%) | $111,838 (11.18%) |
Single filer with $80,000 of other taxable income, 2026 rates, state tax only.
How Maryland taxes a gain
Maryland starts from federal adjusted gross income, so a capital gain is taxed at the same rates as wages, in three layers:
- State tax, 2% to 6.5%. Most income from $3,000 to $100,000 ($150,000 for joint filers and heads of household) is taxed at 4.75%. The 2025 budget law added a 6.25% bracket over $500,000 ($600,000 joint) and 6.5% over $1 million ($1.2 million joint).
- County tax, 2.25% to 3.3% of the same taxable income, set by the county or Baltimore City where you live. Most large counties charge 3.2% for 2026; Worcester is lowest at 2.25%, and Dorchester and Kent are highest at 3.3%. Anne Arundel and Frederick use income-based rates.
- Capital gains surtax, 2% of net capital gain, from 2025, when federal adjusted gross income is over $350,000, whatever the filing status. It's reported on Form 502CG.
For 2025 and later the standard deduction is $3,350 for single filers and $6,700 for joint filers and heads of household, rising with inflation.
What the 2% surtax doesn't cover
Technical Bulletin 58 lists the exceptions. The ones that matter to most families:
- Your primary residence, if it's a house, townhome, row home, condominium or co-op unit and sells for less than $1.5 million.
- Gains inside a 401(k), 403(b), 457(b), IRA, Roth IRA or other retirement plan.
- Land under a conservation, agricultural or forest preservation easement, and some farm livestock.
An inherited house that was the parent's home, not the heir's, doesn't fit the primary residence exception, so the surtax can apply to its gain if the heir's income is over $350,000. With the stepped-up basis, that gain is usually small.
Selling a house in Maryland
The gain on a Maryland house or land is income at the state and county rates above. Nonresidents pay Maryland tax on gains from Maryland real estate, plus a 2.25% special nonresident tax in place of county tax. Federally, someone who owned and lived in the home for two of the last five years can exclude $250,000 of gain ($500,000 for a married couple), and Maryland follows the federal figure.
Withholding for out-of-state sellers. When a nonresident individual, estate or trust sells Maryland real estate, the settlement agent withholds 8.75% of the seller's total payment (the price minus the mortgage payoff, commission and other selling costs) on Form MW506NRS. That is often far more than the tax on an inherited house sold near its date-of-death value. Before closing, the seller can apply on Form MW506AE for a certificate of full or partial exemption, using the date-of-death value and an appraisal as the cost.
If the full amount was withheld, a nonresident can ask for a tentative refund no earlier than 60 days after the deed is recorded and by December 1 of the year of sale, unless the price was over $1.5 million; either way they file a Maryland nonresident return (Form 505) for the year.
Maryland also charges state and county transfer taxes and a recordation tax when the deed is recorded. See Maryland transfer and recordation tax.
Maryland inheritance and estate tax are different taxes
Maryland is the only state with both an inheritance tax and an estate tax. Both are on the value at the date of death, whether or not anything is sold. Capital gains tax comes later, only on growth after the death.
- Inheritance tax, 10%: due from nieces, nephews, aunts, uncles, cousins and friends on their whole share if it's over $1,000. A spouse, children and other descendants, parents, grandparents, brothers and sisters are exempt. It's paid to the county Register of Wills.
- Estate tax, 16%: on the part of an estate over $5 million, filed on Form MET-1.
See Maryland inheritance and estate tax and the Maryland inheritance tax calculator.
Selling inherited property in Maryland
Maryland follows the federal stepped-up basis: inherited property is taxed only on the gain after the date of death, and sold soon after the death it often has little or no gain once selling costs are counted.
Who pays depends on who sells. If the estate sells and keeps the money, it reports the gain on Maryland's fiduciary return, Form 504; an estate with federal taxable income over $350,000 also owes the 2% surtax (Form 504CG). If the heirs sell after the property is distributed, each reports their share on Form 502, or Form 505 if they live elsewhere.
A niece, nephew or friend may owe both taxes: 10% inheritance tax on the value received, and later income tax on any gain after the death. They don't overlap, because the inheritance tax is on the date-of-death value and the gain is only the growth after it.
Work out the gain on an inherited house or portfolio, with the federal tax and the step-up's savings, in the inherited property capital gains calculator. How the date-of-death value is set and documented: stepped-up basis. For the taxes on the estate itself, see Maryland estate and inheritance tax.
Federal tax on top
Maryland residents also pay federal tax on a long-term gain: 0% up to $49,450 of taxable income for a single filer ($98,900 joint), 15% up to $545,500 ($613,700 joint) and 20% above, plus 3.8% net investment income tax once modified AGI passes $200,000 ($250,000 joint). The calculator above adds both.
Optional: get help filing
Get a flat-fee quote for the estate's tax returns
The final Form 1040, the estate's Form 1041 and any state return are the parts executors most often hand off. Leave your email and the rough estate size, and a CPA or Enrolled Agent who prepares estate returns will reply with a fixed price. Free, and no obligation.
Capital gains tax in other states
California · Washington · Florida · New York · Missouri · Texas · Illinois · Massachusetts · New Jersey · Oregon · Michigan · North Carolina · Ohio · Wisconsin · Arizona · Georgia · Minnesota · Virginia · Indiana · Tennessee · South Carolina · Idaho · Utah · Arkansas · Iowa · Maine · Nevada · New Hampshire · Hawaii · Alabama · Montana · Oklahoma · Kansas · Kentucky · Nebraska · Pennsylvania · Delaware · Louisiana · New Mexico · District of Columbia · Colorado · Connecticut · Rhode Island · Vermont · Mississippi · West Virginia · North Dakota · South Dakota · Wyoming · Alaska
Or compare all 50 states and DC in the capital gains tax by state table.
Frequently asked questions
What is the capital gains tax rate in Maryland?
Maryland taxes gains as ordinary income: 2% to 6.5% state tax, plus 2.25% to 3.3% county tax, plus a 2% surtax on net capital gain when federal adjusted gross income is over $350,000. Most residents pay about 4.75% to 5.75% state tax plus 3.2% county tax.
How much is Maryland capital gains tax on $100,000?
About $8,363 for a Montgomery County resident filing single with an $80,000 salary: $5,163 state tax and $3,200 county tax. With income over $350,000, add the 2% surtax, $2,000 more. Federal tax comes on top.
Does the Maryland 2% capital gains surtax apply to selling a home?
Not to your primary residence if it sells for less than $1.5 million. It can apply to a second home, a rental or an inherited house that wasn't your own home, but only if your federal adjusted gross income is over $350,000.
Do nonresidents pay Maryland tax when selling an inherited house?
Yes, on the gain after the date of death, plus a 2.25% special nonresident tax. At closing 8.75% of the payment is withheld unless the Comptroller approves a lower amount on Form MW506AE, which uses the date-of-death value as the cost.
Do you pay Maryland capital gains tax on inherited property?
Only on the gain after the date of death, because the basis steps up to the value then. Maryland inheritance tax (10% for more distant heirs) and estate tax (over $5 million) are separate.
Sources
- 1.Comptroller of Maryland, Form MW506NRS: withholding on sales of real property by nonresidents (2026)marylandcomptroller.gov
- 2.Comptroller of Maryland, Form MW506AE: application for certificate of full or partial exemption (2026)marylandcomptroller.gov
- 3.IRS, Topic 409: capital gains and lossesirs.gov
- 4.Comptroller of Maryland, Tax Alert: changes to deductions and to state and local income tax rates from the 2025 session (revised Dec 22, 2025)marylandcomptroller.gov
- 5.Comptroller of Maryland, Technical Bulletin 58: Maryland taxation of individual capital gain incomemarylandcomptroller.gov
- 6.Comptroller of Maryland, Withholding Tax Facts 2026 (2026 county rates)marylandcomptroller.gov
This information is provided for educational purposes only and should not be considered legal or tax advice. Consult a qualified tax professional for guidance specific to your situation.