Early retirement withdrawals taxable brokerage long-term capital gains vs Roth IRA penalty — which way actually costs less?

Trying to figure out the most tax-efficient way to pull money early for a gap year before 59½. I have three buckets: a taxable brokerage with appreciated index funds held over a year, a traditional IRA, and a Roth IRA (contributions only, no conversions). The taxable account would trigger long-term capital gains. The traditional IRA would be ordinary income plus the 10% early withdrawal penalty on Form 5329. The Roth contributions come out penalty and tax free but I want to keep that account growing. I've read that early retirement withdrawals from a taxable brokerage vs long-term capital gains vs Roth IRA penalty all land differently depending on your other income that year. My other income during the gap year will be low. Does the order I draw from actually change my federal tax bill meaningfully, or am I overthinking this?

34 comments

Went through almost the exact same decision two years ago. The order absolutely matters. Long-term capital gains rates depend on your total taxable income for the year, so in a low-income gap year you might be in the 0% LTCG bracket — check the Schedule D instructions for the qualified dividends and capital gain tax worksheet to see where your income lands. Meanwhile every dollar out of the traditional IRA is ordinary income and stacked on top of that, and you still owe the 10% penalty unless an exception on Form 5329 applies. Roth contributions are always penalty and tax free regardless of age. So the brokerage first (up to whatever keeps you in the favorable rate), Roth contributions second if needed, traditional IRA last would be my general ordering.

Elena B.

Author

Thanks, that's the ordering I was leaning toward. I'll pull the Schedule D worksheet and see where my projected income sits before I do anything.

I was mapping out something similar last spring. I uploaded my brokerage 1099-B and my IRA statements to taxr.ai and Taxr laid out exactly how much of my gain would be taxable at each rate given my other income, flagged the Form 5329 penalty line on the IRA side, and built a side-by-side comparison so I could see the difference before I touched anything. Made it a lot easier to see the gap between the two options on paper. The core point still stands: LTCG from a taxable account held more than one year is a separate rate calculation from ordinary income, and the traditional IRA early withdrawal adds both ordinary income and a penalty, so in a genuinely low-income year the brokerage account tends to win.

Elena B.

Author

Really helpful to know it can do a side-by-side like that. I'll try uploading my documents.

The 1099-B comparison piece is what I wish I'd done before I pulled from the wrong account. Cost me way more than I expected.

Worth being precise on the Roth piece. Contributions come out tax and penalty free at any age, but earnings don't — earnings before 59½ are subject to income tax and the 10% penalty unless an exception applies. So if your Roth has grown a lot, make sure you're only touching the contribution layer, not earnings. Your custodian tracks this but it's on you to know the split. Publication 590-B at irs.gov covers the ordering rules for Roth distributions.

Elena B.

Author

Good catch — I had assumed the whole account was contributions but I should verify the actual breakdown with my custodian.

This is the part most people get wrong. The ordering rules are contributions first, then conversions, then earnings, and each layer has different tax and penalty treatment.

Low-income gap year is the key phrase here. If your total income stays below the threshold where LTCG rates kick in, you can harvest gains from the taxable brokerage and owe zero federal tax on them. The threshold is in the Schedule D instructions or the qualified dividends and capital gain tax worksheet in the Form 1040 instructions. Stacking IRA withdrawals on top of that could push you past the threshold and suddenly some of those gains get taxed, plus you have the penalty on top. It's worth running the numbers with your projected income before you decide how much to take from each bucket.

Elena B.

Author

This is exactly the stacking risk I was worried about. I'll model it out before I commit to any amount.

Retired at 57 and spent a lot of time on this exact question. I actually handed my Form 1099-B, my IRA distribution statement, and my projected income sheet to Taxr and it walked through the Schedule D capital gain worksheet numbers, checked where the penalty would show on Form 5329 line 4, and drafted a summary comparing the after-tax cost of each withdrawal path given my income level. That draft was what I brought to my CPA to finalize — she made a couple of adjustments but the framework was right. For what it's worth, in my situation the taxable brokerage LTCG came out ahead by a significant margin because my gap-year income was low enough to stay in the favorable rate band.

Elena B.

Author

Bringing a pre-built comparison to a CPA sounds like the right move. I'll put something together first so the conversation is actually productive.

The Form 5329 line 4 detail is useful — that's where the 10% penalty gets calculated before it flows to Schedule 2. Good to know exactly where it shows up.

Don't overlook state taxes in this. The federal LTCG rate might be favorable but several states tax capital gains as ordinary income anyway. If you're in one of those, the state-level gap between the brokerage and the IRA shrinks or disappears. This is a federal-only thread so I won't go deeper but flag it for your overall planning.

One thing I want to flag about the traditional IRA: the 10% early withdrawal penalty has a list of exceptions — things like substantially equal periodic payments under section 72(t), certain medical expenses, health insurance premiums while unemployed, and others. If any of those apply to your situation the penalty calculus changes. Form 5329 has the exception codes and you'd enter the right one to avoid the penalty on that portion. The IRS page for Form 5329 lists all current exceptions. Worth checking before you assume you owe the full 10%.

Elena B.

Author

Thanks — I'll look through the exception codes on Form 5329. I don't think any apply to me but worth confirming.

Came at this from the opposite direction: I pulled from the IRA first without thinking and then realized I had long-term gains sitting in my brokerage that would have been taxed at a lower rate given my income that year. The ordinary income from the IRA withdrawal pushed my AGI up and ended up partially phasing in tax on some Social Security income too (different situation, but the stacking effect was real). Do the ordering math before you touch anything.

The AGI stacking effect is underrated. People focus on the penalty and forget that ordinary income from an IRA can ripple into other parts of the return.

Elena B.

Author

This is a helpful cautionary example. I'll definitely map out the full AGI picture before deciding.

If you haven't looked at Publication 550 on irs.gov, the section on holding periods is worth a quick read. For securities traded on an established exchange, the holding period starts the day after the trade date you bought and ends on the trade date you sold. So make sure your index funds are genuinely over one year from trade date to trade date before you assume long-term rates.

Good reminder — trade date not settlement date, and the day you buy doesn't count, the day you sell does.

Has anyone modeled what happens if you do a Roth conversion ladder instead of pulling from the brokerage? You convert some traditional IRA to Roth each year in a low-income year, pay ordinary income now but no penalty since conversions aren't early distributions, then access those converted amounts five years later. It's a longer runway but avoids touching the brokerage gains.

The five-year rule per conversion is the catch — each conversion amount has its own five-year clock before it's penalty-free. If you're only a few years from 59½ it might not be worth the complexity.

Elena B.

Author

Interesting idea but I need the money within a year or two so the conversion ladder timeline doesn't work for my situation.

Straightforward way to think about it: every dollar from the traditional IRA before 59½ costs you your marginal ordinary income rate plus 10% unless an exception applies. Every dollar from the taxable brokerage that qualifies as long-term capital gain costs you the LTCG rate that applies at your total income level, with no penalty. In a low-income year those two numbers can be very far apart. The Form 1040 instructions have the qualified dividends and capital gain tax worksheet which shows you the exact breakpoints.

Went through a gap year at 55 and pulled from all three accounts without mapping it out first. Ended up with a bigger tax bill than expected because the IRA distributions bumped my ordinary income up into a higher bracket and also made more of my LTCG taxable. I wish I'd done a dry run on paper before making any moves.

Elena B.

Author

Thank you — this is exactly the kind of outcome I'm trying to avoid. Doing the dry run first.

To be specific about reporting: when you sell shares from the taxable brokerage you'll get a 1099-B and report those sales on Form 8949 (long-term transactions go in Part II, boxes D or E depending on whether basis was reported to the IRS) and then carry to Schedule D. For the IRA withdrawal you'll get a 1099-R and that goes on Form 1040 line 4 for traditional IRA distributions. If the penalty applies, Form 5329 calculates it and it flows to Schedule 2 line 8.

Good to have the actual form flow spelled out. 1099-B to Form 8949 to Schedule D for the brokerage, 1099-R to Form 1040 and Form 5329 for the IRA. Keeps it organized.

Worth saying plainly: if the amounts involved are large or your income situation is complicated, an enrolled agent or CPA who specializes in retirement income is worth the cost. The interaction between ordinary income, LTCG rates, the penalty exceptions, and potential ACA premium credit clawback (if that's part of your picture) gets complicated fast. A one-time planning session before you make any moves can save a lot.

Elena B.

Author

Agreed — I'll do my own modeling first and then bring it to an EA or CPA before I actually pull the trigger on anything.

Coming back to the Roth point since it's central to your question: the reason Roth contributions are so valuable in this scenario is precisely because they're the one bucket with no tax and no penalty on withdrawal at any age. The trade-off is you're using up principal that can never be replaced (contribution limits cap what you can put back in). So the right framing might be: use the taxable brokerage LTCG up to whatever keeps you in the favorable rate, then Roth contributions only as a backstop, never the IRA unless an exception applies.

Practical next step: estimate your total income for the gap year excluding any investment withdrawals, then look at the qualified dividends and capital gain tax worksheet in the Form 1040 instructions to find how much room you have before LTCG becomes taxable. That gap tells you exactly how much you can pull from the taxable brokerage at the favorable rate. Whatever you still need beyond that, Roth contributions are next. The IRA is a last resort unless a Form 5329 exception genuinely applies.

Elena B.

Author

This is the clearest action plan from the thread. Estimating the room on the LTCG worksheet first, then deciding amounts. Thank you all — this thread gave me a real framework to work with.