Need to Know Tax Income Tax 2026 · Federal & Maryland

Need to Know Tax › Maryland

Maryland · form and line

Part-Year and Nonresident Returns

Moved to or from Maryland, or earned income there while living elsewhere: where each type of income goes on the Maryland return, and how to report tax paid to another state.

Charles Trautman, EA

Edited by Charles Trautman, EA

Need to Know Tax  ·  form and line numbers read by AI from the 2025 Comptroller of Maryland forms, November 29, 2026

Before you start

A move between states, or income earned in a state you do not live in, means two state returns that have to agree with each other and with the federal return. This is the return most worth taking to a tax professional. This page shows where each number goes.

Line check: the form and line numbers on this page were read by AI from the 2025 Maryland forms on November 29, 2026. The editor, an enrolled agent, has not yet checked them line by line, so look at the form before you rely on a line number.

Which describes you? Pick one and the page shows only your part.

You file the regular Maryland resident return

A full-year resident does not use the part-year and nonresident lines on this page. Your Maryland return already takes in the income you earned in the other state. What you need is the credit for the tax that state charged you: Form 502CR, Part A.

A full-year resident fills in Form 502CR, Part A, one for each state. The state credit goes through Part AA to Form 502, line 24; the local credit goes through Part BB to line 31.

Go to the steps

How Maryland does it

The methodTwo methods. On Form 502 a part-year resident reports all federal income, subtracts the income received while a nonresident on line 12, and multiplies the standard deduction and exemptions by the Maryland income factor (line 16 divided by line 1). On Forms 505 and 505NR a nonresident figures a tax on all income, then multiplies it by the nonresident factor (Maryland taxable net income divided by total taxable net income), and adds the special nonresident tax of 2.25% in place of the county tax.
The formsA part-year resident owes the county tax too, at the rate of the county lived in on the last day of Maryland residence. A nonresident who works in Maryland and lives in a place that taxes Maryland residents' wages files Form 515 instead of Form 505.
Joint returnsSpouses who live in different states and file a joint federal return may file separate Maryland returns, or a joint return with a pro forma Form 505 and Form 505NR attached.
ReciprocityMaryland has agreements with the District of Columbia, Pennsylvania, Virginia and West Virginia covering wages, salaries, tips and commissions. A resident of one of them owes Maryland nothing on Maryland wages. Business income, farm income, rent and gain on Maryland property are not covered.

Where each type of income goes

Lines are from the 2025 Maryland forms; click a form name to open it. Maryland uses two forms. A part-year resident files the resident Form 502, marked “P” with the dates of residence. A nonresident files Form 505 with Form 505NR. The 2026 lines will be added when the state posts its forms.

Click a type of income to read what goes in the Maryland columnFederal linePart-year resident
2025 form and line
Nonresident
2025 form and line
Income
Federal adjusted gross income for the whole year, wherever earned. Lines 1a to 1d break out wages, earned income, net capital gain and retirement income.
Each kind of income is entered three ways: federal, Maryland and non-Maryland. Wages (1), interest (2), dividends (3), tax refunds (4), alimony (5), business income (6), capital gains (7), other gains (8), pensions and IRAs (9), rents and pass-through income (10), farm income (11), unemployment (12), Social Security (13), other income including lottery and gambling winnings (14). Line 17 is adjusted gross income.
1040, line 11Form 502, line 1Form 505, lines 1 to 17
In line 1. Wages earned before the move in, or after the move out, come off on line 12.
Column 2: pay for work done in Maryland. Wages of a District of Columbia, Pennsylvania, Virginia or West Virginia resident stay in column 3.
1040, line 1zForm 502, lines 1 and 12Form 505, line 1
In line 1. Amounts received while a nonresident come off on line 12.
Column 3. A nonresident's investment and retirement income is not Maryland income unless it belongs to a Maryland business.
1040, lines 2b to 5bForm 502, lines 1 and 12Form 505, lines 2, 3 and 9
In line 1. The part from the nonresident period that Maryland does not tax comes off on line 12.
Column 2: a business carried on in Maryland, rent from Maryland property, and gain on Maryland real and tangible property.
Schedule 1; 1040, line 7Form 502, lines 1 and 12Form 505, lines 6 to 8, 10 and 11
Losses and adjustments realized while a nonresident are added back.
Non-Maryland losses and adjustments are added back.
 Form 502, line 5, code aForm 505, line 18
Maryland adjustments
The usual additions, for the resident period.
Other additions by code letter (19); line 21 is federal adjusted gross income plus additions.
 Form 502, lines 2 to 6Form 505, lines 19 to 21
Income from the part of the year you lived elsewhere, to the extent Maryland does not tax it.
Non-Maryland income from column 3 of Form 505.
 Form 502, line 12Form 505NR, line 6b
The usual subtractions for income that stays in Maryland income. The pension exclusion is prorated by months of Maryland residence.
Military pay of a nonresident (22) and other subtractions by code letter from Form 505SU (23).
 Form 502, lines 8 to 14Form 505, lines 22 to 24
Line 7 minus line 15.
Form 505NR, line 4, minus line 7.
 Form 502, line 16Form 505NR, line 8
The factor, the deductions and the tax
Maryland adjusted gross income divided by federal adjusted gross income, between 0 and 1.
Line 8 divided by federal adjusted gross income on line 3, to six decimals, between 0 and 1. It also goes on Form 505, line 29.
 Worksheet 26A (Form 502, line 16 ÷ line 1)Form 505NR, line 9
The standard deduction ($3,350, or $6,700 joint, head of household or surviving spouse) or net itemized deductions, times the factor.
The standard deduction or net itemized deductions from Form 505, line 26, times the factor.
 Form 502, line 17Form 505NR, lines 10a and 10b
$3,200 for each person at most incomes, times the factor.
The exemption amount from Form 505, line 28, times the factor.
 Form 502, line 19Form 505NR, line 12
The tax on line 20 from the table or Schedule 17A.
Line 13 is Maryland taxable net income. Line 14 is the tax on total taxable net income (Form 505, line 31). Line 15 is line 13 divided by that total, to six decimals. Line 16 is line 14 times line 15, to Form 505, line 32a.
 Form 502, line 21Form 505NR, lines 13 to 16
The county rate times taxable net income, from Worksheet 19A.
The special nonresident tax: 2.25% of line 13, to Form 505, line 32b.
 Form 502, line 28Form 505NR, line 17
Tax paid to another state: who can claim the credit
Not this row: see the two rows below.
Not this row: see the two rows below.
 Form 502CR, Part AForm 502CR, Part A
Allowed for income taxed by both states while a Maryland resident. Not for tax on income from the nonresident period that was subtracted on Form 502, line 12.
Does not apply.
 Form 502CR, Part Anot allowed
Does not apply.
The Form 502CR instructions say filers of Forms 505 and 515 cannot claim Part A. The credit comes from your home state, on its return, for the tax you paid Maryland.
 not allowednot allowed

A worked example: a mid-year move

A single person with no dependents moved to Maryland on July 1, 2025. Wages were $40,000 from a job in the old state through June and $50,000 from a Maryland job after the move. Bank interest was $200 through June and $400 after. Federal adjusted gross income is $90,600. No other income, no adjustments, standard deduction.

Form 502, line 1: federal adjusted gross income$90,600, the whole year
Form 502, line 12: income while a nonresident$40,000 of wages and $200 of interest = $40,200
Form 502, line 16: Maryland adjusted gross income$50,400
Worksheet 26A: Maryland income factor$50,400 divided by $90,600 = 0.5563
Form 502, line 17: standard deduction$3,350 times 0.5563 = $1,864
Form 502, line 19: exemption$3,200 times 0.5563 = $1,780
Form 502, lines 20 and 21: taxable net income and state tax$46,756; $90 plus 4.75% of the amount over $3,000 = $2,168.41
Form 502, line 28: local taxThe county rate times $46,756: at 3.20%, $1,496.19

The old state taxes the $40,200 earned before the move on its own part-year return. No income is taxed by both states, so there is no credit for tax paid to another state on either return.

An illustration with 2025 figures, to show how the lines connect. It is not advice for your return.

Tax paid to another state: how to report it

When two states tax the same income, one of them gives a credit so you are not taxed twice. As a rule the state where the income was earned taxes it first, and the state where you live gives the credit.

  1. Finish the other state's return first. Use the taxable income and the tax on that return, not the withholding on the W-2. No credit is given for a state with no income tax.
  2. Find the Maryland tax caused by that income. Form 502CR, Part A: line 1 is Maryland taxable net income (Form 502, line 20). Line 2 is the income taxed by both states. Line 3 is the difference, and line 4 is the Maryland tax on line 3. Lines 5 to 8 do the same for the 2% capital gain tax. Line 10 is the Maryland tax (line 9) minus lines 4 and 8.
  3. Do the same for the county tax. Line 11 is the local tax (Form 502, line 28). Line 12 is line 3 times your local rate. Line 13 is the difference. Line 14 is line 10 plus line 13.
  4. Compare with the tax paid. Line 15 is the state and local tax owed to the other state, with its two-letter code. Line 16 is the smaller of lines 14 and 15.
  5. Split it and carry it. Line 17, the state credit, is the smaller of lines 10 and 16 and goes to Part AA, line 1. Line 18, the local credit, is line 16 minus line 17 and goes to Part BB, line 1. Attach all of Form 502CR and a signed copy of the other state's return.

If you moved during the year, expect little or no credit. Each state taxes the months you lived there, so the same income is not usually taxed twice. The credit matters when income keeps coming from the old state after the move.

If you live elsewhere and earned income in Maryland, file the Maryland return as a nonresident, pay Maryland, and claim the credit on your home state's return.

District of Columbia, Pennsylvania, Virginia and West Virginia: no credit for tax on wages, salaries, tips or commissions there; ask that state for a refund. Other income taxed there, such as business income or gain on property, does qualify. A Pennsylvania local wage tax can be claimed on line 15.

More than one state: fill in a separate Form 502CR for each, then total lines 17 and 18 on a summary form.

Where these returns go wrong

Also

Sources and where to check

Updated November 29, 2026 · form and line numbers from the 2025 forms; 2026 lines to be added when Maryland posts its forms