Latest / The Tax Policy Podcast with Fexingo: Income Tax, Corporate Tax, and Fiscal Conversations / How the Tax Code Shapes Your Capital Gains Harvesting Strategy
Transcript
- Lucas: Most investors know about tax-loss harvesting — selling losing positions to offset gains. But far fewer know about the mirror image: capital gains harvesting. Selling winning positions intentionally, sometimes paying zero tax on the gains. Luna: Zero tax on gains? That sounds almost too good to be true. How does that actually work in practice? Lucas: It comes down to the 0% long-term capital gains bracket. As of 2026, for a married couple filing jointly, the 0% rate applies to taxable income up to roughly $94,050. That number is inflation-adjusted, so it creeps up a bit each year. If your total taxable income — including those gains — stays under that threshold, you pay zero federal tax on long-term capital gains. Luna: So the key is keeping total income low enough. But most people in their peak earning years are way above that. Who actually uses this? Lucas: It's most powerful for early retirees, people taking a sabbatical, or anyone who has a lower-income year. But here's the thing: even if you're working, you might be able to harvest gains if you can keep your other income low. Say you're a married couple earning $80,000 in ordinary income. You have room for about $14,000 in long-term capital gains before you hit the 15% bracket. That's a real opportunity. Luna: And the benefit is more than just avoiding tax this year, right? You also reset the cost basis. Lucas: Exactly. That's the real long-term play. You sell the shares, pay zero tax, then buy them back immediately. Your new cost basis is the higher price. Later, when you sell in retirement, you'll pay tax on a smaller gain. Over decades, this can shave thousands off your lifetime tax bill. Luna: But the wash-sale rule doesn't apply here for gains — only for losses. So you can buy back the same security the same day and it's fine. Lucas: Right. Wash-sale rules are only for losses. For harvesting gains, you can sell and repurchase immediately. No waiting period. That makes it very easy to execute. Luna: So what's the typical scenario? Someone with a concentrated stock position they've held for years? Lucas: That's one use case. But honestly, the most common is just opportunistic. You look at your portfolio at the end of the year. If the market's up and your income is lower than usual, you sell some winners. I'll give you a concrete example from this year. Let's say in July 2026, you have an S&P 500 index fund position you bought in 2020. It's up about 60%. Luna: And you sell enough to stay under the threshold. Lucas: Yes. If you're married and your total income is $60,000, you have about $34,000 of room in the 0% bracket. You can sell enough shares to realize $34,000 in long-term gains, pay zero tax, and rebuy immediately. Your cost basis resets to that higher level. Luna: One thing to watch out for: the gain itself counts as income for the threshold calculation. So if you realize $34,000 in gains, your total income becomes $94,000. That's right at the border of the 0% bracket for 2026. You don't want to accidentally cross it. Lucas: That's a crucial point. The gains stack on top of your other income. You have to calculate the total. And there's another lurking issue: the net investment income tax, or NIIT. If your modified adjusted gross income exceeds $250,000 for married couples, you pay an extra 3.8% on investment income. That kicks in well above the 0% bracket, so it's not a problem for most harvesters, but it's worth knowing. Luna: What about state taxes? Some states tax capital gains as ordinary income, so you might still owe state tax even if federal is zero. Lucas: Absolutely. Nine states have no income tax, which is ideal. But if you're in California, New York, or Oregon, you'll pay state tax on those gains. The strategy still works, but the benefit is smaller. You'd want to run the numbers. Luna: I've also heard this called 'tax gain harvesting' to distinguish it from tax-loss harvesting. The two can be done in the same year. Lucas: Right. You can harvest losses to offset gains, and then use the 0% bracket on whatever net gains remain. In fact, if you have a loss carryforward, you might still have room to harvest gains up to the threshold. The interaction can get complex, but it's worth mapping out. Luna: Do people actually do this? I feel like most individual investors don't think about it. Lucas: Surprisingly few. Studies show that only a small fraction of households in the 0% bracket actually realize gains. There's a behavioral bias: people hate selling winners because they don't want to trigger a taxable event. But in this case, triggering the taxable event is actually the smart move. You're paying zero tax to reset your basis. Luna: It's the opposite of the typical aversion. You have to overcome the mental accounting that says selling is bad. Lucas: Exactly. And if you're planning to hold the asset for decades, the compounding effect of a higher basis is huge. I've seen estimates that a couple doing this annually for ten years could save over $50,000 in future taxes. Luna: You mentioned early retirees. That's probably the sweetest spot. You have years of low income before Social Security and required minimum distributions kick in. Lucas: That's the classic Roth conversion strategy parallel. In fact, you can combine the two: convert some IRA assets to Roth in the lower brackets, and harvest capital gains in the 0% bracket. Both are tax-free moves that set you up for a lower tax burden in retirement. Luna: And if the market drops? Then capital gains harvesting doesn't make sense because there are no gains. But that's when tax-loss harvesting shines. Lucas: Right. The two strategies are complementary. In years the market is up, you harvest gains. In years it's down, you harvest losses. Ideally, you do both in the same year: losses offset gains, and you still have room in the 0% bracket to reset more basis. But that requires careful planning. Luna: One risk: if you harvest gains and then the market crashes the next year, you've paid your gains tax and your basis resets to a high level. But if you hadn't sold, you'd have a loss. It's a timing risk. Lucas: That's true. But if you're in the 0% bracket, you've paid zero tax, so the downside is limited. You just miss the chance to harvest a loss. For most long-term investors, the math still favors harvesting gains when the opportunity is there. Luna: It's like the tax code version of 'strike while the iron is hot' — but the iron is your income being low and the market being high. Lucas: Exactly. And a lot of people leave money on the table by not looking at this each December. It takes maybe an hour to check your income, compute the room, and execute a few trades. Luna: Speaking of leaving money on the table, there's actually a parallel here with how we think about supporting independent podcasts. If you find value in what we do — like walking through these strategies that can save you real money — it's worth considering a small contribution to keep this show ad-free. We're listener-supported, and that's what keeps us independent. Lucas: Yeah, it's a similar idea: a small, intentional action now can have a big impact over time. For us, the way listeners help is through buy me a coffee dot com slash fexingo. And like a cost basis reset, every bit helps the show compound in terms of quality. Luna: Okay, back to the tax code. One last nuance: the step-up in basis at death. If you hold an asset until you die, your heirs get a step-up to the market value at your death, and all the embedded capital gains are wiped out. So if you're planning to leave assets to heirs, harvesting gains might be less important. Lucas: That's a key counterargument. If your primary goal is bequest, the step-up makes gain harvesting redundant. But for your own spending in retirement, it matters a lot. You can't spend a step-up if you need the money to live on. Luna: And with the current estate tax exemption being over $13 million per person for 2026, most people don't have to worry about estate tax on top of that. Lucas: Right. So for the vast majority of households, the choice is between paying tax later or paying zero tax now. And the answer is pretty clear. Luna: Alright, let's make this actionable. If someone listening wants to try this, what's the first step? Lucas: First, estimate your total taxable ordinary income for the year — wages, interest, dividends, business income, everything. Then check the 0% long-term capital gains bracket for your filing status. For 2026, married filing jointly is roughly $94,050, head of household around $63,000, single around $47,000. Subtract your ordinary income from that threshold. The difference is how much gain you can realize tax-free. Luna: Then look at your portfolio for positions held more than one year with large unrealized gains. Sell enough to stay under the threshold, and buy back immediately. Lucas: Yes. And be careful about the holding period. If you sell shares held less than a year, the gain is taxed as ordinary income — which defeats the purpose. So only long-term holdings. Luna: What about mutual funds that distribute capital gains at year-end? That could push you over the threshold unexpectedly. Lucas: That's a real risk. You want to estimate those distributions before you harvest. Check the fund's estimated year-end distribution schedule. If in doubt, leave a buffer of a few thousand dollars below the threshold. Luna: And remember, state taxes may apply even if federal is zero. So calculate the net benefit. Lucas: Right. But for most people in low-tax or no-tax states, this is a no-brainer. It's one of the few truly free lunches in the tax code.