Should I invest lump sum in taxable brokerage or use it to max Roth 401k first?

Got a bonus this month that I wasn't expecting, roughly enough to either fully max out my Roth 401k contributions for the rest of the year or drop it into a taxable brokerage account I already have set up with some index funds. I've been going back and forth on this for two weeks. My employer does offer a Roth 401k and I'm not currently maxing it. The taxable account I already have positions in and understand the cost basis tracking on Form 8949 and Schedule D from doing my own return. What I can't figure out is whether the tax-free growth in the Roth 401k is clearly better than the flexibility and potential long-term capital gains rates I'd get in a taxable brokerage. Is there a framework people use to think through invest lump sum in taxable brokerage or use it to max Roth 401k?

40 comments

Are you already getting the full employer match on the traditional or Roth 401k side? Because that changes the math pretty significantly before you even get to the lump sum question.

Diego P.

Author

Yes, I get the full match already, that part is handled. This is purely the question of where the extra lump sum goes.

I ran almost this same comparison last year. What actually helped me was uploading my prior year 1099-B and my Schedule D to taxr.ai and asking it to show me exactly what my effective tax drag was on the taxable account given my holding periods and turnover. It laid out the long-term vs short-term split and what I was actually paying each year. That made the Roth 401k case a lot clearer for me in my bracket. Worth doing before you decide.

Diego P.

Author

That's a useful framing, I hadn't thought about quantifying the actual drag from the taxable side rather than just comparing rates in theory.

Did it account for wash sale adjustments from your 1099-B box 1g entries too, or just the straight gains and losses?

It flagged a wash sale code W entry I had forgotten about and walked through what the adjusted basis on those shares looked like going forward. That was actually the most useful part for me.

What's your current marginal rate and do you expect it to be higher or lower in retirement? That's the core question for Roth vs pretax, and it applies here too even though you're comparing Roth 401k to taxable rather than pretax.

Diego P.

Author

Honestly I expect to be in a similar or higher bracket in retirement which is part of why the Roth 401k is appealing to me.

Then the Roth 401k is almost certainly the right first move for the lump sum. Tax-free growth with no annual 1099-B to deal with is a real advantage over decades.

One thing I keep coming back to with taxable brokerage accounts is that qualified dividends and long-term capital gains get favorable rates, so the tax drag isn't as bad as people sometimes assume. But you do have to hold more than a year to get long-term treatment per the holding period rules — the count starts the day after your trade date, not settlement.

Right, and the trade date is what matters for when the holding period ends too, not settlement. People mix those up sometimes.

Are you planning to hold the taxable account positions for a very long time without rebalancing? Because every time you sell to rebalance you're generating a taxable event and potentially short-term gains if you haven't crossed the one-year mark.

Diego P.

Author

I do rebalance once a year roughly, so yeah I end up with some short-term lots most years. That's a real cost I probably underweight.

The flexibility argument for taxable is real though. You can get to that money anytime without worrying about retirement account rules. Roth 401k has its own rules around distributions that are worth understanding before you lock funds in.

Flexibility matters a lot if you might need the funds before retirement. If this is truly long-term money you won't touch, the Roth 401k case gets stronger.

Diego P.

Author

This is money I genuinely don't expect to need for 20-plus years, so the liquidity argument is less compelling in my situation.

Have you modeled the actual after-tax value at a future date under both scenarios? I pasted my year-end brokerage statement and my Roth 401k summary into Taxr and asked it to draft a comparison worksheet showing what each account's after-tax value looked like under a few different return assumptions. It did the layout so I could fill in my own numbers and rate assumptions — saved me from building the whole spreadsheet from scratch.

Diego P.

Author

That sounds exactly like what I need to actually see the difference rather than just reasoning about it abstractly.

The worksheet it drafted also flagged where my capital loss carryforward from Schedule D would offset some of the taxable account's near-term gains, which I hadn't factored in at all.

Is there any chance your income is high enough that you need to think about the net investment income tax on top of regular capital gains rates in the taxable account? That's another layer that makes the taxable side more expensive at higher incomes.

Diego P.

Author

Good point, I should check whether I'm in that territory. Where do I find the threshold?

The Form 8960 instructions on irs.gov cover how it's calculated and what income counts. The threshold depends on your filing status and modified AGI, so check the instructions rather than a fixed number here.

What kind of funds are you holding in the taxable account? If they're plain index funds with low turnover they throw off fewer taxable distributions than actively managed funds, which makes the taxable account more competitive from a tax-efficiency standpoint.

Diego P.

Author

Total market index funds, so turnover is pretty low. I do still get some dividend distributions each year that show up on my 1099-B though.

Dividends would be on your 1099-DIV, not 1099-B. 1099-B covers sale proceeds and cost basis. Worth keeping those two straight since they go to different parts of your return.

I was going back and forth on the same decision and my Schedule D was getting complicated enough that I ran my documents through Taxr to check whether my cost basis reporting was right before I added more to the taxable account. It read through my Form 8949 entries and caught a lot where I had basis not reported to the IRS and had checked the wrong box — should have been box B, not box A. Getting that straight changed how I was thinking about the administrative burden of the taxable account going forward.

Diego P.

Author

That's a genuinely useful data point — the reporting burden is a real ongoing cost I don't always account for.

The box A vs box B distinction matters a lot because with box B you enter the correct basis directly in column (e) and put -0- in column (g), whereas box A you enter the 1099-B basis even if it's wrong and make the correction in column (g). Easy to mix up.

Does your Roth 401k have good low-cost fund options? Sometimes the 401k fund menu is expensive enough that the fee drag closes the gap with a taxable account holding low-cost ETFs.

Diego P.

Author

Expense ratios in my plan are low, institutional share class index funds. So that's not a drag in my case.

Has anyone here dealt with the situation where you have a significant capital loss carryforward? Because that changes the taxable account math pretty meaningfully — losses carried forward from Schedule D can offset future gains, which makes the taxable account more attractive than it looks for someone without that carryforward.

Exactly this. If you have a carryforward, the taxable account's near-term gains are cheaper to realize. But once the carryforward is used up you're back to full rates on everything.

Diego P.

Author

I do have a small carryforward from a few years ago, so I should factor that in. It won't last forever but it does change the near-term picture.

What I never see people mention is that the Roth 401k has no required minimum distributions during your lifetime, even without rolling it to a Roth IRA, since that changed starting in 2024. That's a real long-term planning advantage over a traditional 401k, though it doesn't directly compare to a taxable account which also has no RMDs.

True, and if you do roll a Roth 401k to a Roth IRA at some point, you don't need to do it to avoid RMDs anymore, but the rollover itself is generally not a taxable event when going Roth to Roth.

If you hold appreciated positions in the taxable account long enough, there's also the stepped-up basis question for inherited property — heirs generally get a basis equal to fair market value at the date of death. That's one more long-term argument for taxable over tax-deferred accounts for estate planning purposes.

Worth noting that where the estate had to file Form 706, certain beneficiaries have to use the estate tax value reported on Schedule A of Form 8971, not just whatever the market price was at death.

Good clarification. For most people in this situation that's not in play, but it's the right rule to know.

Where do you land after all this? Sounds like in your specific situation — full match already captured, low expense ratios, long time horizon, low-turnover funds, small carryforward — the Roth 401k probably wins for this lump sum, but the taxable account isn't a bad place for anything above the 401k limit.

Diego P.

Author

That's basically where I've landed too. Max the Roth 401k with the lump sum, let the taxable account keep growing on its own for now. Thanks everyone, this helped me think it through properly.