Need to Know Tax Income Tax 2026 · Federal & Maryland

Need to Know Tax › Maryland

Maryland · moving and working across the line

Moving to Maryland

Who Maryland counts as a resident, including the 183-day rule that catches people who never meant to move here; how the part-year Form 502 splits the year; what the four reciprocal agreements with Pennsylvania, Virginia, West Virginia and the District of Columbia do and do not cover; the credit for tax paid to another state; remote work across the line; what happens to a nonresident who sells Maryland real estate; and the checklist for the year you move.

Charles Trautman, EA

By Charles Trautman, EA, editor

Need to Know Tax  ·  written from Comptroller of Maryland sources, November 3, 2026; updated November 12, 2026 after the election  ·  not yet reviewed by a Maryland practitioner

Maryland taxes a resident on everything and a nonresident on Maryland-source income, and the line between the two is drawn twice. You are a resident if you were domiciled in Maryland on the last day of the year, your true, fixed, permanent home, wherever you happened to be. You are also a resident, whatever your domicile, if you kept a place to live in Maryland for more than six months of the year and were physically present 183 days or more; any part of a day counts. Residents pay the state brackets plus the county tax of the county they lived in on December 31. Nonresidents file Form 505 and pay the state brackets plus a 2.25% special rate instead of county tax. The big exception is wages: a resident of Pennsylvania, Virginia, West Virginia or the District of Columbia who works in Maryland owes Maryland nothing on them, and a Maryland resident who works in any of those four pays only Maryland. Everything else, a rental, a business, a sale of Maryland land, is taxed where it sits, with a credit on the resident return to keep it from being taxed twice.

The year you move, you file Form 502 as a part-year resident, report everything, and subtract on Line 12 the income you received while living elsewhere. The exemptions and the standard deduction are prorated. The county tax follows the county you lived in on the last day of your Maryland residence, December 31 for someone who arrived, the move-out date for someone who left (verify against Instruction 26), at that county’s full rate on the part-year taxable income.

Just moved to Maryland? Start here

  • A 183-day rule catches people who never meant to move here.
  • The move year goes on a part-year Form 502.
  • Wage agreements cover Pennsylvania, Virginia, West Virginia and the District of Columbia.

The detail on each point is below, along with the rules for leaving Maryland.

Resident, statutory resident, nonresident

Domicile is not defined in the statute. The Comptroller’s Administrative Release 37 borrows the courts’ phrase: the place a person intends to return to when absent. Intent has to be backed by action. To change domicile you must be physically present in the new place, put down ties there, and cut them here. A temporary absence for work, health or pleasure, however long, does not change it, and you can have only one domicile at a time even with several houses. The release lists what the Comptroller looks at when a change is disputed, in roughly this order: where you live and where you are registered to vote; the homes you own or rent, their size and value; how and where your time is spent; where the things “near and dear” to you are kept, heirlooms, collections, pets; where you earn your living and how much business you still do in Maryland; where your family is and where the children go to school, and your social, community and religious ties; and the paperwork, vehicle registration, bank accounts, safe deposit box, driver’s license.

The statutory-resident test is mechanical and has nothing to do with intent. A place of abode is a dwelling you maintain and can use, not a hotel room; the release says owning a vacation home or visiting family does not by itself meet it. Maintain one for more than six months and spend 183 or more days in the state, counting any part of a day as a day, and you are a Maryland resident for the whole year, taxed on worldwide income, even if your domicile and your voting registration are elsewhere. Someone with a Maryland place of abode who is present fewer than 183 days is a nonresident and owes tax only on Maryland-source income. The people this catches are commuters who rent an apartment near work, owners of a second home who spend summers here, and the person who moved out but kept the house and kept coming back.

Who files what in Maryland, 2026
SituationFormTaxed onLocal tax
Domiciled in Maryland on December 31502All income, all yearCounty rate, December 31 county
Domiciled elsewhere, Maryland abode more than six months and 183+ days here502 (statutory resident)All income, all yearCounty rate
Moved in or out during the year502, part-year box, Line 12Income while a resident, plus Maryland-source income while notRate of the county where you last lived in Maryland
Nonresident with Maryland income505 and 505NRMaryland-source income only2.25% special nonresident rate
Resident of PA, VA, WV or DC, Maryland wages onlyNone (MW507 to the employer)NothingNone
Resident of PA, VA, WV or DC with Maryland rental or business income505 and 505NRThat income2.25%

A resident of PA, VA or DC who keeps a Maryland place of abode 183 days or more is a statutory resident and the wage agreement no longer protects them; West Virginia’s agreement has no day limit.

The part-year return

A part-year resident uses Form 502, not Form 505. Check the part-year box, enter the dates of Maryland residence and the other state, and start as everyone does from federal AGI on Line 1. Line 12 then subtracts the income received during the period of nonresidence, so long as it was not Maryland-source: wages earned before you arrived, interest and dividends paid before the move, a pension payment dated before the move. Maryland-source income earned while a nonresident, rent from a Maryland property or wages for days worked here, stays in. The standard deduction and the exemptions are prorated for the months of residence (verify proration method against Instruction 26). Additions and subtractions, the pension exclusion among them, are limited to the resident period as well. The county tax is the full rate of the last Maryland county you lived in, on the part-year taxable income.

Pension and IRA income is allocated by the date of each payment. Under federal law a state may not tax the retirement income of someone who no longer lives there, so a Maryland pension paid to a new resident of another state is that state’s to tax, not Maryland’s, from the month after the move. The reverse holds too: a retiree who moves into Maryland in July owes Maryland on the second half of the year’s pension and IRA payments, with the pension exclusion available on the employer-plan part at 65 and nothing on the IRA part. See Maryland for retirees.

Worked example: moving in on September 1

Single, no dependents, moved to Baltimore County on September 1, 2026 for a new job. Wages for the year were $90,000: $60,000 from the old employer before the move, $30,000 from the new one after. No other income. The old state’s return is filed as a part-year resident there on the first $60,000.

Federal AGI (Line 1)$90,000
Line 12: income received while a nonresident−$60,000
Maryland adjusted gross income (Line 16)$30,000
Standard deduction, prorated 4 of 12 months: $3,400 × 4/12−$1,133
Exemption, prorated: $3,200 × 4/12−$1,067
Maryland taxable net income (Line 20)$27,800
State tax: $90 + 4.75% × ($27,800 − $3,000)$1,268
Baltimore County tax: 3.20% × $27,800$890
Total Maryland and local tax (Line 34)$2,158

The new employer should have withheld roughly this, using the MW507 filed on the first day. The $60,000 is reported on Line 1 and removed on Line 12; it is never taxed by Maryland, and no credit for the old state’s tax is needed because the two states taxed different income. Had the move been the other way, out of Baltimore County on August 31, the result would be the same arithmetic on the $60,000 at eight months’ proration, with Baltimore County’s rate on the county line.

Reciprocity: Pennsylvania, Virginia, West Virginia and DC

Maryland has wage agreements with its four neighbors to the north, south and west, and with the District. They cover wages, salaries, tips and commissions, nothing else. A Virginia resident who works in Bethesda pays Virginia on the wages and owes Maryland nothing; she gives her employer Form MW507 with Line 4 completed, certifying that she does not keep a Maryland place of abode for 183 days or more, and no Maryland tax is withheld. If Maryland tax was withheld anyway, she files Form 505 to get it back. A Pennsylvania resident does the same on Line 5 for the state tax, but Maryland employers must still withhold the local tax of the county where he works unless his home jurisdiction does not tax Maryland residents; residents of York and Adams counties claim that exemption on Line 6, and residents of other Pennsylvania localities that do not tax Marylanders use Line 7.

The agreement runs the other way just as cleanly. A Maryland resident who works in Arlington, in Washington, in Philadelphia or in Martinsburg pays Maryland and the county on the wages and nothing to the work state, files no nonresident return there, and takes no credit on Form 502CR Part A for them. If the work-state employer withheld its tax by mistake, the fix is a nonresident return there claiming a full refund, not a Maryland credit.

Two limits. First, the agreement is for wages. A Virginia resident’s Maryland rental, a DC resident’s Maryland consulting business, a Pennsylvanian’s share of a Maryland partnership are all Maryland-source income taxed on Form 505, and the home state gives the credit. Second, the 183-day test. A resident of Pennsylvania, Virginia or DC who keeps a Maryland place of abode for 183 days or more becomes a Maryland statutory resident, files a resident Form 502 on all income, and applies to the home state for whatever credit it gives. West Virginia’s agreement is the exception: a West Virginia domiciliary owes no Maryland tax on wages regardless of days in Maryland.

Credit for tax paid to another state

A Maryland resident taxed by another state on income that Maryland also taxes claims a credit on Form 502CR Part A. The credit is the smaller of the tax actually paid to the other state or the Maryland tax on the same income, and a copy of the other state’s return, not just the W-2, must be attached. The form sorts states into three groups. Group I is every state without a reciprocal agreement, where the credit applies to all income including wages. Group II is the four reciprocal jurisdictions, where it applies only to non-wage income, since the wages were never taxed there. Group III is the states with no income tax, where there is nothing to credit. Since the Supreme Court’s 2015 decision in the Wynne case the credit reaches the county tax as well as the state tax; the local share is carried to Line 31 through Form 502CR Part BB (verify mechanics). A resident who works in Delaware, which has no agreement with Maryland, pays Delaware as a nonresident, pays Maryland and the county as a resident, and recovers the overlap here. The credit never produces a refund of Maryland tax; it stops at the Maryland tax on the doubly taxed income, so when the other state’s rate is higher the difference is simply lost.

Remote work across the line

Maryland taxes a nonresident on wages for work physically performed in Maryland. For a resident of a non-reciprocal state employed by a Maryland company, the Maryland share of wages is the share of days worked in Maryland; days worked from home elsewhere are not Maryland-source. Maryland does not apply a “convenience of the employer” rule that would treat home-office days as Maryland days. The opposite case is the one to watch: a Maryland resident working from home for an employer based in a state that does apply such a rule may be taxed by that state on the home days too, and then claims the Part A credit here. Keep a day count. The employer’s W-2 allocation is a starting point, not the last word.

Selling Maryland real estate after you leave

When a nonresident sells Maryland real property, the settlement agent withholds Maryland tax at closing, 8.75% for an individual, on Form MW506NRS, and sends it to the Comptroller. It is a prepayment, not the tax. The seller files Form 505 for the year, reports the gain as Maryland-source income, and gets back whatever the withholding exceeded. A former resident who sells the old house after moving should check whether the federal home-sale exclusion wipes out the gain; if it does, the gain is not in federal AGI and Maryland has nothing to tax, though the withholding may still be collected at closing and recovered on the return unless an exemption certificate is obtained first. Gain on a primary residence that sold for under $1,500,000 is also outside the 2% capital gains surcharge. See The home sale exclusion.

Military families

A service member’s domicile of record decides the state, not the duty station; orders to Fort Meade or Andrews do not make anyone a Maryland resident. A spouse who is in Maryland solely to be with the service member and keeps a domicile in another state is exempt from Maryland tax and withholding on wages under the Military Spouses Residency Relief Act: Form MW507 Line 8 with the state of domicile, “EXEMPT” in the box, a copy of the military ID, and Form MW507M attached.

The year you move: what to do

Behind the scenes: why the agreements cover wages only

The reciprocal agreements exist because of commuting. Hundreds of thousands of people cross the Potomac or the Pennsylvania line every workday, and without an agreement each one would file two returns and the home state would issue a credit for tax it never saw. The agreements let the home state keep the whole wage tax and spare the employer multi-state withholding. They are wage agreements because wages are what commuters have; a rental or a business across the line is a fixed Maryland asset that Maryland has always taxed at source, and no neighbor has agreed to give that up.

The 183-day limit keeps the agreements from becoming a loophole for people who in fact live in Maryland: a Pennsylvania or Virginia domiciliary who keeps a Maryland apartment and sleeps in it more than half the year files a resident return instead. West Virginia’s agreement is simply written without the limit.

What to bring

  • The date you moved, and the lease, deed or closing statement that proves it
  • Your county and political subdivision on December 31, 2026
  • Every W-2, with the state wage boxes, and the final and first pay stubs around the move
  • The other state’s return, complete, if you are claiming a credit for tax paid there
  • Form MW507 as filed with each employer, and MW507M for a military spouse
  • A day count, if you kept homes in two states
  • 1099-R and brokerage statements by month, so income can be split at the move date
  • Form MW506NRS from settlement, if you sold Maryland real estate as a nonresident

Questions people ask

I live in Virginia and work in Maryland. Do I file a Maryland return?

Not for your wages. Give your employer Form MW507 with Line 4 completed and no Maryland tax will be withheld; you pay Virginia only. If Maryland tax was withheld by mistake, file Form 505 to recover it. Maryland rental or business income is still taxed here.

I live in Maryland and work in DC. Which state taxes my salary?

Maryland and your county, in full. DC does not tax your wages, you file no DC return, and there is no credit to claim. If DC tax was withheld, get it back from DC.

I live in Maryland and work in Delaware. Am I taxed twice?

You pay Delaware as a nonresident and Maryland as a resident, then claim a credit on Form 502CR Part A for the Delaware tax, up to the Maryland tax on the same wages. Attach the Delaware return.

I moved out of Maryland in October but still own my house here. Am I done with Maryland?

For 2026, you file a part-year Form 502 on the income through October, with the county tax of the county you left. Going forward, if you keep the house and spend 183 days a year in it, Maryland will treat you as a resident again whatever your new license says.

Which county tax do I pay if I moved within Maryland?

The county you lived in on December 31, at its full rate on the whole year’s taxable income. There is no month-by-month split between counties.

I retired to Maryland in June. Does Maryland tax my pension from my old state?

Payments received after the move, yes, with the pension exclusion available on employer-plan income once you are 65, less your Social Security. Payments before the move are subtracted on Line 12. Your old state cannot tax the pension once you are no longer a resident there.

Fix the date, count the days, name the county

Residency is decided by December 31 and by 183 days, wages follow the home state across the four reciprocal lines, and everything else is taxed where it sits with a credit to stop the double count.

Written by Charles Trautman, EA, editor  ·  Need to Know Tax, Lone Tree, Colorado

Questions about this article in Maryland are answered by [your practice name]  ·  [your phone]  ·  [your email address]. We’re looking for an EA or CPA in each Maryland city to hold that city’s seat and take this spot — is that you?

Ask a question about this article →

An invitation to Maryland EAs and CPAs

These Maryland pages were written by the editor from the Comptroller of Maryland’s own publications, and they need a Maryland practitioner’s eye. One enrolled agent or CPA in each Maryland city holds that city’s seat: reads these pages before the filing season and is credited as a reviewer, is named on every page of their city’s edition, and answers its readers’ questions. $1,000 for the 2026 season, the charter price. Take your city’s seat (a two-minute form and a card), tell us you’re interested, write to editor@needtoknowtax.com, or read how it works.

Forms and official pages named in this article

Sources and where to check

Updated November 12, 2026, after the November 3 election · tax year 2026 figures · awaiting review by a Maryland practitioner — use the right article