Mechanics Of The 0% Long-Term Capital Gains Tax Rate And Harvesting Capital Gains For A Free Step-Up In Basis!

Executive Summary

For “lower income” individuals whose income falls within the bottom two ordinary income tax brackets, the Internal Revenue Code applies a 0% long-term capital gains rate to the extent their gains also fall within the lower two brackets. However, the 0% rate only applies as long as the income actually does fall within those lower brackets – which means “too much” in capital gains will eventually cross out of the 0% rate and into the higher tax brackets.

Nonetheless, the potential for 0% long-term capital gains rates means that for those who are eligible, the best thing they can do every year is not harvest capital losses – the “typical” capital gains strategy – but instead to harvest gains! By selling investments that are up, and buying them back again immediately (without any wash sale rules to navigate!), the taxpayer can effectively get a step-up in basis on current investments without any (Federal) tax liability!

Of course, the caveat to this strategy is that while long-term capital gains may be eligible for 0% rates for lower income individuals, it is still income itself, potentially impacting certain deductions and tax credits, and the taxation of Social Security. In addition, harvesting capital gains must be coordinated with other strategies, like partial Roth conversions, which can potentially drive up long-term capital gains rates and make capital gains harvesting less effective. Still, though, the potential to claim a free step-up in basis is not one to be missed, for any years where income is low enough to take advantage of the rules, whether due to just having income low enough to qualify, having a “temporarily” low income year due to a job loss or change, or simply looking to harvest capital gains once retired when wage income is gone and required minimum distributions have not yet begun!

Mechanics Of The 0% Long-Term Capital Gains Tax Rate – The 0% Rate Is Not Unlimited!

Technically, the 0% long-term capital gains tax rate is just one of three tax brackets that can apply to long-term capital gains. The thresholds for determining which bracket applies to a long-term capital gain are drawn from the tax bracket thresholds for ordinary income brackets, as shown below (for married couples).

As with the ordinary income brackets, the long-term capital gains brackets are graduated, and income that crosses out of one bracket falls into the next. Thus, for instance, just as a married couple having $500,000 of ordinary income would cross the 10%, 15%, 25%, 28%, 33%, 35%, and 39.6% ordinary income brackets, so too would that married couple having $500,000 of long-term capital gains span all three capital gains rates, with the first $73,800 in the 0% bracket, the next $383,800 taxed at 15% (up to $457,600 of total income), and only the last $42,400 would be taxed at the top 20% rate. (Michael’s Note: In this situation, the separate 3.8% Medicare surtax would also kick in for the upper capital gains income levels, effectively resulting in four capital gains tax brackets.)

Notably, because the 0% long-term capital gains rate only applies until crossing the threshold of $73,800 taxable income (for married couples), the reality is that the opportunity for 0% capital gains is inherently limited – as with other low tax brackets, it only applies until there’s enough income to cross out of that bracket, and any additional income falls in the next higher bracket. It’s not an unlimited opportunity to recognize capital gains at a 0% rate just because the taxpayer is initially in a low bracket! Similarly, this means it’s also important to recognize that while long-term capital gains falling at the lower income levels may be eligible for a 0% tax rate, it is still income for tax purposes, not only for determining which bracket to apply, but also for state income taxes (which may not be a 0% rate!), as well as determining Adjusted Gross Income (AGI) and any tax-related adjustments or thresholds based on AGI.

While the three long-term capital gains tax brackets of 0%, 15%, and 20% are relatively straightforward to apply – with 0% on the first $73,800, 15% on the next $383,800, and 20% on the rest (plus a potential 3.8% Medicare surtax on top of the 20% rate and some of the 15% bracket!) – the rules are more complex when an individual also has ordinary income as well. At that point, there are multiple types of income, all mixing together to increase total income, but each with their own tax brackets!

Under the Internal Revenue Code, this is resolved by applying ordinary income (to fill the bottom tax brackets) first, and then adding the long-term capital gains on top. To the extent there are any tax deductions, those deductions are applied to the ordinary income first, and only apply against long-term capital gains directly once ordinary income has been reduced to zero.

Notably, this is actually the most favorable sequence possible, as it ensures ordinary income (which is otherwise taxed at the highest rates) gets the lowest brackets; while the long-term capital gains do get pushed into the “higher” brackets, since long-term capital gains are already eligible for preferential tax rates, this still comes out with the greatest tax savings.

Example 1. Imagine a married couple who have $50,000 of ordinary income, and then recognize a $50,000 long-term capital gain. They will each be eligible for a $3,950 personal exemption (a total of $7,900 for the two of them), and the $12,400 standard deduction. Thus, their total deductions will be $3,950 x 2 + $12,400 = $20,300, which means their ordinary income will be $50,000 – $20,300 = $29,700 and their $50,000 of long-term capital gains go on top.

From there, the ordinary income fills up the tax brackets first, which means the first $18,150 falls in the 10% ordinary bracket, and the next $11,550 is in the 15% bracket. From there, the long-term capital gains kick in, which means the next $44,100 are eligible for the 0% long-term capital gains rate (up to the $73,800 threshold that forms the top of the “0% capital gains zone” shown below) and then the last $5,900 are taxed at the 15% long-term capital gains rate.

Ultimately, thanks to the favorable stacking sequence, the couple’s total tax bill will be only $18,150 x 10% + $11,550 x 15% + $5,900 x 15% = $4,432.50, or an effective tax rate of only about 4.4% on $100,000 of total income!

Harvesting Capital Gains At 0% Long-Term Rates

While the scope of the 0% long-term capital gains tax bracket is limited – it only applies for married couples up to $73,800 of income (after deductions) and $36,900 for individuals – the availability of the 0% rate still presents significant tax planning opportunities.

One of the most immediate is the opportunity to harvest capital gains – not losses – to the extent that those long-term capital gains will fall in the lowest bracket eligible for the 0% rate. While harvesting losses is messy – due to the requirements to navigate the “wash sale” rules, which can be especially harsh if done across a taxable investment account and an IRA – the reality is that harvesting capital gains is easy: sell the investment, and buy it back again immediately. If it’s a stock or ETF that is easily market traded, the investor may be out for no more than literally mere seconds; for a mutual fund, the investor will generally be out for 1 day (as mutual fund companies may not know how to handle a buy and sell order that both arrive at the mutual fund on the same day at the close of business!). Congress does not have a rule that says the taxpayer can avoid reporting income on their gains when they buy the position back again – in fact, the Internal Revenue Code has very specific requirements on what circumstances can avoid recognition of income because the proceeds are reinvested (e.g., Section 1031 or 1035 exchanges). Yet in the context of a 0% capital gains tax rate, selling the investment and recognizing the gain and buying it back again can be great tax planning!

Example 2. Imagine an individual who has only $30,000 of income; this will be reduced to only $19,850 after the standard deduction and a personal exemption, and subject to $2,524 in taxes at a combination of 10% and 15% ordinary brackets. If this individual also has an investment portfolio that includes an S&P 500 index fund with a cost basis of $10,000 and a current value of $18,000, the opportunity is to sell the fund, and buy it back immediately! Without otherwise changing her investment position, the individual will now have an $8,000 long-term capital gain, pushing her income up to $27,850. However, since the gain is eligible for a 0% rate (as the 0% capital gains zone goes all the way up to $36,900 of ordinary income for individuals!), there will be no additional taxes due; the total tax liability will be the same $2,524, and what might have been $1,200 of long-term capital gains taxes (at a 15% rate in the future) just vanish altogether!

In the meantime, the act of selling the investment and buying it back again steps up the cost basis to the new current $18,000 value, reducing any future gains (or creating a higher basis to harvest future losses). The end result: the individual receives the equivalent of a step-up in basis at death, but without dying, and without facing any taxes along the way! (Michael’s note: A small state income tax liability may be due, although the Federal tax rate will remain at 0%!)

While the opportunity to harvest long-term capital gains at the 0% remains limited – only up to the tax bracket threshold – it arguably is an opportunity that investors should look to take advantage of every year, right up to that threshold! In other words, in any and every year that investors are in the 0% long-term capital gains tax bracket, they can aim to create enough capital gains to fill that 0% bracket every year – and keeping the rest deferred to the future. Notably, this 0% rate would also apply to any qualified dividends paid out in the year (which are eligible for long-term capital gains rates!).

Example 3. Continuing the prior example, if the individual also did a $20,000 Roth conversion, ordinary income would be driven up to $39,850 after deductions. This would fill the remainder of the 15% ordinary income bracket, with a small amount of income falling into the 25% bracket. Now, the $8,000 long-term capital gain will stack on top, but be subject to the 15% long-term capital gains tax bracket. Which means by adding “just” $20,000 of ordinary income (from the Roth conversion), the individual’s tax bill will jump up to a whopping $7,019, or a $4,495 increase equivalent to a 22.5% tax rate on the $20,000 of income!

In this last example, the reason for such a high tax rate is because the additional income was not only itself subject to a (mostly) 15% tax bracket, but also caused 15% tax rates to apply to the long-term capital gains, too! The additional ordinary income in the bottom ordinary brackets actually drive up the capital gains taxes, too, by pushing them into a higher bracket as well (driving the marginal tax rate as high as 15% + 15% = 30%!)!

Ultimately, the fact that “other” ordinary income can drive up long-term capital gains rates doesn’t necessarily mean it’s bad to harvest long-term capital gains. It simply means that such strategies must be coordinated with other income-creation strategies as well; for instance, just converting enough of a Roth conversion to absorb deductions (if deductions exceed income altogether!), and then harvesting capital gains on top up to the maximum amount at the 0% rate!

Other Planning Implications And Caveats Of The 0% Long-Term Capital Gains Tax Rate

The opportunity to harvest long-term capital gains at 0% rates can be highly appealing, even if it must be done opportunistically when a low-income situation presents itself – which might be a year of low income between jobs, or simply for those who haven’t grown their income enough to exceed the threshold, or perhaps after retirement when other wage income goes away (but before required minimum distributions begin).

Given all of these caveats, the reality is that the opportunity to harvest 0% long-term capital gains rates will not present itself every year, and/or it may not actually be worthwhile to take advantage of. Nonetheless, since 0% long-term capital gains still amount to a free step-up in basis just by taking advantage of the rules that are there, it’s an important opportunity not to miss, as it can still result in thousands of dollars of tax savings in capital gains every year it can be done!

Related

Charlie Ryan

Very valuable post! It’s virtually impossible to learn how this stacking system works by reading the code, pubs or even those tax guides.

Charlie – check out our new software that launched last November, IncomeSolver.com. You can dynamically calculate the effective margin rates and see them in Tax Maps. The software is based on my research with Reichenstein and you can create tax efficient withdrawal strategies filling up low tax years to dedicated effective margin rates or tax brackets while coordinating SS, Medicare/Health expenses and roth conversions. Our next study group is the 3rd week of Feb…call me if you want more info. Regards, Bill

Even if a person is well below the top of the 15% marginal federal tax bracket, it seems that tax loss harvesting could still be beneficial to the extent that up to $3,000 could be used to offset other current-year income. Am I missing something?

Also, I tried to harvest some LT capital gains within the 15% bracket last year and discovered that the gain was completely absorbed by a capital loss carryover I had, so the gains were not really federal tax-free after all. Lesson learned.

In addition, I have large LT capital gains on many bonds I own outright (not in mutual funds), but the turnaround cost of about 2% (i.e., bid-ask spread + commissions) makes tax gain harvesting unappealing.

Michael T

Any general thoughts about whether it’s better to harvest capital gains versus filling up the 15% marginal bracket with Roth conversions? I realize that’s likely specific to individual circumstances, but not sure if there’s a general framework to use in approaching that choice.

Pete

Yes, if you compare the Roth conversion to the harvested CG as both are invested for 20 years, then both sold , and then paying 15% on the CG as by then including SS income is too high for another 0%. The roth wins.

If you pay for the conversion with X from outside funds, and then add the same amount of X to the capital gains and invest both roth and capital gains at same rate, the roth wins in 10 yrs, and then pulls ahead faster.
Check your state rules, as some States would not tax the withdrawal for roth conversion, but will tax the capital gain, so this magnifies the effect of the roth conversion winning.

Thank you for this very informative article. I had some sense of this strategy, but never really understood the details until reading this.

As another commenter mentioned, the existence of capital loss carry-overs adds a separate level of complexity. How about an article on the best way to take advantage of the accumulated loss carry-overs: should I harvest gains now to “use-up” the losses all at once, or let them dwindle over the next few years as I draw down my portfolio (I’m retired) with the additional benefit of reducing “ordinary” income (primarily interest and dividends with some limited consulting income) by $3,000 each year?

JM in CO

I agree with SH in SF – – love to learn more about how to effectively use the tax loss carryforward. I have room in the 0% Long Term Gains ceiling, but My Capital Loss Carryforward is being used up instead of me taking advantage of the room in the 0% brackets

Another great post, I think we often forget how high the AGI threshold is here for MFJ. One thing to remember is the state tax for those of us residing in those less friendly tax states, With that said, still a viable strategy for most once IRAs fully converted to Roth.

Mike Rubin

Rob Oliver

This is incredibly helpful, Michael. Thank you.

Steve

There’s also the possibility of gifting (for example, to parents who are in need of support or who might like to take a nice vacation and who might be in a lower bracket.)

Janice K

I’m wondering if you can help me understand something. I’ve just used TurboTax for my 2014 taxes. My wages and salary came to $11,991. With dividends, IRA distribution and a net loss of $-917 from a small business, my income is at $17,106. I am filing as head of household, therefore I am in the 15% tax bracket. With this income and my deductions, TurboTax suggests I’ll be getting a refund of approx. $4600.
Now, let’s add in my capital gains of $17,096. It’s my understanding that my capital gains will not be taxed since I am still in the 15% tax bracket. I would expect nothing to change on my return. However, when I add in the capital gains, my return drops from $4600 to $1300.
If I’m not supposed to be taxed on the capital gains, then why does my return get reduced by $3300? Can you offer an explanation?

R K

For low income taxpayers nearing retirement there is real and huge danger in taking capital gains. The problem is the health care subsidy repayment, which considers 100% of cap gains for the calculation, and it is not progressive like income tax, it is regressive: A worst case scenario? At age 64, a couple (me) with 2 jobs, 22K in wages, 9K in social security, and 12 K in pension income, prepares for retirement by changing brokers, reallocating investments, and purchasing an annuity. Boom: 26 K in “extra” cap gains are “realized”, over the yearly usual 8K. Put 13K into IRAs and I’m left with 65K AGI, taxable income, after all deductions, of 40K. 0% cap gains tax, total tax of just $1400, which is about what was withheld. $3000 over the “Obamacare cliff” (google it) and I owe $8500 to the IRS. For $3000 less cap gains I’d owe only $2500 back (still unfair). I take the gains of funds I still have stake in, switch the shares around, generate short term gains, and Boom: I owe another $800 in tax and am still $700 over the cliff, and now the IRS wants $9200!!! Add the total premiums (25% of our taxable income) to our out of pocket med and dental, and our 2014 med expenses are $18300, or 46% of our taxable income.

I never feared cap gains, the rate is low, or zero, and the tax is due eventually anyhow. But Obamacare subsidies are insanely different.

I’m trapped. I’m screwed. It’s just so wrong. I’m not paying, I’m not filing. I’m going to jail, and I’ll deal with this for the rest of my life.

Doug

If I sell a stock that will give me a capital gain, but turn around and buy the same stock because it dips, do I have to claim a capital gain on the initial sell? If not, is there a time limit to purchase the same stock? Additionally, could I buy a similar stock in the same sector (e.g., airlines, or energy)

ElektroDragon

FANTASTIC article that will save me THOUSANDS going forward. Thank you!!!!! Now I know I need to sell all my long term gains up to that threshold amount every year rather than hoarding them and letting the profit get too high. The increased basis will be a godsend.

Great article. Am I wrong or do most people not fully understand how the capital gains tax is calculated. I have heard many times that if your income is in the 10-15% bracket, then the LTCG is taxed at 0%, no matter the amount. My bank’s online calculator even gets it wrong.

I inherited a 2 family property in July 2015 from my mother valued at 1,000,000. I “condoized” it and will sell in total for 1,500,000. My personal income is only SS of 10,000. I live in MA. What will my capital gains taxes be?
Thanks

MikeG

I was doing some tax planning for 2017 and discovered that I will indeed find myself in this situation:

“In this last example, the reason for such a high tax rate is because the additional income was not only itself subject to a (mostly) 15% tax bracket, but also caused 15% tax rates to apply to the long-term capital gains, too! The additional ordinary income in the bottom ordinary brackets actually drive up the capital gains taxes, too, by pushing them into a higher bracket as well (driving the marginal tax rate as high as 15% + 15% = 30%!)!”

The good thing is I discovered this now and have some time to try and move some things around to partially reduce this situation.

It’s a good point that others might miss unless they do some detailed tax planning. While I had read this post two years ago, it was not until now that I realized I’m actually getting caught in this. More value accruing to me from your blog posts Michael. Thank you!