401(k) Rollover Advisor Match

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.

The short version: A properly executed 401(k) direct rollover is not taxable. On Form 1040, the gross distribution appears on Line 5a (pensions and annuities) and the taxable amount on Line 5b is $0. Your Form 1099-R will show distribution code G (or H for Roth-to-Roth), which automatically tells the IRS no tax is owed. You don't need to do anything extra. Indirect rollovers are more complex — see the section below.

Step 1: What documents you'll receive

After a 401(k) rollover, you'll receive two IRS forms:

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 1Gross distributionThe full amount distributed — even if $0 is taxable. This is always the large number that frightens people.
Box 2aTaxable amountShould 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 2bTaxable amount not determinedIf this box is checked, you must determine the taxable amount yourself (rare for a standard rollover).
Box 4Federal income tax withheldShould 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 7Distribution codeThe most important box. See the code table below.
Box 111st year of designated RothApplies 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
GDirect rollover from qualified plan (401k, 403b, 457b) to an IRA or another qualified planNot taxable. Box 2a should be $0. This is the clean-rollover code — no extra steps needed.
HDirect rollover from Roth 401(k) or Roth 403(b) to a Roth IRANot taxable. Box 2a = $0. Roth-to-Roth rollover — no tax event, no income recognized.
2Early distribution, exception to 10% penalty appliesTaxable as ordinary income (no 10% penalty). Often used for Roth conversions under age 59½. Also used for QDRO distributions and SEPP payments.
7Normal 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).
1Early distribution (under 59½), no known exceptionTaxable + 10% penalty. If this was an indirect rollover completed within 60 days, you'll need to claim the rollover exclusion on your return.
4Death benefit distributionFor inherited 401(k) distributions. May be taxable depending on rollover vs. distribution. See the inherited 401(k) guide.
LLoans treated as deemed distributionTaxable + 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:

How to enter a direct rollover (code G or H):
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:

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:

  1. 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.
  2. Box 4 will show the 20% federal withholding — this is a credit that reduces your total tax bill.
  3. 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).
  4. If you replaced the withheld 20% from other funds and rolled over the full original amount: Line 5b = $0.
  5. 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½.
  6. Write "ROLLOVER" on Line 5b next to the taxable amount (or the software handles this).
Indirect rollover example: You had $100,000 in your 401(k). The plan withheld 20% ($20,000) and sent you a check for $80,000. You deposited only the $80,000 you received into an IRA within 60 days.

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:

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 softwareSoftware shows large tax bill on a tax-free rolloverAnswer "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/5bRarely changes the tax owed, but technically incorrect and can flag IRS mismatch401(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 rolloverYou replaced the 20% from savings but only show 80% rolled over, creating phantom taxable incomeReport 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 handledThinking you need to amend your return after receiving Form 5498 in JulyYou 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 waiverIf you missed the 60-day window but qualify for a waiver, you overpay if you treat it as fully taxableUnder 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

  1. IRS Publication 575 — Pension and Annuity Income: Covers Form 1099-R reporting, distribution codes, and rollover treatment on Form 1040.
  2. IRS Form 1099-R Instructions: Full distribution code definitions and box-by-box instructions.
  3. IRS: Rollovers of Retirement Plan and IRA Distributions: 60-day rule, direct vs. indirect rollover rules, once-per-year IRA limit.
  4. 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.

When you need a specialist. If your rollover involved employer stock (NUA), a pension lump sum, an inherited 401(k), or a partial Roth conversion with complex IRMAA implications — tax software questions may not prompt you to consider all the moving parts. A fee-only advisor who specializes in 401(k) rollovers can help you sequence the rollover for minimum lifetime tax cost, not just this year's return.

Get matched with a 401(k) rollover specialist

Fee-only advisors. No commissions. Specialists in rollover tax planning, Roth conversions, and retirement income sequencing.