Capital gains tax in Maryland (2026): selling a business, real estate or farm
The 2% capital gains surtax and its $350,000 cliff
The Budget Reconciliation and Financing Act of 2025 (Chapter 604) added Tax-General 10-105(a)(3): for tax years beginning after Dec. 31, 2024, an individual whose federal adjusted gross income exceeds $350,000 pays an additional 2% on the net capital gain included in Maryland income. Technical Bulletin 58 (Dec. 29, 2025) confirms the $350,000 line applies regardless of filing status, so a married couple gets the same threshold as a single filer, and it reaches gains passed through from partnerships, S corporations and trusts.
It works like a switch, not a bracket. Once AGI crosses $350,000, the 2% (TB-58, 2025) applies to all of the net capital gain, not just the excess. In the second and third examples, a couple's gain grows from $140,000 to $160,000 and their AGI moves from $340,000 to $360,000; Maryland tax rises by $5,140 on $20,000 more gain, most of it the surtax on the full $160,000. An installment sale or year-end timing can keep each year under it.
What is excluded from the 2% surtax
Tax-General 10-105(a)(3)(ii) and TB-58 (2025) carve out gain from:
- A primary residence sold for less than $1,500,000 (single-family home, townhome, row home, condo or co-op, with its land and accessory unit).
- Assets inside 401(k), 403(b), 457(b), IRA, Roth IRA and other retirement plans.
- Cattle, horses or breeding livestock held over 12 months, if more than 50% of the year's gross income comes from farming or ranching (the 2025 statute counts the sale itself in that test).
- Land under, or sold subject to, a conservation, agricultural or forest preservation easement.
- Business property whose cost is deductible under IRC 179, and nonprofit-owned affordable housing.
Farmland without an easement, rental buildings, business goodwill and stock are not on the list. The easement exclusion makes agricultural conservation easements worth a look for Maryland farm sellers.
Stacking it up: state, county, surtax and federal
Maryland's top state brackets for 2025 and later are 6.25% from $600,001 to $1.2 million and 6.5% above $1.2 million of joint taxable income (Tax-General 10-105). County and Baltimore City tax applies to the same income at 2.25% to 3.30% for 2026; Allegany rose to 3.20% and Kent to 3.30% this year, and Dorchester is at 3.30% (Comptroller Tax Alert, rev. Dec. 22, 2025). With the 2% surtax, the top combined Maryland rate on a large gain is about 11.8%.
In the first example a couple selling a business or property for a $2 million gain owes $234,000 to Maryland, $407,847 in federal income tax and $76,000 of net investment income tax: $717,847 in all, an effective 35.9% of the gain. Federal rates are summarized in one line: 0%, 15% or 20%, with 20% above $613,700 of joint taxable income for 2026 (Rev. Proc. 2025-32); the capital gains guide has the rest.
Nonresident sellers and settlement withholding
When a nonresident individual sells Maryland real property, the settlement agent must withhold 8.75% of the total payment; for a nonresident entity it is 8.25% (Tax-General 10-912; Tax Alert, 2025). "Total payment" means net proceeds after paying off liens and closing costs, not the gross price. The withholding rate does not include the 2% surtax, so TB-58 tells nonresidents expecting the surtax to make an extra estimated payment, and a seller whose price exceeds $1.5 million cannot request a tentative refund before filing the year-end return.
Nonresidents do not pay county tax, but Tax-General 10-106.1 imposes a special nonresident tax at the lowest county rate. Moving away removes Maryland's claim on stock gain, not on Maryland real estate. See moving before a sale.
Depreciation, 1031 exchanges and transfer taxes
Maryland decouples from federal bonus depreciation and limits Section 179 expensing to $25,000 with a $200,000 phase-out (Tax-General 10-210.1), so Maryland basis in business equipment is often higher than federal basis and the Maryland gain at sale can be lower. A 1031 exchange that defers the federal gain also defers Maryland tax, because Maryland starts from federal adjusted gross income (TB-58, 2025); see 1031 exchange.
Deeds carry a state transfer tax of 0.5% of the consideration (Tax-Property 13-203, 2026), cut to 0.25% and paid entirely by the seller on a sale to a first-time Maryland homebuyer, plus county transfer and recordation taxes that vary by county.
Estate and inheritance taxes on Maryland property
Maryland is the only state that keeps both. The estate tax applies above a $5,000,000 exclusion (Tax-General 7-309), and the inheritance tax is 10% of the clear value passing to heirs outside the exempt group; spouses, parents, grandparents, children and their descendants, their spouses and siblings are exempt (Tax-General 7-204). Heirs still get a federal basis step-up, so holding until death can erase gain that a lifetime sale would trigger. Related pages: sale of a business, rental property, Virginia and District of Columbia.
Hans studies the tax side of Maryland sales and models the surtax line, county rate and timing together. Get the Big Sale Tax Analysis.
What to know
The engine models Maryland with the 6.5% top state rate, a 3.2% county rate and the 2% surtax; your county may be higher or lower, and for incomes below $1.2 million the state bracket is lower than modeled. Splitting a sale across years to stay under $350,000 only works for modest gains and depends on the buyer paying, so an installment note should come with a down payment, a recorded deed of trust and personal guarantees. Nonresident withholding is a prepayment that the year-end return settles.
Worked example
Maryland couple, $250,000 of other income, sells a business or investment property for a $2,000,000 long-term gain. Modeled with the 6.5% top state rate, a 3.2% county rate and the 2% surtax. Couple with $200,000 of other income and a $140,000 long-term gain: federal AGI $340,000, so no surtax. Modeled at the 6.5% state and 3.2% county rates, which overstates the state bracket at this income. Same couple with a $160,000 gain: federal AGI $360,000, so the 2% applies to the whole $160,000. Same rate assumptions as ex2.
| Engine run | $2M business or property gain, 2026 | Just under the $350,000 line | Just over the line |
|---|---|---|---|
| Filing status | Married, joint | Married, joint | Married, joint |
| State | Maryland | Maryland | Maryland |
| Other income (wages, pension, interest) | $250,000 | $200,000 | $200,000 |
| Long-term capital gain | $2,000,000 | $140,000 | $160,000 |
| Federal income tax on the sale | $407,847 | $21,000 | $24,000 |
| Net investment income tax (3.8%) | $76,000 | $3,420 | $4,180 |
| State income tax on the sale | $234,000 | $13,580 | $18,720 |
| Total tax caused by the sale | $717,847 | $38,000 | $46,900 |
| Effective rate on the gain | 35.9% | 27.1% | 29.3% |
| Gain kept after these taxes | $1,282,153 | $102,000 | $113,100 |
Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.
Run your own numbers
2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.
Long-Term vs Short-Term Capital Gains (2026)
The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.
Frequently asked questions
Does Maryland tax capital gains?
What is the Maryland capital gains tax rate for 2026?
What is the Maryland capital gains surtax?
Does Maryland have capital gains tax on a primary residence?
How much is capital gains tax on real estate in Maryland?
Does Maryland tax capital gains as ordinary income?
Sources
- Md. Tax-General 10-105 (rates and 2% capital gains tax)
- Comptroller Technical Bulletin 58 (Dec. 29, 2025)
- Comptroller Tax Alert: 2025 session rate changes (rev. Dec. 22, 2025)
- Md. Tax-General 10-912 (nonresident real property withholding)
- Md. Tax-General 10-106.1 (special nonresident tax)
- Md. Tax-General 10-210.1 (depreciation decoupling)
- Md. Tax-Property 13-203 (state transfer tax)
- Md. Tax-General 7-309 (estate tax exclusion)
- Md. Tax-General 7-204 (inheritance tax rate)
- Rev. Proc. 2025-32 (2026 federal brackets)
Figures as of October 7, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
Sale of a business
Why one price becomes seven tax buckets, which pieces are ordinary income, and what an active owner can keep out of the 3.8% NIIT.
ReadRental property
How a rental sale is really taxed: the 25% depreciation layer, the losses the sale finally frees, the 3.8% tax, and why moving in first rarely helps.
ReadHome sale over the exclusion
For long-time owners whose gain beats $250,000 or $500,000: what is excluded, what is taxed, and the rules that move the line.
ReadConservation easement
Sell it, donate it or split the difference: each path taxes your farm's development rights differently.
ReadVirginia
A 5.75% rate that starts at $17,000, so spreading a sale does little for the state bill; the real Virginia levers are basis and land credits.
ReadDistrict of Columbia
DC taxes residents' gains as income up to 10.75%, cannot tax nonresident individuals, but reaches business and rental sales through its 8.25% unincorporate
ReadKnow your number before you sign.
The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.
Prefer email? Request the analysis by email.