How to Report a 401(k) Rollover on Your Tax Return
You completed a 401(k) rollover. Now your tax software is asking about a Form 1099-R showing a large distribution amount, and it looks like you owe tens of thousands in income tax. You don't — if the rollover was done correctly. This guide explains exactly where on Form 1040 a 401(k) rollover gets reported, what Form 1099-R boxes mean, what distribution codes signal, and what to do when your software gets it wrong.
Step 1: What documents you'll receive
After a 401(k) rollover, you'll receive two IRS forms:
- Form 1099-R — From your old plan or the distributing institution. Reports the distribution to the IRS. You receive this by January 31 of the year following the rollover.
- Form 5498 — From your new IRA custodian. Reports the rollover contribution received. You receive this by July 31 of the year following the rollover (after most people have already filed). You do not file Form 5498 yourself — the IRA custodian files it on your behalf. You don't need to do anything with Form 5498 for your tax return. Keep it for records.
If you rolled 401(k) to 401(k) (i.e., to a new employer's plan), the receiving plan typically does not issue a Form 5498. The 1099-R from the old plan still applies.
Step 2: Read your Form 1099-R
The critical boxes on Form 1099-R for a rollover:
| Box | What it shows | What to expect for a rollover |
|---|---|---|
| Box 1 | Gross distribution | The full amount distributed — even if $0 is taxable. This is always the large number that frightens people. |
| Box 2a | Taxable amount | Should be $0 for a direct rollover of pre-tax 401(k) to traditional IRA. If blank, the plan is saying "we don't know, you figure it out." For a Roth conversion, this equals the taxable portion. |
| Box 2b | Taxable amount not determined | If this box is checked, you must determine the taxable amount yourself (rare for a standard rollover). |
| Box 4 | Federal income tax withheld | Should be $0 for a direct rollover. If you took an indirect rollover, the plan withheld 20% — this amount appears here and is a credit against your total tax owed. |
| Box 7 | Distribution code | The most important box. See the code table below. |
| Box 11 | 1st year of designated Roth | Applies to Roth 401(k) accounts — shows the year contributions began. |
Step 3: Understand your distribution code (Box 7)
Box 7 tells the IRS — and your tax software — exactly what kind of distribution occurred. For rollovers, the key codes are:
| Code | Meaning | Tax result |
|---|---|---|
| G | Direct rollover from qualified plan (401k, 403b, 457b) to an IRA or another qualified plan | Not taxable. Box 2a should be $0. This is the clean-rollover code — no extra steps needed. |
| H | Direct rollover from Roth 401(k) or Roth 403(b) to a Roth IRA | Not taxable. Box 2a = $0. Roth-to-Roth rollover — no tax event, no income recognized. |
| 2 | Early distribution, exception to 10% penalty applies | Taxable as ordinary income (no 10% penalty). Often used for Roth conversions under age 59½. Also used for QDRO distributions and SEPP payments. |
| 7 | Normal distribution (age 59½ or older) | Taxable as ordinary income, no penalty. If you received an indirect rollover and then rolled it over within 60 days, you'll need to report the rollover manually (see below). |
| 1 | Early distribution (under 59½), no known exception | Taxable + 10% penalty. If this was an indirect rollover completed within 60 days, you'll need to claim the rollover exclusion on your return. |
| 4 | Death benefit distribution | For inherited 401(k) distributions. May be taxable depending on rollover vs. distribution. See the inherited 401(k) guide. |
| L | Loans treated as deemed distribution | Taxable + 10% penalty (if under 59½). Occurs when a 401(k) loan defaults. Not a rollover — see the loan offset guide for the distinction. |
Step 4: Where on Form 1040 does a 401(k) rollover go?
A 401(k) is a "pension or annuity" for Form 1040 purposes — not an IRA. This distinction matters because the IRS uses different lines:
- Lines 4a / 4b — IRA distributions. Used for traditional IRA, Roth IRA, and SEP/SIMPLE IRA distributions. If you rolled a 401(k) into a traditional IRA and are now taking distributions from that IRA in a later year, those go here.
- Lines 5a / 5b — Pensions and annuities. This is where 401(k), 403(b), 457(b), and defined benefit pension distributions go. Your 401(k) rollover goes on Lines 5a and 5b.
Line 5a: Enter the gross distribution amount from Box 1 of your 1099-R.
Line 5b: Enter $0 (or leave blank). Tax software should auto-populate this once you enter code G.
Next to Line 5b, write or select "ROLLOVER" if your software prompts. For code G, many programs handle this automatically.
What your tax software is probably asking
Most tax software (TurboTax, H&R Block, FreeTaxUSA, TaxAct) will ask: "Did you roll this over to another retirement account?" If you answer yes, it reduces the taxable amount to $0 automatically. If the 1099-R shows code G, the software should recognize the rollover without further input. Watch for these software-specific gotchas:
- TurboTax: Asks "What did you do with the money from [payer]?" — choose "I rolled over all of this money" or the equivalent. For code G, it usually auto-fills the taxable amount as $0.
- If box 2a is blank instead of $0: Some plans leave box 2a blank when the full amount was rolled over. You may need to enter $0 manually in the taxable amount field, or answer "yes" to the rollover question. Box 2b will often be checked ("taxable amount not determined") in this case.
The indirect rollover: a different reporting problem
An indirect rollover is when the plan issues a check to you (not directly to the receiving IRA). The plan is required to withhold 20% in federal income tax under IRC § 3405(c).1 You have 60 days to deposit the full original amount (including the withheld 20%) into a rollover IRA — if you only deposit what you received, the 20% is treated as a taxable distribution. See the full direct vs. indirect rollover guide.
On your tax return for an indirect rollover:
- The 1099-R will show code 1 or 7 (not G), with the full distribution amount in box 1 and a taxable amount in box 2a that looks like you owe income tax on all of it.
- Box 4 will show the 20% federal withholding — this is a credit that reduces your total tax bill.
- In your software, indicate that you rolled over the money within 60 days. The rolled-over portion becomes non-taxable, and you enter it on Line 5a (gross) with only the non-rolled portion on Line 5b (taxable).
- If you replaced the withheld 20% from other funds and rolled over the full original amount: Line 5b = $0.
- If you only deposited what you received (couldn't replace the 20%): Line 5b = the 20% withheld amount, which is taxable income. You also owe the 10% early withdrawal penalty on this amount if you're under 59½.
- Write "ROLLOVER" on Line 5b next to the taxable amount (or the software handles this).
Form 1040: Line 5a = $100,000. Line 5b = $20,000 (taxable — the part not rolled over). If you're in the 24% federal bracket and under 59½: income tax of ~$4,800 + 10% penalty of $2,000 = $6,800 in tax cost from using an indirect rollover instead of a direct one.
Roth conversion: reporting a traditional 401(k) converted to Roth IRA
Converting a traditional 401(k) directly to a Roth IRA is a taxable event — the converted amount becomes ordinary income in the year of the conversion. This is intentional. There's no distribution penalty (it's still a rollover under IRC § 402(c)), but you owe income tax on the full amount. See the 401k-to-Roth IRA guide with 2026 bracket calculator.
For a Roth conversion, the 1099-R will show:
- Box 7: Code 2 (under 59½, exception applies — direct rollover to Roth is the exception) or code 7 (59½+) followed by "B" (designated Roth) in some cases
- Box 2a: The full taxable amount (what you owe income tax on)
On Form 1040: Line 5a = gross distribution. Line 5b = taxable amount (same as box 2a, because the whole thing is taxable). No "ROLLOVER" notation needed since you actually owe tax on the converted amount.
Roth 401(k) to Roth IRA: reporting a code H rollover
Rolling a Roth 401(k) to a Roth IRA is not taxable — contributions were already made with after-tax dollars. The 1099-R shows code H (direct rollover, Roth source) and box 2a = $0. On Form 1040, Line 5a shows the gross distribution and Line 5b = $0. The tax software handles this automatically once you enter code H. See the Roth 401(k) rollover guide for the five-year clock considerations.
After-tax 401(k) contributions: the split-rollover wrinkle
If your 401(k) had after-tax contributions (different from Roth 401(k)), the rollover may involve splitting: after-tax basis rolls to a Roth IRA (not taxable), pre-tax earnings roll to a traditional IRA (not currently taxable). You'll receive two 1099-R forms — one for each destination. Report each separately on your return. See the after-tax 401(k) rollover guide for the IRS Notice 2014-54 mechanics.
Common reporting mistakes that cause overpayment
| Mistake | What happens | Fix |
|---|---|---|
| Treating the Box 1 amount as taxable income without answering the rollover question in tax software | Software shows large tax bill on a tax-free rollover | Answer "yes" to rollover question, or manually enter $0 in the taxable field if box 2a is blank |
| Entering distribution on Lines 4a/4b instead of 5a/5b | Rarely changes the tax owed, but technically incorrect and can flag IRS mismatch | 401(k) distributions go on Lines 5a/5b. If the payer is an IRA, use 4a/4b. |
| Forgetting to include the 20% withheld in a "complete" indirect rollover | You replaced the 20% from savings but only show 80% rolled over, creating phantom taxable income | Report the full original 100% as rolled over — both the 80% you deposited and the 20% you sourced from savings to complete the rollover |
| Forgetting Form 5498 is already handled | Thinking you need to amend your return after receiving Form 5498 in July | You don't. Form 5498 is filed by the custodian for IRS reconciliation only. Keep it with your records but don't re-open your return. |
| Late indirect rollover (past 60 days) — not claiming self-certification waiver | If you missed the 60-day window but qualify for a waiver, you overpay if you treat it as fully taxable | Under Rev. Proc. 2016-47, self-certification is available for certain circumstances. Attach certification letter; the amount is excluded from income. |
If the IRS sends a notice
The IRS receives both the 1099-R (from the plan) and the 5498 (from the receiving IRA) and matches them. If the rollover was direct (code G), this matching is usually automatic and you won't hear anything. If you did an indirect rollover and reported it correctly, the amounts should reconcile when Form 5498 arrives in July.
If you receive a CP2000 notice suggesting you underreported income because the IRS matched a large 1099-R amount but didn't see corresponding income on your return: respond with documentation showing the rollover — the Form 5498 from the receiving IRA, or a statement from the receiving custodian confirming the deposit — and cite the rollover treatment under IRC § 402(c).
State tax return: additional step in some states
Some states don't automatically conform to federal rollover exclusion treatment. Check whether your state requires a separate addition/subtraction on the state return. Pennsylvania, for example, does not tax retirement income for residents over 59½ but handles 1099-R income differently from federal. Illinois excludes retirement income including 401(k) distributions regardless of age. Check your state's instructions or see the state tax section of the 401(k) rollover tax guide.
Real scenarios
Scenario A: Clean direct rollover, age 52
Sandra left her job in June 2026 with $280,000 in her 401(k). She instructed her plan to directly roll the balance to a Fidelity IRA. In January 2027, she receives a 1099-R: Box 1 = $280,000, Box 2a = $0, Box 7 = G.
On her 2026 Form 1040: Line 5a = $280,000, Line 5b = $0. She enters the 1099-R into TurboTax, enters code G, answers "yes" to the rollover question, and the software shows $0 in additional income. No tax owed on the rollover.
Scenario B: Indirect rollover with 20% withheld, age 45
Marcus requested a distribution from his old 401(k) ($120,000 balance). The plan withheld 20% ($24,000) and sent him $96,000. He deposited $120,000 into a traditional IRA within 60 days — using $96,000 from the check plus $24,000 from savings to replace what was withheld.
1099-R: Box 1 = $120,000, Box 2a = $120,000 (plan doesn't know he rolled it), Box 4 = $24,000 withheld, Box 7 = 1 (early distribution).
On Form 1040: Line 5a = $120,000, Line 5b = $0 (fully rolled over). He indicates the rollover in his software. The $24,000 withheld (Box 4) is a credit toward taxes owed. Since his taxable income from the rollover is $0, the $24,000 is actually a refund (assuming no other tax owed). He gets back the $24,000 he fronted from savings.
Scenario C: Partial Roth conversion, age 60
Elena rolled $400,000 from her 401(k) to a traditional IRA, then immediately converted $80,000 to a Roth IRA in the same year. She receives two 1099-Rs: (1) from the 401(k) plan with code G, Box 1 = $400,000, Box 2a = $0; (2) from the IRA custodian showing the Roth conversion with code 7 (normal distribution, age 59½+), Box 1 = $80,000, Box 2a = $80,000.
On Form 1040: Lines 4a/4b for the Roth conversion (this one came from an IRA). Lines 5a/5b for the original 401(k) rollover. Total taxable income = $80,000 from the conversion. The $400,000 rollover adds $0 to taxable income.
Sources
- IRS Publication 575 — Pension and Annuity Income: Covers Form 1099-R reporting, distribution codes, and rollover treatment on Form 1040.
- IRS Form 1099-R Instructions: Full distribution code definitions and box-by-box instructions.
- IRS: Rollovers of Retirement Plan and IRA Distributions: 60-day rule, direct vs. indirect rollover rules, once-per-year IRA limit.
- Rev. Proc. 2016-47: Self-certification waiver for late 60-day rollover in certain hardship circumstances.
Form 1040 line references and distribution codes verified as current for tax year 2026 filing. IRS form structure has been stable since 2018 redesign; verify in software instructions if filing years differ.