Need to Know Tax › District of Columbia
District of Columbia · form and line
Part-Year and Nonresident Returns
Moved to or from District of Columbia, or earned income there while living elsewhere: where each type of income goes on the District of Columbia return, and how to report tax paid to another state.

Edited by Charles Trautman, EA
Need to Know Tax · form and line numbers read by AI from the 2025 DC Office of Tax and Revenue 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 District of Columbia 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.
You file the regular District of Columbia resident return
A full-year resident does not use the part-year and nonresident lines on this page. Your District of Columbia 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: Schedule U, Part 1a, line 2.
A full-year resident fills in Calculation K, one for each state. Schedule U, Part 1a, line 7, goes to Form D-40, line 22.
How District of Columbia does it
Where each type of income goes
Lines are from the 2025 District of Columbia forms; click a form name to open it. The District taxes residents only. A part-year resident files Form D-40 for the time lived in the District. A nonresident, including a Maryland or Virginia commuter, owes no DC income tax on wages earned in the District and files Form D-40B only to get back DC tax withheld by mistake. The 2026 lines will be added when the District posts its forms.
| Click a type of income to read what goes in the District of Columbia column | Federal line | Part-year resident 2025 form and line | Nonresident 2025 form and line |
|---|---|---|---|
| Income | |||
Federal adjusted gross income for the whole year. A nonresident does not file Form D-40 and is not taxed by the District on this income. | 1040, line 11 | D-40, line 4 | see the text: nonresidents are not taxed |
Part-year resident: Federal adjusted gross income for the whole year. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
For each kind of income on the federal return, the total minus the amount received while domiciled in the District. Wages, interest, dividends, gains, pensions and business income are all handled this way. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, line 8 | see the text: nonresidents are not taxed | |
Part-year resident: For each kind of income on the federal return, the total minus the amount received while domiciled in the District. Wages, interest, dividends, gains, pensions and business income are all handled this way. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
All of it comes off on line 13, not on line 8. A nonresident does not file Form D-40 and is not taxed by the District on this income. | Schedule 1, line 7 | D-40, line 13 | see the text: nonresidents are not taxed |
Part-year resident: All of it comes off on line 13, not on line 8. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
The taxable amount comes off on line 10. A nonresident does not file Form D-40 and is not taxed by the District on this income. | 1040, line 6b | D-40, line 10 | see the text: nonresidents are not taxed |
Part-year resident: The taxable amount comes off on line 10. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
| DC adjustments | |||
Franchise tax deducted federally (5) and Schedule I, Calculation A (6). Calculation A, line 1, holds a part-year resident's adjustments for the time outside the District. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, lines 5 and 6 | see the text: nonresidents are not taxed | |
Part-year resident: Franchise tax deducted federally (5) and Schedule I, Calculation A (6). Calculation A, line 1, holds a part-year resident's adjustments for the time outside the District. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
Tax refunds (9), Social Security (10), income taxed on a DC franchise return (11), survivor benefits (12), unemployment (13) and Schedule I, Calculation B (14). Subtractions with a dollar cap are multiplied by the day fraction unless already limited to the DC period. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, lines 9 to 14 | see the text: nonresidents are not taxed | |
Part-year resident: Tax refunds (9), Social Security (10), income taxed on a DC franchise return (11), survivor benefits (12), unemployment (13) and Schedule I, Calculation B (14). Subtractions with a dollar cap are multiplied by the day fraction unless already limited to the DC period. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
Line 7 minus line 15. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, line 16 | see the text: nonresidents are not taxed | |
Part-year resident: Line 7 minus line 15. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
| Deductions, the tax and credits | |||
The standard deduction ($15,000 single, $22,500 head of household, $30,000 joint for 2025) times days lived in the District divided by 365. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, line 18 (Calculation C) | see the text: nonresidents are not taxed | |
Part-year resident: The standard deduction ($15,000 single, $22,500 head of household, $30,000 joint for 2025) times days lived in the District divided by 365. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
Only expenses paid while living in the District. State and local income tax is never deductible. Reduced by 5% of DC adjusted gross income over $200,000. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, line 18 (Calculation D) | see the text: nonresidents are not taxed | |
Part-year resident: Only expenses paid while living in the District. State and local income tax is never deductible. Reduced by 5% of DC adjusted gross income over $200,000. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
Taxable income on line 19; tax from the table or Calculation I: 4% of the first $10,000, 6% to $40,000, 6.5% to $60,000, 8.5% to $250,000, and more above. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, lines 19 and 20 | see the text: nonresidents are not taxed | |
Part-year resident: Taxable income on line 19; tax from the table or Calculation I: 4% of the first $10,000, 6% to $40,000, 6.5% to $60,000, 8.5% to $250,000, and more above. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
The child care credit comes from Form D-2441 (line 21). The earned income credit and other credits are multiplied by the day fraction: 71 days gives 0.1945, which turns the $649 credit into about $126. A nonresident does not file Form D-40 and is not taxed by the District on this income. | D-40, lines 21 to 29 | see the text: nonresidents are not taxed | |
Part-year resident: The child care credit comes from Form D-2441 (line 21). The earned income credit and other credits are multiplied by the day fraction: 71 days gives 0.1945, which turns the $649 credit into about $126. Nonresident: A nonresident does not file Form D-40 and is not taxed by the District on this income. | |||
| 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. | Schedule U, Part 1a, line 2 | Schedule U, Part 1a, line 2 | |
Part-year resident and nonresident: Not this row: see the two rows below. A full-year resident fills in Calculation K, one for each state. Schedule U, Part 1a, line 7, goes to Form D-40, line 22. | |||
Allowed for another state's tax on income earned there while domiciled in the District. Income already subtracted on line 8 is not taxed by the District, so it earns no credit (need to verify). Does not apply. | Schedule U, Part 1a, line 2 | not allowed | |
Part-year resident: Allowed for another state's tax on income earned there while domiciled in the District. Income already subtracted on line 8 is not taxed by the District, so it earns no credit (need to verify). Nonresident: Does not apply. | |||
Does not apply. A nonresident pays no DC income tax, so there is nothing to credit. | not allowed | not allowed | |
Part-year resident: Does not apply. Nonresident: A nonresident pays no DC income tax, so there is nothing to credit. | |||
A worked example: a mid-year move
A single person with no dependents moved to District of Columbia on July 1, 2025. Wages were $40,000 from a job in the old state through June and $50,000 from a District of Columbia 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.
| D-40, line 4: federal adjusted gross income | $90,600, the whole year |
| D-40, line 8: income while living elsewhere | $40,000 of wages and $200 of interest = $40,200 |
| D-40, line 16: DC adjusted gross income | $50,400 |
| Day fraction | 184 days from July 1 to December 31, divided by 365 = 0.5041 |
| D-40, line 18: standard deduction | $15,000 times 0.5041 = $7,562 |
| D-40, line 19: taxable income | $50,400 minus $7,562 = $42,838 |
| D-40, line 20: DC tax | $2,200 plus 6.5% of the amount over $40,000 = $2,384.47 |
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.
- Finish the other state's return first. The credit uses the total tax owed on that return, not the amount withheld.
- Check that the income came from that state. The credit is for income derived from the other state and taxed there. Wages a DC resident earns in Maryland or Virginia are not taxed by those states, so no credit arises.
- Fill in Calculation K, one for each state. The credit cannot be more than the DC tax on the same income.
- Enter the credit on Schedule U, Part 1a, line 2. Part 1a totals on line 7, which goes to Form D-40, line 22.
- Keep the other state's return with yours. Someone taxed as a DC resident only because of the 183-day rule must show the tax was paid with a filed 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 District of Columbia, file the District of Columbia return as a nonresident, pay District of Columbia, and claim the credit on your home state's return.
Tax a partnership or S corporation paid for you to another state follows OTR Notice 2022-03.
Where these returns go wrong
- Taking the credit for the tax withheld. The credit is based on the tax shown on the other state's finished return, not the withholding on the W-2.
- Claiming the credit on both returns. Only one state gives it, normally the state you live in.
- Doing the returns in the wrong order. The return for the state where the income was earned comes first, because the home state's credit needs its numbers.
- Trusting the state wages on the W-2. After a mid-year move with one employer, the state wage boxes can overlap or both show the full year. Split the wages by where the work was done and when.
- Reporting investment or retirement income to District of Columbia as a nonresident. Bank interest, dividends, pensions, IRA withdrawals and Social Security belong to the state you live in when you receive them.
- Reporting a pension to the state you left. Once you have moved, the old state cannot tax your retirement income, even if you earned the pension there.
- Filing a DC return as a commuter. A Maryland or Virginia resident who works in the District owes it no income tax. Form D-40B is only for a refund of DC tax withheld by mistake.
- Prorating the standard deduction by income. The District prorates by days: days lived in the District divided by 365.
- Putting unemployment benefits on line 8. They come off on line 13.
- Missing the 183-day rule. Keeping a home in the District for 183 days or more makes you a resident for the whole year, even if your domicile is elsewhere.
- Taking the full earned income credit. A part-year resident multiplies it by the day fraction.
Also
- Starting with tax year 2025, Form D-40B can be filed electronically at MyTax.DC.gov.
- The health coverage requirement applies for the months lived in the District (Schedule HSR, to D-40, line 25).
- A part-year resident eligible for the federal child care credit who did not claim it can still take 32% of what it would have been.
- The District's standard deduction for 2026 had not been published when this was written.