DC, Maryland and Virginia Guide
Selling a $2 Million Home in DC, Maryland or Virginia
The deed taxes a seller pays in each jurisdiction, the federal home sale exclusion, Maryland's added tax on larger gains, withholding for nonresident and foreign sellers, and where a 1031 exchange fits.
The short answerSeller deed taxes differ by jurisdiction. DC charges the seller a 1.45% transfer tax on a sale of $400,000 or more. Northern Virginia sellers owe the grantor tax and two regional fees. In Maryland the contract sets who pays. An owner-occupant may exclude up to $250,000 of gain, or $500,000 on a joint return. A foreign seller faces 15% federal withholding above $1 million.
Sources: IRS, Publication 523, Selling Your Home; DC Code § 47-903; Comptroller of Maryland, Technical Bulletin 58; IRS, Publication 515.
What taxes does a seller pay at closing in DC, Maryland and Virginia?
Each jurisdiction taxes the deed differently, and each assigns the seller's share differently. In DC, the law places the transfer tax on the seller. In Northern Virginia, the law places the grantor tax and both regional fees on the seller unless the parties agree otherwise. In Maryland, the sales contract decides who pays the state and county taxes.
| Jurisdiction | Tax or fee | Rate | Who pays under the law |
|---|---|---|---|
| Washington DC | Transfer tax | 1.45% of the price on a residential sale of $400,000 or more | Seller |
| Washington DC | Recordation tax | 1.45% on a residential sale of $400,000 or more | Set by the contract |
| Maryland | State transfer tax | 0.5% | Set by the contract. For a qualifying first-time Maryland buyer, 0.25% and paid by the seller |
| Montgomery County | County transfer tax | 1% | Set by the contract |
| Montgomery County | County recordation tax | $4.45 to $11.35 per $500, in tiers | Set by the contract |
| Virginia | Grantor tax | $0.50 per $500 | Seller, unless agreed otherwise |
| Northern Virginia | Two regional transportation fees | $0.10 per $100 each | Seller, unless agreed otherwise |
| Virginia | State and local recordation tax | $0.25 per $100, plus up to one-third of that locally | Set by the contract |
Full detail, including Montgomery County's recordation tiers and the Northern Virginia localities that charge the regional fees, is in the closing tax comparison, the DC guide, the Montgomery County guide and the Virginia guide.
Sources: DC Code § 47-903; OTR, Recorder of Deeds FAQs; Code of Virginia, Title 58.1, Chapter 8; Maryland Tax-Property Code § 13-203; Montgomery County Code, Transfer Tax and Recordation Tax.
How much of the gain on a home sale is tax-free?
Up to $250,000 of gain, or $500,000 for a married couple filing jointly, when the seller meets the IRS ownership and use tests. During the five years ending on the sale date, the seller must have owned the home for at least two years and lived in it as a main home for at least two years. Gain above the exclusion is taxable.
- Gain is measured from basis. Basis generally starts with the purchase price and rises with the cost of improvements, so records of renovations matter at a sale.
- Once every two years. IRS Publication 523 generally bars the exclusion if the seller excluded gain on another home sold in the two years before this sale.
- Partial exclusions exist. A seller who misses the two-year tests because of a work move, health or certain unforeseen events may qualify for a reduced exclusion.
- Reporting. A seller who excludes all of the gain does not need to report the sale unless a Form 1099-S was issued.
Sources: IRS, Publication 523 (2025), Selling Your Home; IRS, Important tax reminders for people selling a home.
Does Maryland add a tax when a home sells for $1.5 million or more?
For higher earners, yes. Beginning with tax year 2025, Maryland imposes an additional 2% tax on net capital gains included in Maryland adjusted gross income for individuals and fiduciaries with federal adjusted gross income over $350,000. Gain on a primary residence is excluded only when the home sells for less than $1,500,000, so a $2 million main home sale does not qualify for that exclusion.
The residence exclusion covers a single-family home, townhome, row home, residential condominium unit or residential cooperative unit, with its land and any accessory dwelling unit. The tax is calculated on Maryland Form 502CG. Gain excluded under the federal home sale exclusion is not counted.
Sources: Comptroller of Maryland, Technical Bulletin 58, Maryland Taxation of Individual Capital Gain Income; Comptroller of Maryland, Tax Alert TA-13-APR-2026.
What is withheld when a nonresident sells a Maryland home?
Maryland requires income tax withholding at closing when a nonresident individual or nonresident entity sells Maryland real property, and the deed may not be recorded until it is paid. For sales after June 30, 2025, the rate is 8.75% for nonresident individuals and 8.25% for nonresident entities, collected on Form MW506NRS.
- Before closing. A seller who expects to owe less can apply for a full or partial exemption certificate on Form MW506AE.
- After closing. Nonresidents who sell for $1,500,000 or more can no longer use the tentative refund on Form MW506R. They recover any excess by filing a full Maryland return, with Form 502CG if required.
Sources: Comptroller of Maryland, Tax Alert TA-13-APR-2026; Comptroller of Maryland, Withholding Requirement.
What happens when the seller is a foreign person?
Federal law requires the buyer to withhold tax from a foreign seller under FIRPTA, the Foreign Investment in Real Property Tax Act. The general rate is 15% of the amount realized. When an individual buyer acquires the home as a residence, no withholding is required at $300,000 or less, 10% applies up to $1,000,000, and 15% applies above $1,000,000.
The buyer is the withholding agent and is liable if the tax is not withheld, which is why settlement agents ask every seller to certify whether they are a foreign person. A foreign seller can ask the IRS to reduce or eliminate withholding with Form 8288-B, filed before or at closing. The amount withheld is a prepayment against the seller's actual U.S. tax, not the tax itself.
Sources: IRS, FIRPTA Withholding; IRS, Publication 515 (2026); IRS, Instructions for Form 8288.
Can a 1031 exchange defer the tax on a home sale?
Not on a main home. Since 2018, a like-kind exchange under Internal Revenue Code section 1031 applies only to real property held for use in a trade or business or for investment. A rental house, a rental condominium or a commercial building can qualify. A primary residence, or property held mainly for resale, cannot.
The deadlines are fixed. The replacement property must be identified within 45 days after the sale and received within 180 days, or by the due date of the tax return including extensions if that is earlier. Most deferred exchanges use an exchange facilitator, arranged before the sale closes.
Sources: IRS, 2026 Instructions for Form 8824, Like-Kind Exchanges; IRS, Fact Sheet 2008-18.
What should a seller decide before listing a $2M+ home?
- Your tax position. Ask a tax professional to estimate the gain, the federal exclusion and, in Maryland, the added 2% tax before setting a price floor.
- Residency and status. Nonresident and foreign sellers should apply for withholding certificates well before closing.
- Who pays the deed taxes. In Maryland, and for recordation tax in DC and Virginia, the contract decides.
- Disclosure. DC, Maryland and Virginia each require a seller disclosure form or statement, and the rules differ.
- Records. Gather the closing statement from the purchase and invoices for improvements to support basis.
Frequently asked questions
Do I pay capital gains tax when I sell my house?
Only on gain above the exclusion, if you qualify for it. The IRS lets an owner who owned and lived in the home for two of the last five years exclude up to $250,000 of gain, or $500,000 on a joint return.
Who pays the transfer tax when selling a home in DC?
The seller. DC charges a 1.45% transfer tax on a residential sale of $400,000 or more under DC Code section 47-903. The contract sets who pays the 1.45% recordation tax.
Who pays transfer tax when selling a home in Montgomery County?
The contract decides. Maryland's 0.5% state transfer tax and the county's 1% transfer tax are negotiated, except that for a qualifying first-time Maryland buyer the state rate drops to 0.25% and the seller pays it.
Does Maryland's 2% capital gains tax apply to a home sale?
It can. For filers with federal adjusted gross income over $350,000, Maryland adds 2% on net capital gains. Gain on a primary residence is excluded only when the home sells for less than $1,500,000.
How much does Maryland withhold when a nonresident sells?
8.75% for a nonresident individual and 8.25% for a nonresident entity, for sales after June 30, 2025. The deed may not be recorded until the withholding is paid.
Can I use a 1031 exchange when I sell my primary residence?
No. Section 1031 applies only to real property held for business or investment. The federal home sale exclusion is the rule for a main home.
How much is withheld when a foreign person sells a U.S. home?
Generally 15% of the amount realized under FIRPTA. When an individual buyer will live in the home, the rate is 10% for a sale over $300,000 up to $1,000,000, and 15% above $1,000,000.
Selling a home in Washington DC, Maryland or Northern Virginia?
FORWARD at Corcoran McEnearney represents sellers of homes priced at $2 million and above across the region. Marc Cashin, Ashling McGowan, Niki Lang, Cesar Rivera and Charlotte Lee can prepare a private valuation and a net proceeds estimate for a specific home.
Talk to an AdvisorMore guides: Closing taxes in DC, Maryland and Virginia compared · Buying through a trust or LLC · How public is a home purchase · How to buy a home in Washington, DC · All Resources
Sources: IRS, Publication 523 (2025), Selling Your Home; IRS, Important tax reminders for people selling a home; IRS, FIRPTA Withholding; IRS, Publication 515 (2026); IRS, Instructions for Form 8288; IRS, 2026 Instructions for Form 8824; Comptroller of Maryland, Technical Bulletin 58 and Tax Alert TA-13-APR-2026; DC Code § 47-903; OTR, Recorder of Deeds FAQs; Code of Virginia, Title 58.1, Chapter 8; Maryland Tax-Property Code § 13-203; Montgomery County Code, Transfer Tax and Recordation Tax. Updated November 2026. General information, not tax or legal advice. Confirm with the IRS, the Comptroller of Maryland, the DC Office of Tax and Revenue, a tax professional or an attorney before acting.