Traditional vs Roth vs brokerage account with zero percent long-term capital gains rate

Trying to figure out the most tax-efficient way to hold investments across my accounts. I have a traditional IRA, a Roth IRA, and a taxable brokerage account. I know there's a zero percent long-term capital gains rate that kicks in if your taxable income is low enough, but I'm not sure how distributions from the traditional IRA interact with that — like, does pulling money from the traditional push me out of the zero percent bracket even if my actual investment gains are modest? And does it even make sense to realize long-term gains in the brokerage in a year when I'm doing Roth conversions? I've read the Schedule D instructions and Publication 550 but I couldn't find anything that directly compared all three account types together. Looking for anyone who has actually mapped this out or run the numbers.

39 comments

Schedule D and your overall taxable income are the key link here. Traditional IRA distributions land on Form 1040 line 4b as ordinary income. That ordinary income fills up the lower brackets first, which uses up part of the fixed taxable income space under the zero percent long-term capital gains threshold — meaning less room for gains taxed at zero percent. The zero percent rate applies to the portion of your long-term gains that falls within a certain taxable income ceiling, and ordinary income sits below the gains in the stacking order. So yes, a Roth conversion or a traditional withdrawal directly competes with the zero percent space.

Sam B.

Author

That stacking order piece was what I was missing. So the traditional distribution and Roth conversion both count as ordinary income that fills from the bottom up, and the gains only get whatever space is left at the top of the zero percent bracket.

Roth distributions in retirement are generally not included in your gross income at all (assuming the account is qualified), so they don't eat into the zero percent space the way a traditional withdrawal does. That's the structural advantage people talk about when they say Roth is good for "tax diversification." In a year where you want to harvest gains at zero percent in your brokerage, Roth spending keeps your taxable income clean.

Publication 590-B covers the qualified distribution rules for Roth IRAs if you want the exact conditions — the five-year rule and age requirement both matter there.

Sam B.

Author

Right, I knew Roth distributions were tax-free but hadn't connected the dots that they're invisible to Schedule D calculations too.

I uploaded my 1099-R, my brokerage 1099-B, and a draft of Schedule D to taxr.ai last spring when I was trying to figure out the same stacking question. It read through each form and mapped out how the IRA distribution showed up on line 4b and where my long-term gains landed relative to the income threshold — showed me the exact dollar difference between what I had left in the zero percent window and what I actually realized. That walkthrough made the interaction between the accounts concrete in a way the instructions alone didn't. The rate itself turns on your filing status and taxable income for the year; Publication 550 and the Schedule D instructions both have the worksheets.

Sam B.

Author

Useful to know it can read across the forms at once. My situation has the same three documents and the stacking question is exactly what I'm stuck on.

Worth being precise about what "taxable income" means for the threshold. It's after the standard deduction or itemized deductions, not gross income. So if you have significant deductions, you have more room than a raw income number suggests. That means the same traditional distribution can be less damaging in a year with large deductions. Run the actual 1040 lines before assuming you've used up the zero percent space.

Form 1040 line 15 is what feeds into the rate calculation — taxable income, not AGI. Easy to mix those up.

Exactly. AGI is an intermediate line. The rate threshold compares against taxable income on line 15 after everything is subtracted.

The brokerage account is the only place where the zero percent rate directly applies to investment gains as gains. Inside a traditional IRA everything eventually comes out as ordinary income regardless of how it grew — dividends, capital gains, all of it converts to ordinary income on 1040 line 4b when distributed. So asset location matters: assets that would throw off long-term gains are often better placed in the brokerage if you plan to use the zero percent rate, while bond-heavy or high-turnover assets that would generate ordinary income anyway fit the tax-deferred accounts.

That asset location point flips how I used to think about it. I always assumed "put growth assets in the Roth" was the universal rule, but the zero percent angle changes the calculus for the brokerage.

The Roth is still great for high-growth assets you'll never touch until retirement and want tax-free. The brokerage with the zero percent rate is for assets you'll sell in a year when your income is controlled. Different tools.

One complication: net investment income tax (NIIT) can apply even when your long-term gains rate is zero percent, depending on your modified AGI. They use different thresholds. So you could technically be in the zero percent long-term gains bracket on Schedule D and still owe NIIT on investment income. Worth checking Form 8960 if your income is in a range where it might apply.

Sam B.

Author

Had no idea those two calculations were separate. So the zero percent bracket on Schedule D doesn't automatically mean zero total tax on the gains.

Form 8960 and its instructions lay out the threshold and the calculation. The NIIT threshold is a fixed number by filing status and doesn't adjust with inflation the way the capital gains brackets do.

Form 8606 is the one that keeps biting people in this scenario. If you ever made nondeductible contributions to a traditional IRA, you have basis, and distributions are only partly taxable — the nontaxable portion doesn't fill up ordinary income space the same way a fully taxable distribution does. I ran my situation through Taxr when I had a mix of deductible and nondeductible traditional IRA contributions and wanted to see how much of a distribution would actually be ordinary income versus a return of basis. It read through my prior Form 8606s and worked out the pro-rata calculation so I could see how much income I was actually adding to 1040 line 4b before realizing gains in the brokerage.

Sam B.

Author

My traditional IRA is all pre-tax contributions so I think I skip the Form 8606 complication, but good to flag for anyone with a mix.

The pro-rata rule means you can't just pull from the nondeductible portion selectively — the fraction of basis applies across all your traditional IRA balances, not just the account you withdraw from. Publication 590-B has the worksheet for figuring that out.

Roth conversions are interesting in this context. A conversion is ordinary income the year you convert, same as a traditional distribution, so it pushes up line 4b. But the future growth in the Roth is then tax-free and invisible to future income calculations. The strategic move some people use is to convert just enough in low-income years to fill up the zero percent long-term capital gains space — without actually crossing the threshold — then in the same year harvest gains in the brokerage. Both happen at zero or near-zero marginal cost if the math works out.

The challenge is that the conversion and the gain realization are both in the same tax year, so you're estimating income before the year closes. Getting it wrong means you pushed yourself out of the zero percent bracket unintentionally.

True, which is why people run this in December with a pretty clear view of their income for the year. Any unexpected income — a freelance payment, a year-end dividend — can shift the calculation.

Something to remember about wash sales in the brokerage account: if you're harvesting gains at zero percent, wash sale rules don't apply to gains, only to losses. But if you're doing tax-loss harvesting in the same account around the same time, the 30-day window applies. Disallowed wash sale losses get coded W in column (f) of Form 8949 and the amount goes in column (g) — it carries into the new shares' basis rather than disappearing. Mixing gain harvesting and loss harvesting in the same period requires tracking which sales are which.

Sam B.

Author

Not doing loss harvesting right now but good to have the Form 8949 mechanics straight in case I end up with both in the same year.

The holding period question trips people up too. For the zero percent rate to apply, the gain has to be long-term — held more than one year. For securities on an established exchange, the holding period starts the day after the trade date you bought and ends on the trade date you sell. Settlement date doesn't count. If you're close to the one-year mark, check the actual trade dates before you sell, not the calendar date you remember buying.

Brokerage statements usually show the acquisition date and whether a lot is short or long term. Worth double-checking against the 1099-B when it arrives because I've seen lots get miscategorized.

For anyone doing this across multiple tax lots in the brokerage: the specific identification method lets you choose which lot you're selling, so you can target the lots that are both long-term and have the most gain to harvest at zero percent. If you don't elect specific ID, your broker defaults to FIFO or their own default method, which might hand you short-term lots or lots with less gain than you wanted. Make the election with the broker before the sale, not after.

Specific ID confirmed in writing with the broker at the time of sale is the requirement. Some brokers let you set it account-wide as the default method, which simplifies things.

My broker lets me select the lot in the trade confirmation screen. That selection is the specific ID election as long as it's confirmed before settlement.

Coordinating all three accounts in the same tax year is genuinely complicated. I had a Roth conversion, some brokerage gain harvesting, and a small traditional distribution all in the same year and I uploaded my draft 1040, the 1099-R, and the 1099-B to Taxr to check whether the stacking was working the way I thought. It went line by line — 4b for the distributions and conversion, then the Schedule D calculation — and flagged that my estimated taxable income put me right at the edge of the zero percent threshold, closer than I'd calculated by hand. Helped me decide not to realize one more lot that year.

Sam B.

Author

That edge-case catch is exactly what I'm worried about. Easy to be off by a few hundred dollars and suddenly a lot goes from zero to fifteen percent.

Topic no. 409 on irs.gov walks through the capital gains rate structure, including which income level gets zero percent, fifteen percent, and twenty percent. The exact thresholds adjust, so checking the current-year Schedule D instructions or the qualified dividends and capital gain tax worksheet in the Form 1040 instructions is the right move before finalizing anything.

The qualified dividends and capital gain tax worksheet is embedded in the 1040 instructions and is what actually computes the rate — Schedule D line 20 points you to it. Running that worksheet with your projected numbers is the most direct way to see how much zero percent space you have left.

Cost basis inside a traditional or Roth IRA is irrelevant for the capital gains rate because you never report gains inside those accounts on Form 8949 or Schedule D. Only the distributions show up, as ordinary income for traditional. The zero percent rate is exclusively a brokerage account mechanism in practice — which is why asset location between accounts actually matters for someone trying to use it.

That's a clean way to put it. The IRA accounts are a different tax system entirely for gains purposes. Form 8949 and Schedule D only see the brokerage.

Inherited property in a brokerage account gets long-term treatment automatically regardless of how long the beneficiary held it — the IRS rules on holding periods for inherited assets treat it as long-term from the start. Basis is generally the fair market value at the date of death. If you inherit appreciated shares and the estate had to file Form 706, you'd need to check Schedule A of Form 8971 for the estate tax value, which is what you'd use as your basis.

Sam B.

Author

Not in an inheritance situation but that's a good thing to know — especially the Form 8971 piece, which I'd never heard of.

To bring it back to the original question: traditional IRA withdrawals and Roth conversions are ordinary income that reduces your zero percent space from the bottom up. Roth distributions (qualified) add nothing to taxable income and don't touch your zero percent space at all. The brokerage account is where long-term gains get the zero percent rate. The strategic goal is to control ordinary income in the year you harvest gains — that means sizing traditional distributions and Roth conversions carefully so you leave room on Schedule D.

Sam B.

Author

This is the clearest summary of how the three accounts interact. I'm going to map out my projected 1040 lines for this year before selling anything in the brokerage.