Maryland exit tax and how to leave Maryland residency
Maryland doesn't tax you for leaving. What people call the Maryland exit tax is 8.75% withholding when a nonresident sells Maryland real estate. Here's how it works after the 2025 changes, how the 2% capital gains surtax fits in, and how to leave Maryland residency cleanly.
Maryland has no true exit tax. What people call the Maryland exit tax is the income tax Maryland withholds when a nonresident sells Maryland real estate: 8.75% of the total payment for individuals and 8.25% for entities, for sales after June 30, 2025.
Does Maryland have an exit tax?
No. Maryland doesn't tax you simply for moving away. The "exit tax" is nonresident withholding on real property sales under Section 10-912 of the Tax-General Article.
When a nonresident sells Maryland real estate, the settlement agent must withhold part of the sale price and pay it to the state before the deed can be recorded. It isn't a separate tax. It's a prepayment toward the Maryland income tax you owe on the sale, and you settle the final amount on your Maryland nonresident return.
| Taxpayer Type | Rate for Sales After June 30, 2025 |
|---|---|
| Nonresident individuals and fiduciaries | 8.75% of the total payment |
| Nonresident entities | 8.25% of the total payment |
Three forms matter:
- Form MW506NRS is the withholding return filed at settlement.
- Form MW506AE is the application for a certificate of full or partial exemption, filed before closing.
- Form MW506R is the application for a tentative refund of excess withholding after closing. It isn't available if the sale price is $1,500,000 or more. Those sellers file a complete annual return, with Form 502CG if required.
The individual rate is the lowest county income tax rate plus the highest state rate. Maryland's top state rate rose to 6.5% in 2025, which pushed withholding for individuals from 8% to 8.75%.
Worked example: You move to Florida, then sell your Maryland house for $500,000. The settlement agent withholds $43,750, which is 8.75% of the total payment, before your deed is recorded. Say your gain is $100,000. You report it on your Maryland nonresident return, and if your actual Maryland tax on it is less than $43,750, you get the difference back. Because the sale price is under $1,500,000, you can apply for that refund early with Form MW506R.
Maryland's 2% capital gains surtax
Starting with tax year 2025, Maryland adds a 2% tax on net capital gains included in Maryland adjusted gross income.
Who pays it: Individuals and fiduciaries with federal adjusted gross income over $350,000, whatever their filing status. For nonresidents, it can apply to gains on Maryland-source income, such as a Maryland home sale.
Main exclusions: Gains from these assets aren't subject to the 2%:
- A primary residence sold for less than $1,500,000, including its land and any accessory dwelling unit. It must be your main home and a single-family home, townhome, row home, or residential condo or co-op unit
- Assets in a 401(k), 403(b), 457(b), IRA, Roth IRA or similar retirement plan
- Certain livestock held by people who earn most of their income from farming or ranching
- Land under a conservation, agricultural or forest preservation easement
- Business property deductible under IRC Section 179
- Affordable housing owned by a nonprofit
Why the withholding doesn't cover it: The Comptroller's Technical Bulletin 58 says the withholding rate is set by statute and doesn't include the additional tax. If you expect the 2% to apply to your sale, the bulletin says to make an additional estimated tax payment so you aren't underpaid.
Leaving Maryland tax: what changed in 2025
The 2025 Budget Reconciliation and Financing Act raised Maryland's income tax for tax year 2025 and later. If you're weighing leaving Maryland, tax is often part of the reason:
| Change | Before | From Tax Year 2025 |
|---|---|---|
| Top state rate | 5.75% | 6.25% on taxable income from $500,001 to $1 million; 6.5% above $1 million (joint filers: $600,001 and $1,200,001) |
| Local income tax cap | 3.2% | 3.3% (local rates range from 2.25% to 3.3%) |
| Capital gains | Taxed as ordinary income | Plus 2% on net gains when federal AGI is over $350,000 |
| Nonresident real estate withholding (individuals) | 8% | 8.75% |
For a high earner, state and local tax plus the 2% surtax can approach 12% on capital gains. Maryland residents are taxed on worldwide income, so income earned abroad counts too.
Moving out of Maryland: how to leave Maryland residency
Maryland residency requirements for tax purposes
Maryland residency requirements come down to two tests. You're a Maryland resident for tax purposes if either applies:
- Domicile. Maryland is your permanent home, the place you intend to return to. Your domicile stays in Maryland until you abandon it and establish a new one elsewhere. Intent alone isn't enough; it has to be backed by action, including physical presence in the new place and cutting ties with the old one.
- Statutory residency. You maintain a place of abode in Maryland for more than six months of the year and spend 183 days or more in the state, even if you're domiciled elsewhere. Any part of a day counts as a day.
| Test | Threshold | What Auditors Look At | What Proves You Left |
|---|---|---|---|
| Domicile | No day count. Maryland stays your domicile until you abandon it and establish a new one | Where you live and vote, homes you own or rent, how you spend your time, where your possessions, business, family and community ties are, where your cars are registered and where you bank | A home in your new state, a new driver's license, vehicle registration and voter registration there, a recorded Declaration of Domicile where available, your Maryland home sold or rented out, and belongings, doctors and memberships moved |
| Statutory residency | A place of abode in Maryland for more than six months of the year and 183 days or more in the state. Any part of a day counts | Whether you kept a place to live in Maryland, and your day count in the state | A day-by-day calendar with flight records and receipts, and proof you no longer keep a Maryland place to live, such as a sale contract or a long-term lease to a tenant |
Checklist for moving out of Maryland
Change these:
- Get a residential address in your new state, whether you rent, buy or use a residential address service
- Get a new driver's license and surrender your Maryland one
- Register your vehicles in your new state
- Register to vote in your new state, if eligible, and cancel your Maryland registration
- File a Declaration of Domicile if your new state has one. See our Florida Declaration of Domicile guide
- Update your address with the IRS (Form 8822), banks, brokers, insurers and your employer
- Move your belongings, especially family heirlooms and items that matter to you
- Find new doctors and move club, religious and community memberships
- Sell your Maryland home, or rent it out under a long-term lease so it isn't available to you
Keep these as proof:
- Your closing documents or lease from the new state
- Your new driver's license, vehicle registration and voter card
- A recorded Declaration of Domicile, if you filed one
- A day-by-day calendar with flight records and receipts
- Your final Maryland part-year return and later nonresident returns
For a state-by-state view of the process, read how to break state residency.
What triggers a Maryland residency audit?
The Comptroller actively audits people who claim to have left. A Maryland residency audit usually looks at the same factors the Comptroller uses to decide domicile:
- Where you live and where you're registered to vote. The Comptroller treats these as the most important factors.
- Your homes. Homes you still own or rent in Maryland, and their size and value compared with your new home.
- How you spend your time. Travel patterns, work and whether you're retired.
- Where your important possessions are. Family heirlooms, collections and sentimental items.
- Your business ties. How you earn a living and where your business interests are.
- Your family and community. Where your family lives, where minor children go to school, and your social and religious ties.
- Other records. Where your cars are registered, and where your bank accounts and safe deposit boxes are.
In a statutory residency review, you carry the burden of showing you weren't in Maryland for 183 days or more. A clean move, with consistent records in your new state and a day log, is the best defense. Maryland is one of several states known for close residency reviews. See the stickiest states ranked.
Moving to Florida or Texas
Florida and Texas are the most common choices for people leaving Maryland, because neither has a state income tax. Both require a residential address in the state and a new driver's license. Florida also has a formal Declaration of Domicile, and Texas suits people with ties to the Southwest or Mexico. Compare them side by side in Florida vs Texas domicile.
FAQ
Does Maryland tax you after you move?
Only on Maryland-source income, such as rent from Maryland property or a gain when you sell it. You file a Maryland nonresident return for that income. If you keep a place to live in Maryland for more than six months and spend 183 days or more there, Maryland can still tax you as a resident.
Do I pay Maryland tax when I sell my house after leaving Maryland?
You pay Maryland income tax on any gain, and 8.75% of the total payment is withheld at closing as a prepayment. If your actual tax is lower, you get the difference back. If your federal AGI is over $350,000, the 2% capital gains surtax may also apply unless the home qualifies as a primary residence sold for under $1,500,000.
How do I avoid Maryland nonresident withholding?
You can't skip it if it applies, but you can reduce it. Apply for a full or partial exemption with Form MW506AE before closing. After closing, request a tentative refund of excess withholding with Form MW506R if the sale price is under $1,500,000, or claim it on your annual return.
How many days can I spend in Maryland after I move?
Stay under 183 days, and don't keep a place to live there for more than six months of the year. Meeting both makes you a statutory resident. Days alone don't determine domicile, so keep your ties and records clear in your new state.
Conclusion
Maryland has no true exit tax, but selling Maryland real estate after you move triggers 8.75% withholding for individuals, and the 2% capital gains surtax isn't covered. Plan the sale with a tax professional and use the exemption and refund forms where they apply. Then make the move clean: a new domicile in a no-income-tax state like Florida or Texas, fewer Maryland ties, and a record of your days in case of a Maryland residency audit.