Skip to content
statelinetax.comChecker

Live in Maryland, Work in Pennsylvania: Which State Taxes Your Paycheck?

Reciprocal agreement — file the exemption formMaryland withholds

Answer

One state, one form, one return. The Maryland-Pennsylvania reciprocal agreement means Pennsylvania withholding should never start: submit Form REV-419 to your employer, keep paying Maryland, and file only in Maryland. Note that Form REV-419 belongs to Pennsylvania, the state where the work is.

Last verified

Reciprocity is the cleanest outcome in multi-state wage tax, and also the one most often missed, because it only works if you file the certificate. The agreement between Maryland and Pennsylvania does not apply itself: an employer that never receives Form REV-419 keeps withholding.

Pennsylvania holds agreements with Indiana, Maryland, New Jersey, Ohio, Virginia and West Virginia. A resident of one of those states working in Pennsylvania files Form REV-419, Employee's Nonwithholding Application Certificate, with the Pennsylvania employer — and unless the state of residence changes, it does not have to be refiled each year.

The certificate goes to your employer's payroll department, not to Pennsylvania Department of Revenue, and it is not retroactive — filing it in June does not recover Pennsylvania tax withheld in January. That money comes back only by filing a Pennsylvania nonresident return for the year and claiming a refund.

Pennsylvania also has a layer below the state one, and it is the layer that survives every agreement: Pennsylvania's Act 32 earned income tax is levied by municipalities and school districts across the state, and Philadelphia levies its own wage tax on residents and on nonresidents who work in the city. None of it is covered by the reciprocal agreements, and Philadelphia's nonresident wage tax applies from the first dollar.

What you file

  1. 1Give to your employer · PennsylvaniaForm REV-419

    Give your employer Form REV-419 so Pennsylvania stops withholding. This goes to the employer, not to Pennsylvania Department of Revenue — and it is not retroactive, so file it before the first paycheck of the year.

  2. 2Resident return · Maryland

    File a Maryland resident return reporting all of your income, including the wages earned in Pennsylvania.

The two states, side by side

 MarylandPennsylvania
Taxes wagesYes — graduatedYes — flat
Reciprocity partners4 (Form MW507)6 (Form REV-419)
Convenience ruleNoYes — general rule
Nonresident returnForm 505 with Form 505NRForm PA-40 (nonresident)
Credit for other-state taxForm 502CRSchedule G-L
Nonresident safe harbourNone publishedNone published
Local income taxYesYes
Revenue departmentComptroller of MarylandPennsylvania Department of Revenue
Last verified

The other direction

Reversing the commute does not always reverse the answer. Living in Pennsylvania and working in Maryland gives:Reciprocal agreement — file the exemption form.

Pennsylvania to Maryland →

Same two states, different situation

The withholding answer turns on how you are paid and where the work happens, not only on which two states are involved.

Other Maryland pairs

Questions people actually ask

I live in Maryland and work in Pennsylvania. Which state takes the tax out of my paycheck?

One state, one form, one return. The Maryland-Pennsylvania reciprocal agreement means Pennsylvania withholding should never start: submit Form REV-419 to your employer, keep paying Maryland, and file only in Maryland. Note that Form REV-419 belongs to Pennsylvania, the state where the work is.

Which state should my employer be withholding for?

Maryland. Your employer should withhold Maryland tax rather than Pennsylvania tax on these wages, but only once you have given payroll Form REV-419 — the exemption is not automatic and it does not apply retroactively. If a Pennsylvania line is showing on your pay stub, raise it with payroll now rather than at filing time.

What if Pennsylvania tax was already withheld from my pay?

File Form REV-419 with your employer to stop it going forward, then recover what was already taken by filing a Pennsylvania nonresident return for that year and claiming a refund of the full amount. Maryland will still expect its own tax on the same wages, so do not treat the refund as a windfall.

How current is this?

The Maryland and Pennsylvania rules on this page were last checked against Comptroller of Maryland and Pennsylvania Department of Revenue on 2026-08-07. We re-check the full grid every December after state legislative sessions close, and re-check the convenience-of-the-employer states quarterly because that is where the rules move fastest.

Sources

Every fact above comes from the revenue department that publishes the rule. We do not cite secondary summaries, and we do not restate a figure we could not find at source.