Should I realize long-term gains in a low income year at 0 percent?

This year I took a sabbatical so my W-2 income is going to be way lower than usual. I've been holding some ETF positions for over two years with significant unrealized gains. Someone mentioned that if your taxable income stays below a certain threshold you can realize long-term gains at 0 percent. I ran some rough numbers in my head and I think I might qualify, but I'm not sure how to figure out exactly how much I can sell before I tip into the 15% bracket. I already know the positions are definitely long-term because I've held them all more than a year. Do I just look at my projected taxable income after deductions and compare it to the threshold? And does the standard deduction count as reducing the income for this purpose? Not trying to get greedy, just want to make sure I understand the mechanics before I sell anything.

33 comments

Schedule D is where this plays out. Your long-term capital gain rate depends on your taxable income, which is after the standard deduction (or itemized, whichever you take). So yes, the standard deduction does reduce the income that gets compared to the bracket threshold. The IRS Qualified Dividends and Capital Gain Tax Worksheet inside the Schedule D instructions walks you through the exact calculation — it separates your ordinary income from your preferential rate income and applies the 0% rate to the portion that fits.

Paul V.

Author

That worksheet is exactly what I was looking for. So I should be filling that out with estimated numbers before I sell anything, not after?

Correct. Run it as a projection with your expected year-end taxable income including the gain you're considering. That shows you the exact dollar of gain where the rate flips. Sell up to that line, not past it.

Topic no. 409 on the IRS site covers the capital gains rate tiers and says the rate that applies is determined by your taxable income for the year. Since you're asking about a year in progress, the key variable is your total ordinary income plus the gains, minus deductions. One thing to watch: qualified dividends in the same account also compete for that 0% space. If you're receiving dividends from those ETFs they eat into the room before you get to realized gains.

Paul V.

Author

Hadn't thought about the dividends. My ETFs do kick out some qualified dividends through the year so I need to factor those in.

Exactly. Pull your year-to-date 1099-DIV activity and add qualified dividends to the gain you're planning to realize. All of it goes through the same worksheet stacked on top of your ordinary income.

The holding period question matters too. Publication 550 at irs.gov is clear that for securities traded on an established market, the holding period starts the day after the trade date you bought and ends on the trade date you sell — not settlement. So double check the actual trade dates on your positions, not the settlement dates, when confirming they're long-term.

I ran into this same planning question last year. I uploaded my brokerage statements and my draft Schedule D to taxr.ai and had Taxr map out exactly how much room I had at the 0% rate given my projected ordinary income and the qualified dividends already received. It listed each position, the estimated gain, and how the worksheet stacked them. Really saved me from eyeballing it and getting the wrong number. Ended up realizing less than I thought I could — the dividends had eaten more room than I expected.

Paul V.

Author

That's the exact scenario I'm worried about — thinking I have more room than I do. Good to know the stacking order matters that much.

Worth being careful about wash sales if you're planning to immediately rebuy the same ETF after selling. If you sell at a gain there's no wash sale issue — wash sales only apply to losses. But if any of your positions happen to be at a loss and you're thinking of harvesting those too in the same transaction window, that's where the 30-day rule kicks in.

Publication 550 backs this up — wash sale rules apply only when you sell at a loss and buy substantially identical securities within 30 days before or after. Gains are outside that rule entirely.

Paul V.

Author

All the positions I'm considering are at gains so the wash sale piece doesn't apply here, but good to flag for anyone else reading.

One thing the worksheet makes clear is that your long-term gains don't just sit at the bottom of the income stack automatically. The Qualified Dividends and Capital Gain Tax Worksheet inside the Schedule D instructions puts your ordinary income first, then stacks preferential income on top. So if your ordinary income already fills part of the 0% bracket, only the remaining space is available for gains at that rate.

Form 8949 is what you'll actually use to report each sale. Part II, box D (or E if basis isn't reported to IRS). Then it flows to Schedule D line 8b or through line 8a if you qualify for the Exception 1 shortcut — which you can use if there are no adjustments and basis was reported. Either way Schedule D line 15 feeds the net long-term gain into the worksheet.

Paul V.

Author

So I'd use box D on Part II since these are long-term ETF shares held in a taxable brokerage account where basis is definitely reported. Got it.

Right, box D for covered securities with basis reported to the IRS. The 1099-B you get in January will confirm whether they're covered. Most ETF shares bought in recent years are covered securities.

State taxes are a separate issue. The 0% federal rate is a federal rule only. Some states tax long-term capital gains the same as ordinary income, so realizing gains in a low-income year might still create a state bill. Worth modeling both together before you sell.

My state lumps capital gains into ordinary income so a year where I had low wages but big gains still hit me harder than expected at the state level. The federal side was fine.

Are you in a year where you might also qualify for things like the premium tax credit or other income-based credits? Realizing gains increases your MAGI, which affects a lot of those calculations. The 0% rate on the gains is great but pushing income higher can phase out credits or trigger other thresholds.

If you're close to the edge of the 0% bracket, consider doing this in stages. Sell part now, see where your income lands by November, then sell more in December after you have a clearer picture of the full year. Estimated tax timing is easier to manage that way too.

Form 6251 is worth a look if you've ever exercised ISOs, but for plain ETF gains that's not a factor. What I'd actually suggest is building out the Schedule D worksheet as a projection spreadsheet. I had Taxr read through my projected 1099-B and the prior year Schedule D together and it built out the stacking calculation showing exactly where the rate change happened — column by column. Much easier than doing the worksheet by hand five times with different sale amounts.

Paul V.

Author

This is exactly what I need — not just a yes/no but the actual number where the rate flips. I'll try building the projection and see where I land.

The day-after rule for holding period is worth double-checking if any of your positions were bought near a date boundary. Publication 550 says you start counting the day after the trade date you bought, and the sale trade date itself counts as the last day. So a position bought on a date more than one year ago by trade date is long-term — but just barely qualifying ones deserve a close look at your confirmation slips.

Paul V.

Author

All of mine are well over two years so I'm not worried about the boundary, but that's a good detail to flag for anyone cutting it closer.

Something I haven't seen mentioned: if you're not working next year either, you might actually be better off spreading the gains across two low-income years rather than realizing everything at once. Realizing a large gain in a single year might push part of it above the 0% threshold even if the total looks manageable at first glance. Run the worksheet for both years side by side.

Schedule D line 15 is what ultimately determines your net long-term gain, and that feeds directly into the rate worksheet. When I was doing this planning last year I showed Taxr my draft Schedule D alongside a summary of my projected W-2 and dividend income, and it walked through the worksheet line by line and flagged that my qualified dividends were counted before my realized gains, so I had less 0% room than I thought. Helped me calibrate how much to sell before year-end.

Paul V.

Author

The qualified dividend stacking issue keeps coming up in this thread and I keep underestimating it. I need to pull my actual YTD dividend figure before I make any moves.

That's the right call. The year-to-date 1099-DIV data from your brokerage account activity should show it. Some brokerages also let you download a projected 1099 mid-year which is even more useful for this kind of planning.

To confirm the mechanics: the standard deduction does reduce what counts as taxable income for this test. So your gross income minus above-the-line adjustments gives AGI, then minus the standard deduction (or itemized) gives taxable income, and that's the number that determines how much 0% rate space you have. The Qualified Dividends and Capital Gain Tax Worksheet in the Schedule D instructions shows each step.

My 1040 from a low-income year looked exactly like this. Taxable income after standard deduction was the controlling figure and it was noticeably lower than my AGI.

Publication 550 and the Schedule D instructions are both worth bookmarking for this. The IRS page on Topic no. 409 gives the top-level overview of how rates are determined. For the actual computation mechanics the Schedule D instructions are more specific. Reading them together gives you the full picture.

Paul V.

Author

I'll read both before I do anything. This thread has been really useful — the main thing I'm taking away is to build the projection worksheet using estimated year-end numbers including dividends, then set my sell amount to stay inside the 0% space.

One scenario nobody's raised: if you have capital loss carryovers from prior years, those reduce your net long-term gain on Schedule D before the 0% rate even applies. So if you're carrying forward losses, you might need to realize more gain than you think to actually get the same after-tax benefit. The carryover worksheet in the Schedule D instructions handles that calculation.