Is after-tax 401k contribution better than backdoor Roth IRA and are earnings taxed?

Trying to figure out which route makes more sense for my situation. I'm over the income limit for a direct Roth IRA contribution so I've been doing the backdoor Roth for the last two years. My company just told me they allow after-tax 401k contributions on top of the pre-tax and Roth 401k limits. HR said I could do a mega backdoor Roth through in-plan conversion or roll it out to a Roth IRA. But I'm confused about whether the earnings on the after-tax 401k contributions are taxed when I convert, and how that compares to just keeping doing the backdoor Roth IRA. I've read conflicting things online. Already maxed my pre-tax 401k for the year. Is after-tax 401k contribution better than backdoor Roth IRA and are earnings taxed on conversion?

35 comments

The earnings question is the key one and the answer is yes — earnings on after-tax 401k contributions are taxable when you convert them. The contributions themselves convert tax-free because you already paid tax on them. Only the earnings that accumulated before conversion get taxed as ordinary income. So speed matters: the faster you convert after contributing, the less earnings have built up and the smaller the tax hit.

Derek A.

Author

That makes sense. So ideally I'd contribute and then immediately trigger the conversion before any meaningful gains accumulate. Does my plan need to allow in-service withdrawals for me to roll out to a Roth IRA, or is that separate from in-plan conversion?

Those are two different plan features. In-plan Roth conversion stays inside your 401k. Rolling out to a Roth IRA requires your plan to allow in-service distributions, which not all plans do. Check your summary plan description or ask HR specifically about in-service withdrawals, not just conversions.

Backdoor Roth and mega backdoor Roth solve different problems and aren't really competing options. The backdoor Roth IRA has an annual contribution limit set by the IRA rules — check the IRS instructions for Form 8606 for the current figure. The after-tax 401k can go much higher because it stacks on top of your elective deferral limit. If your plan allows it and you have the cash flow, you can do both.

Derek A.

Author

Both makes sense if the plan supports it. I didn't realize they weren't mutually exclusive. My HR doc says we have in-plan conversion but I need to verify if it also allows in-service rollovers to an IRA.

One thing that tripped me up with the backdoor Roth: if you have any pre-tax money sitting in a traditional IRA, the pro-rata rule on Form 8606 pulls that into the calculation and part of your conversion becomes taxable. After-tax 401k conversions don't have that problem because the pro-rata rule applies separately at the plan level, not mixed with your IRA balances.

This is a real issue. I had a rollover IRA from an old job and didn't realize the pro-rata rule would apply until I filed. The Form 8606 lines 6 through 14 work out the taxable portion based on your total traditional IRA balance at year end, not just the account you converted from.

Derek A.

Author

This is actually my situation — I have an old rollover IRA. So my backdoor conversions haven't been fully tax-free. I need to look at my prior Form 8606s.

I ran into the same pro-rata problem last year. Uploaded my Form 8606, 1099-R, and rollover IRA statement to taxr.ai and it walked through each line of the form showing me exactly which portion of my conversion was taxable given my year-end IRA balance. Saved me from filing wrong. That said, the after-tax 401k route sidesteps pro-rata entirely if your plan keeps the after-tax bucket tracked separately, which most modern plans do. Still worth confirming with HR what your plan document says about how earnings are tracked on after-tax contributions.

Derek A.

Author

Really helpful. So for people with rollover IRAs, the after-tax 401k mega backdoor might be cleaner specifically because pro-rata doesn't bleed over from IRA balances?

Exactly. The 401k pro-rata situation is contained within the plan. It doesn't interact with your traditional IRA balances at all. That separation is the main practical advantage for people stuck with the pro-rata issue on the IRA side.

Worth noting that not every 401k plan allows after-tax contributions at all, and of those that do, not all allow either in-plan conversions or in-service distributions. You need all three features to do the full mega backdoor Roth. If your plan allows in-plan conversion but not in-service rollovers, your Roth money stays inside the 401k until you separate from the employer.

My plan allows in-plan conversion but blocks in-service rollovers until age 59½. So I'm building Roth balance inside the 401k, not in a Roth IRA. Different but still tax-free growth going forward.

The Form 1099-R you get after a Roth conversion inside the plan will show a distribution code. After-tax basis comes out tax-free but earnings are ordinary income in the year of conversion. If you're doing this mid-year and earnings have grown, your plan or recordkeeper should give you a breakdown of the taxable versus nontaxable portion. Keep that document — you'll need it to report correctly on your tax return.

Derek A.

Author

Is that breakdown something I report on Form 8949 or somewhere else? I want to make sure I'm putting it on the right form.

Not Form 8949 — that's for capital gains sales. A Roth conversion is reported on Form 1040 as ordinary income using the 1099-R. The taxable earnings portion flows to line 5b on Form 1040. No Schedule D involved.

The backdoor Roth is cleaner administratively if your situation is simple — no existing traditional IRA balance and you just want to contribute the annual IRA limit. Two steps: nondeductible contribution, then convert. File Form 8606 to establish basis and report the conversion. Done. The mega backdoor involves more plan coordination and a lot depends on whether your recordkeeper tracks the after-tax sub-account accurately.

Had my after-tax 401k statements and the in-plan conversion notice from my recordkeeper reviewed through Taxr — it flagged that my plan was calculating the taxable earnings window differently than I expected because they swept contributions monthly rather than immediately. Helped me see the actual taxable amount before I filed. Anyway, on your actual question: the two strategies aren't either/or. Max your after-tax 401k and convert fast to minimize taxable earnings, while also doing the backdoor Roth IRA if you don't have a pro-rata problem. If you do have a rollover IRA, prioritize the 401k route.

Derek A.

Author

Monthly sweep timing is exactly the kind of thing I would have missed. So even if I contribute Jan 1, if the plan only sweeps monthly the earnings on that contribution sit taxable for up to a month before converting?

Correct. It's usually a small amount but it's real. Some plans let you trigger the conversion on demand, others run on a schedule. Worth knowing your plan's mechanics before you assume you're getting a clean conversion.

Administratively the mega backdoor is more moving parts but the capacity dwarfs the IRA. The IRA annual limit is capped — check IRS Topic 451 or the IRA instructions for the current year figure. The after-tax 401k can absorb significantly more because it uses the overall plan limit rather than the elective deferral limit. For someone who has maxed everything else and still has savings capacity, it's not really a comparison — you do both.

Just make sure your 401k plan passes nondiscrimination testing. After-tax contributions by HCEs can get refunded if the plan fails the ACP test, which would unwind some of what you contributed. It's the plan sponsor's problem to fix but you'd get a check back and have to figure out what to do with it.

This actually happened at my company two years ago. Got a refund of some after-tax contributions in the following calendar year and had to figure out the tax treatment. It was confusing. Worth knowing the risk exists even if most plans manage it.

For the backdoor Roth specifically: your basis in the nondeductible traditional IRA contribution is tracked on Form 8606 year over year. If you've been doing this for two years and have a rollover IRA affecting the pro-rata calculation, your Form 8606 line 14 carryover basis may not be what you think. Worth pulling your last two years' filed returns and checking that line 14 flows correctly from year to year.

Derek A.

Author

I'm going to do this. I honestly didn't track whether line 14 carried correctly. If I've been underreporting taxable income on conversions that's a problem I need to fix.

If the basis carryover is wrong you may need to file amended returns. That's worth talking to a CPA or enrolled agent about before you do anything, since it affects multiple years.

The holding period question also differs. Roth IRA has its own 5-year clock starting from the first year you contribute or convert to any Roth IRA set up for you, not a separate clock per account. In-plan Roth conversion inside the 401k also has a 5-year clock but it runs separately from your Roth IRA clock. If you later roll the in-plan Roth to a Roth IRA, Publication 590-B covers how the clocks interact. It matters for qualified distributions.

Worth adding on the pro-rata issue: I had four years of backdoor Roths where I'd been ignoring my rollover IRA balance and I had no idea how wrong my Form 8606 filings were. Fed my 1099-Rs, Form 8606 copies, and year-end IRA statements into Taxr and it reconstructed the correct basis carryforward for each year showing me what lines 6, 11, and 14 should have been. Needed amended returns for two years. The after-tax 401k path would have been much simpler for my situation, and the earnings piece — yes, they're taxable at conversion, ordinary income rates, but if you convert fast they're minimal.

Derek A.

Author

This is a wake-up call for me. I need to verify my own Form 8606 carryforward before I do another conversion. Might be time to talk to an enrolled agent if I've been filing this wrong.

An enrolled agent or CPA who handles investment income is the right call if you're amending multiple years. Get it right before it compounds further.

One practical point: if you roll your after-tax 401k dollars out to a Roth IRA (not an in-plan conversion), the after-tax contributions go into the Roth IRA as converted basis, not as contributions. The 5-year rule on conversions for early withdrawal purposes only hits the part that was taxable when converted, so the after-tax basis itself isn't penalized — but any earnings you converted are, and the ordering rules pull out that taxable part before the after-tax part. Matters if you might need the money before 59½.

To answer the original question directly: neither is strictly better — they serve different capacity needs and have different administrative requirements. After-tax 401k can hold far more and avoids IRA pro-rata. Backdoor Roth IRA is simpler when you have no existing traditional IRA balance. Earnings on after-tax 401k contributions are taxable as ordinary income when converted. Minimize that by converting quickly after each contribution.

The pro-rata point is what makes the after-tax 401k route genuinely superior for people who can't easily clean up their traditional IRA balance — like those who can't do a reverse rollover into their current 401k.

The IRS digital assets page won't help here, but Publication 590-B at irs.gov covers the Roth IRA distribution rules including the 5-year clocks in detail. And irs.gov/publications/p550 covers holding periods and basis tracking for investments generally. The Form 8606 instructions are the most direct resource for working through the pro-rata calculation line by line.

Derek A.

Author

Thank you. I'm going to pull the Form 8606 instructions and my last two years of returns and work through the basis carryforward. And talk to an EA before I file this year given the rollover IRA situation.