If you've searched "Maryland exit tax," you've likely just gotten an unpleasant surprise at a real estate closing: a large chunk of your sale proceeds withheld because you no longer live in Maryland. There is no Maryland law called an "exit tax" β the term is informal shorthand real estate agents and title companies use for Maryland's nonresident real property withholding tax, created under Β§10-912 of the Tax-General Article, Annotated Code of Maryland. It functions much like the federal FIRPTA withholding rule for foreign sellers, except it applies to any nonresident of Maryland (individual, trust, estate, or business entity) selling Maryland real estate, regardless of nationality.
This guide is a focused, deep dive on that withholding rule specifically: the exact 2026 rate, how the withholding amount is calculated, which sales are exempt, what forms are involved, and β most importantly β how this withholding reconciles with the tax you actually owe when you file your Maryland return. If you're researching Maryland's broader income tax, county tax, or estate tax rules for a full departure from the state, see our companion Moving From Maryland Tax Guide, which covers residency rules, the two-layer state + county income tax, and the separate $5 million Maryland estate tax in depth.
Despite the popular nickname, there is no Maryland statute titled "exit tax." What sellers actually encounter is a withholding requirement: when a nonresident individual or nonresident entity sells real property located in Maryland, the deed transferring ownership cannot be recorded with the Clerk of the Circuit Court (or the State Department of Assessments and Taxation) unless a portion of the sale proceeds is withheld and paid to the state at closing. This has been Maryland law since October 1, 2003, under Β§10-912 of the Tax-General Article.
The mechanism is conceptually identical to the federal FIRPTA (Foreign Investment in Real Property Tax Act) withholding that applies when a foreign person sells US real estate β money is withheld up front as a hedge against the seller skipping town without paying tax on the gain. The difference is that Maryland's rule applies to any nonresident of Maryland, including US citizens who simply live in Virginia, Pennsylvania, Florida, or any other state and happen to own Maryland real property (a former primary home, a rental property, an inherited house, a vacation property, etc.).
Because the money is withheld before you've even calculated your actual tax liability, it can feel like an extra, punitive tax on departing residents β hence "exit tax." In reality, it is a prepayment toward whatever Maryland income tax you legitimately owe on the sale, reconciled when you file your Maryland nonresident tax return for that year.
The withholding rate depends on whether the seller is an individual or a business entity, and it changed in 2025:
| Seller Type | 2026 Withholding Rate | Effective Date |
|---|---|---|
| Nonresident individual, estate, or trust | 8.75% | Sales occurring after June 30, 2025 |
| Nonresident business entity (LLC, corporation, partnership, business trust not formed/registered in Maryland) | 8.25% | Unchanged |
The individual rate rose from the long-standing 8.0% to 8.75% because Maryland's 2025 Budget Reconciliation and Financing Act (BRFA) raised the state's highest marginal income tax rate β and by statute, the nonresident individual withholding rate is defined as the sum of the lowest county income tax rate plus the highest marginal state income tax rate. The entity rate is tied to the corporate income tax rate and did not change.
Both rates appear on the current versions of Form MW506NRS (Maryland Return of Income Tax Withholding for Nonresident Sale of Real Property), Form MW506AE (exemption application), and Form MW506R (tentative refund application) for 2026.
The same 2025 legislation added an additional 2% Maryland tax on net capital gains for individuals and fiduciaries whose federal adjusted gross income exceeds $350,000. There's a carve-out: capital gains from selling a primary residence (including the land and any accessory dwelling units) for less than $1,500,000 are excluded from this extra 2%. This surtax is calculated on your actual Maryland return (via Form 502CG), not built into the withholding rate itself β but it's a reason high-income sellers of investment or second properties may owe more than the withheld amount at tax time, not less.
Also as of the 2025 changes, sellers whose sale price is $1,500,000 or more are no longer eligible to apply for the tentative early refund (Form MW506R) described later in this guide β they must wait for the annual Maryland income tax return to claim any refund.
A common misconception is that the withholding percentage is applied to the full sale price. It isn't. Maryland law defines the withholding base as the "total payment" β the total sales price minus (1) any mortgage or other lien debt being paid off at closing and (2) other seller expenses disclosed on the settlement statement (agent commissions, transfer taxes paid by the seller, etc.). The fair market value of any non-cash property received is added back in.
Form MW506NRS walks the settlement company through the calculation:
| Line | Item |
|---|---|
| a | Total sales price |
| b | Less selling expenses |
| c | Net sales price |
| d | Less debts secured by mortgages or other liens on the property |
| e | Total payment (the withholding base) |
| f | Seller's ownership percentage (if multiple owners) |
| g | Seller's share of total payment |
| h | Applicable rate: 8.75% (individual/estate/trust) or 8.25% (entity) |
| i | Maryland income tax withheld |
Assume a nonresident individual sells a Maryland rental property for $500,000, pays off a $200,000 mortgage balance at closing, and incurs $30,000 in selling expenses (agent commission, transfer/recordation taxes, title fees):
Note this $23,625 is withheld regardless of the seller's actual taxable gain on the property (sale price minus adjusted cost basis) β which is usually much lower than the total payment. That mismatch is exactly why the withholding often exceeds the real tax owed, and why the refund/reconciliation process described below matters.
One planning trap: a second mortgage or refinance taken out within 90 days of the sale is presumed to be "debt incurred in contemplation of sale" and cannot be subtracted from the sales price when calculating total payment β only pre-existing, longer-standing liens qualify.
Maryland provides several statutory exemptions from the withholding requirement. Some apply automatically if properly documented on the deed; others require filing Form MW506AE (Application for Certificate of Full or Partial Exemption) with the Comptroller at least 21 days before closing β this lead time exists because the Comptroller needs time to review and issue a certificate before settlement, and applications filed closer to closing are not guaranteed to be processed in time.
Because the exemption rules are technical and the paperwork is time-sensitive, sellers who believe they qualify should start the MW506AE process as soon as a sale is under contract β waiting until near closing risks having the exemption request processed too late.
No β and this is the most misunderstood part of the "exit tax." The amount withheld at closing is an estimated tax payment, not a final tax. Every nonresident who sells Maryland real property must still file a Maryland income tax return for the year of the sale reporting the actual gain (or loss), and the withheld amount is claimed as a credit against that liability:
If withholding exceeds the tax actually owed β which is common, since the calculation is based on the total payment amount rather than the taxable gain β the seller can request the difference back in one of two ways:
Either way, filing the Maryland return is mandatory even if the full withheld amount is refunded β skipping the return does not automatically release the money.
LLC and business-entity ownership: An LLC, corporation, partnership, or business trust is treated as a "nonresident entity" β and subject to the 8.25% withholding β if it was not formed under Maryland law, or is not registered/qualified to do business in Maryland, more than 90 days before the sale date. A Maryland-registered LLC can certify Maryland-resident-entity status to avoid withholding; an out-of-state LLC generally cannot.
Estates: Withholding for an estate depends on where the decedent was domiciled at death, not where the personal representative (executor) lives. If the decedent was domiciled in Maryland at death, the estate is a "resident fiduciary" and can sign an Affidavit of Residence (WH-AR) to avoid withholding β even if the executor now lives in another state. If the decedent was domiciled outside Maryland, the estate is a nonresident fiduciary subject to withholding, and opening an ancillary probate proceeding in a Maryland county does not change that.
Multiple owners: Each owner's residency is assessed separately. If a Maryland property is co-owned by a Maryland resident and a nonresident, withholding applies only to the nonresident's proportional share of the total payment β a separate Form MW506NRS is completed for each nonresident owner (spouses filing a joint Maryland return are the exception and can use one combined form).
CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. Learn more about our affiliate partnerships
β 4.8 verified reviews Β· 3,758 reviews
Selling Maryland real estate as a nonresident involves withholding calculations, exemption applications, and a nonresident return to claim your refund. Get matched with a CPA who handles Maryland real estate withholding cases.
β Not for simple single-state returns. Free filing is fine for straightforward W-2 situations.
Get Matched With a CPA βInterested in reaching this audience? Advertise on CountryTaxCalc β