This is correct. As per usual,
@ConstruxBoy is wrong!
I’m pretty sure I posted about this back when I sold a stock with short term losses because I wanted to raise cash and because I had short term gains to cover.
Basically, it works like this. Short term losses cover short term gains first and if there are excess short term losses, they can then cover long term gains. It works the same way in reverse. Long term losses cover long term gains first and then if still more they cover short term gains.
Typically, you’d have bigger long term gains than long term losses so it’s almost bad to keep holding long term losers because if you have $50k in long term gains and $10k in short term gains, you’d need $60k in long term losses to cover the short term gains if you have no short term losses and short term gains are taxed much higher.
Don’t forget that the gains go on top of your income so whatever your top tax bracket is (and maybe the next bracket), that’s the rate for short term gains.
I’m not an accountant but I do my own (pretty simple) taxes and read a lot about gains taxes. It’s smart to plan because tax harvesting short term losses for long term gains may save you some taxes now, but you don’t want to put yourself into a bad position next year not having enough short term losses to cover short term gains.
Also, complicating things is if you are getting close to retirement when your gains tax rates could drop dramatically so harvesting losses when your long term rate is 0% doesn’t make as much sense if you could have used them while still having income. I know I plan to hopefully take advantage of this maybe between retiring and starting to collect SS. That’s where having a large taxable account can help using that to cover expenses while looking like a pauper and unwinding gains. 0% tax rate on long term gains up to $80k if married. I’m definitely looking forward to that long term capital gains waiver on house gains as I can see us moving in 5-7 years.