1. Podcasts
  2. Investing Experts
  3. Tax gain harvesting: tax alpha with Raul Shah

vo listened to this episode to put together the overview and transcript, so there may be the odd mistake.

In short

Tax gain harvesting—how to intentionally sell long-term appreciated stocks in a taxable brokerage account to realize gains at the 0% federal long-term capital gains rate, then potentially buy the same shares back, increasing after-tax returns.

Guest

Raul Shah, founder of Doc Shaw Financial (value investing; tax planning for everyday investors/retirees). Also an educator at Johns Hopkins University teaching a tax planning course. He reports Doc Shaw Financial generated a 40.75% annualized equity return since 2023.

Key claims

Tax gain harvesting is the “sibling” of tax loss harvesting and is “second powerful” to Roth conversions. The 0% bracket thresholds are about $49,450 single and $98,900 married filing jointly. It requires holding at least 366 days (not 365). No wash rule applies, so repurchase is allowed.

Notable examples

Married couple age 65 with standard + senior deductions totaling ~$47,500 in 2026; with taxable income ~ $68k on $100k income, they could harvest up to ~$146,400 of long-term gains tax-free.

Transcript

0:09Raul Shah: Very happy to welcome back Raul Shah for another round of Tax Alpha. For those who may have forgotten, Raul is the founder of Doc Shaw Financial, a value investing firm that is focused on helping everyday investors and retirees maximize their portfolio growth while protecting their wealth from heavy taxation through advanced tax planning. Since its inception in 2023, the firm has generated a 40.75 annualized equity return for its clients. And in addition to his work in the markets, Raul is also an educator at Johns Hopkins University, where he teaches a tax planning course for the Johns Hopkins community.

0:52Raul Shah: Raul, it is always great to have you. Welcome back to another month. I'm so excited to be here. I look forward to this at the end of every month now. And I still continue to receive so many emails from viewers who say that they love the podcast because it gives them something to think about that's directly applicable to their situation that they've really never considered before. So it's just been such a blessing to do this every month. And I'm super stoked about today. So a lot of good stuff we'll talk about. A lot of good stuff. And I would say that when we discussed starting this series, this tax alpha series.

1:27Raul Shah: I thought of it more as a niche kind of lane in the podcast content library, but it has really found its footing and it's really, you know, people are really interested. And I think people are really thirsty for some literal tax alpha. So I'm happy to get into it. But like last time we started with a bit of a stock intro in terms of your holdings and your portfolio and what you're looking at and how they're doing. Let's start in the same place this time as well and maybe give us an update on what you have going on stock-wise? Sure. Yeah, that sounds good to me. I've been writing articles now on Seeking Alpha for, I think I started in 2018, so we're eight years, almost a decade, which is crazy.

2:08Such a wonderful platform. And when I write about stocks on Seeking Alpha, many of the times, those are stocks that I own personally, or maybe they're in our client accounts. It's not always the case, but you know, I love writing because you have to prove it to the world, right? There's no room to hide when you're writing on a page, you know, and if you're, you're, if you're not really dialed in, it's very easy to kind of call out flaws. And I was explaining what, what good investing is to a friend the other day, actually it wasn't a friend, it was a prospective client. Um, and you know, I think this is a really helpful way to break it down for investors out there.

2:41I tell people you're not really an investor. What you are is a bartender who loves to serve alcohol. The only problem is you're in a college town and you've got no ID scanner. And so every kid that comes in, you really don't know if they're 18 and they look 21 or they're 21 and they look 18. You can't tell. There's no margin of safety. And if you guess wrong, well, you're going to go to jail. So there's a lot at risk. Now, what would you do if you were this bartender in this situation? You'd have a kid come in and you said, no, leave. Next kid, leave. Next kid, leave. And you just keep doing this over and over again because there's just too much at stake.

3:17And sure enough, somebody would come in, hair white as snow, wrinkles, cane in hand, and you'd think to yourself, bingo. And you'd invite this person back. You'd give him a ringside seat, and you'd say, hey, what do you want to drink? And you'd liquor him up, and he would go home happy, and you would go home happy. That's what you're trying to do as an investor. Most of the stocks that you're going to see are too close for comfort. There's no margin of safety, meaning that the price is either too close to what the business is worth or it's too high relative to what the business is worth. There's no margin of safety in 99 % of investments.

3:52And you have to be comfortable with saying no, no, no, because there's too much at risk. But when you find that stock that's so obvious that you don't have to ask for ID, that you know it's worth 10 times what it's selling for, you don't reach for your wallet. You reach for your keys because you're going to back up the truck with shares. And that's what I tell people. You know, when you're investing, you need to have conviction behind your investments. And you don't want to own 50 different investments. There's not 50 different businesses that are going to be that undervalued that you understand.

4:24But this is if you look at people's portfolios, this is what everybody does. You mentioned our stock returns at the start of the podcast. Yeah, I'm incredibly proud of those. And, you know, those aren't guaranteed to continue in the future. There's never a guarantee in investing. But the reason why they're so good is because of the analogy that I just used, is being ultra selective and staying within, as Warren Buffett would say, your circle of confidence. And if you do those things, you're going to do very well in investing, and you're certainly going to do better than if you weren't doing those things.

4:54The stocks that I own across client accounts, and of course, these are not recommendations. They could all go to zero. I don't have a crystal ball. But the point I make, that's just a standard disclaimer, by the way. But the point I'm making is that, you know, when I own stocks, our largest position is HIMSS and HERS Health. OK, again, not a recommendation to buy. OK, very volatile stock. But, you know, I look at the cash flows that I think a business like that could produce with a decent margin of safety. You need to bake in some conservatism into your forecast. And if you look and you're like, oh, man, these guys are going to make a ton of money and the stock is not reflecting that and you've got this big margin of safety.

5:25Well, then those are the opportunities that you look for. And I'm not so much concerned with the price. I own HIMSS. I own ServiceNow. We own United Health Group. Microsoft. Those are our four big stock positions. And I don't care what the price does on a daily basis. The prices are just rough approximations for what the business is worth. What I care about is the cash flows those businesses are going to produce over long periods of time. And if I have a long holding period and my stomach is sound, meaning that I don't panic when I see news or I don't get emotional, you would do very well with that type of strategy.

5:55And so value investing is really what the firm does. And those are the kind of the stocks that we own. And again, I'm just looking at the cash flows that I think these businesses are going to produce relative to the price that they're selling for today.

6:06Raul Shah: I appreciate that. And I like the analogy. I like the analogy very much. Purveyors of alcohol. I see the connection. So last time, last month, you were on talking tax loss harvesting. And today we're on talking the, I guess, opposite of that tax gain harvesting, how would you sum it up for investors before getting into more specifics? Sure. Yeah. We could call it the sibling of tax loss harvesting. There you go. And I would say it's the most second powerful tax strategy behind Roth conversions. So if you weren't paying attention before, now is the time to pay attention. And the beauty is that it really applies to everybody at some point in life.

6:47And I'll talk about why in just a second, but let's first define it, right? Tax gain harvesting is intentionally selling a stock that you have a long-term capital gains in. And why would you do this? Well, there's a 0 % long-term capital gains tax bracket. And so if you stay within that amount, you're not taxed on those gains. And so you can see now, yours might perk up how you can use this to your advantage. The 0 % long-term capital gains tax bracket goes up to$49 ,450 if you're single, and it's double that if you're married filing jointly, so$98 ,900. And if your long-term capital gains tax and your taxable income are below that number, well, then you're not taxed on those gains.

7:32And so why did I say this applies to everybody? Well, at some point in life, no one's income is the exact same every single year. Some years it's higher, some years it's lower. And the years in which it's lower, that's the time when you might want to consider harvesting some of your gains to basically lock in a portion of those gains at the zero percent level. So when are some years that you might be in a low tax bracket? Well, if you're young, it could be when you first start working. So a lot of people listen to this podcast maybe early in their career, so their incomes are not that high. It could also be you might be on a sabbatical.

8:05It could be a religious leave. You can maybe have a child in your own maternity or paternity lease. Now your income is super low relative to what it normally would be. Or you might have retired recently. A lot of people listen to this, a lot of retirees in the 50s and 60s or even 70s. Maybe you don't have a lot of other income, and so you're in a low tax bracket. But you've got these gains in your brokerage account, which by the way, tax gain harvesting only works in a brokerage account. If you have those gains and you have very low income, now you can think about tax gain harvesting. And so we'll talk a little bit about the mechanics, and I'll use an example, and it'll be very clear when I use the example.

8:40I'm going to start with the highest, like the best example, just to show you the power of tax gain harvesting. Let's say that we've got a married couple and they're both 65 years old. They're going to get the standard deduction, which is$32 ,200. Remember, the standard deduction is basically the chunk of money that you can just exclude from being taxed. That's all that is. So if your income for the year is like$100 ,000 and the standard deduction is$32 ,200, Well, your taxable income is going to be roughly like 68 grand or something like that. You're just netting the two. So you're going to get that standard deduction.

9:14Now, because you're 65 in this example that I've contrived, you're also going to get the traditional extra senior deduction and you're going to get the new bonus senior deduction. So all in all, your deductions are actually$47 ,500 in 2026. Okay. Now remember, if you're married filing jointly, the 0 % long-term capital gains tax bracket is$98 ,900. So if you add those two together, you can harvest$146 ,400 in long-term capital gains completely tax-free. So if you have no income, that's how much you could harvest. But let's just use an example where you're pulling money from your traditional IRA, or you've got some kind of a pension income, or maybe you're doing part-time work.

10:01Let's just say, for example, your yearly income is$46 ,400. dollars. Okay. Well, that means that you've still got a hundred thousand dollars of room to sell some of your stock and lock in those gains and not pay any tax because it's within that 0 % long-term capital gains tax bracket. And you can see how powerful this is. And remember, like the IRS only taxes you on the tip of the iceberg. They don't tax you on the whole iceberg. Now, what that means is that if you're selling stock, right, if you're trying to lock in a thousand dollars of gains it's likely that you're actually going to be selling a much larger amount of money because it's only the gains that gets taxed so like let's say you've you bought a stock you bought two hundred thousand dollars of stock and now it's at three hundred thousand dollars right so so the gain there is a hundred thousand but you can liquidate the whole three hundred thousand dollar position lock in that hundred k of gains and in this example you own no long-term capital gains tax.

10:59And then if you want, you could actually just go and just buy the stock right back. You could click sell and two seconds later, click buy and buy all your shares right back. Tax gain harvesting does not have a wash rule. Like remember in tax loss harvesting, we talked about there's that 61 day window basically where you can't buy or sell, you know, this identical security or at least close to the same security. The reason tax loss harvesting has that rule is because what would people do if that rule didn't exist, right? If you had a stock that went down, you would just sell it. You'd lock in that loss and then you would buy it back.

11:33And it would be like nothing ever happened. Like you own the stock the same, but you got to claim a huge loss. And you would just keep doing this every time your stock fell. You would just be racking up all of these losses and you would offset all your income. The IRS would never collect any tax money. So that's why they have that rule to prevent people from gaming the system like that. But that doesn't apply. It wouldn't even make sense in tax gain harvesting. So you can actually go and buy back that same stock. So it makes a lot of sense whether you want to sell the stock and just realize the gains or you want to sell the stock, realize the gains, buy it right back because you still want to own that stock because you still believe in the long-term prospects.

12:09But you get to take a huge chunk of those gains off the table and they'll never get taxed again. Now, how do I know they'll never get taxed again? You can see it embedded in the cost basis. The cost basis is basically like in this case, a paper trail for the IRS. If you buy a stock, for example, let's say you buy one share of a stock at$50. Okay. And let's say it goes to a hundred bucks and then you sell it. Okay. So you got a$50 long-term capital gain in this case, and then you buy it right back, right? Cause there's no washroom and you still want to own that stock. Well, now that your cost basis is no longer 50, your cost basis is a hundred, right?

12:45You stepped up that cost basis to the fair market value. So you won't be taxed on that$50 of difference anymore because your cost basis is not 50 anymore. It's 100. So that's the beauty of tax gain harvesting is that it allows you to recognize or realize long-term capital gains at the 0 % rate and basically just take a huge chunk of your gains off the table and lock in that gain completely tax-free and you can still maintain your ownership in the stock.

13:16Raul Shah: What would you say is the flip side to this? What would you say are risks to this strategy? Sure. Well, the risk is that you, I suppose if you sell too much stock, you know, if you sell a bunch of stock and then you creep into the 15 % bracket, you know, that would kind of defeat the purpose of things. And if you creep into the 15 % bracket, it's not like all of your gains now get taxed at 15%. It's just whatever is over that$98 ,900, you know, the dollars that are over that would then get taxed at 15%. The rest would still be at zero. um you know the risk is as anything else with any tax planning strategy in in that um you know you uh you aren't running numbers you aren't seeing when it's advantageous to you versus when it's not advantageous to you the risk could be that you try um and you know maybe you try to you sell the stock and you forget to buy it back or something like that but there's not really the same risk involved that there would be with like tax loss harvesting because with tax loss harvesting one One of the big risks that happens is it's not always clear what constitutes a substantially identical security.

14:20So if you buy the S &P and then you sell it at a loss, you have the markets down to try and do tax loss harvesting, but then you replace it with VTI, which is like Vanguard's total market index, is that similar enough or is that different enough that it doesn't qualify for the wash rule? right? There's a little bit of a gray area in there. And so there's more risk involved with like tax loss harvesting. Plus with tax loss harvesting, the way that the losses are actually deducted, there's a sequence, there's an order to that. So like short-term losses offset short-term gains first, then they move to long-term gains, then they move to up to$3 ,000 of ordinary income.

15:01And then if there's anything left, it'll carry forward to the next year. If you kind of screw up that sequence, which, you know, I mean, your accountant will be filing this stuff. But, you know, if, if that something were to get messed up there, you know, or you, you offset, you try to offset more than 3000 of your ordinary income, right now, now you're gonna have a problem on your hands. So, so there's a lot more issues with tax loss harvesting than there would be with tax gain harvesting, not saying anything is risk-free, there's always risk, but, you know, the primary thing is, is always running the numbers and then keeping your tax professional in the loop so that they know and can handle any kind of necessary filing and, you know, that, that the IRS would need.

15:36You know, I always tell people paying your fair share is taxes is very important. You don't have to leave a tip. So what that really means besides the obvious is that, you know, do things correctly, right? Do things by the book. Never, you know, there's always these crazy, you know, I watch, I don't have per se have a TikTok, but I watch YouTube and I see people post, you know, TikToks on YouTube. And there's all kinds of just horrible tax advice out there. I mean, you got people out there claiming you can just, you know, deduct anything you want if you have a business, right? If you call what you bought for business use.

16:06And it's like, that's not how it works. Right. And so there's so much bad advice out there. But tax gain harvesting is a pretty firmly, they're very firmly established principle in the wealth management space. You know, I use it with clients when it's relevant every year.

16:20Raul Shah: Would you say that there's a common misnomer that you see bandied about in this particular as it pertains to tax gain harvesting? Sure. Good question. I'll say actually there's one particular nuance that trips a lot of people up, and it's not specific to tax gain harvesting, but it does apply. Long-term capital gains. A couple of things here. Tax gain harvesting and tax loss harvesting, for that matter, only applies in a brokerage account. There's no gains to harvest in a tax-deferred account like a 401k because all the gains are tax-deferred. So if you buy and sell something, there's no taxes anyway.

16:54Same thing with a Roth account. All the gains are tax-free. So the tax gain or loss harvesting doesn't work. It only applies to a brokerage account. And long-term capital gains means that you've held the stock for 366 days at least or more. Okay, so a lot of people get confused with that. Some people think if they own a stock for 365 days that it qualifies for long-term capital gains, and it doesn't. So if you tried to go in and do tax gain harvesting with the stock that you held for 365 days, it's a short-term capital gain, and you just completely negated all of the tax. I mean, you could cost yourself tens of thousands of dollars in taxes just because you fired the trigger one day too early.

17:35So that's a very important nuance to keep in mind.

17:37Raul Shah: And so having a good tax accountant, that's going to prevent those things from happening? I would say it's not, yes, you need an accountant. What people really need though is a very good financial planner, investment advisor, whatever you really want to call them. You know, I always say accountants will file your taxes. But, you know, when's the last time you sat down with your accountant next to each other and they were proactively helping you to tax plan? Right. Probably never. Right. And it's not, you know, anything bad. It's just not in the nature of the job. Right. Accountant's job is to basically file your taxes.

18:11They take what numbers you give them.

18:13Raul Shah: It's more reactive than proactive. Exactly. Yeah. If you want proactive tax planning, you need to find a wealth management firm that you trust and that will work with you on that. Obviously, DocShot Financial, we're a wealth management firm. We work with clients all the time. I work with them personally. In fact, I'm the only employee. So like everybody that comes from this podcast, they actually work with me directly. And so we do proactive tax planning. And then what I like to do as well in March, when I do some of my clients, hopefully other wealth management firms do this too. But when March comes around, I send every client a tax email.

18:46And what it does is it outlines all the forms that they need to send to their accountant. It outlines all the capital gains, any tax strategy that we use, like tax gain harvesting or tax loss harvesting. We basically spell it out, everything in one neatly packaged email. And then the client can just forward it to their accountant. And then because their accountant is just in the business of filing what they get, now they've got, the client has a team now working and two people basically overseeing one strategy or whatever's going on. And that makes sure that it gets done right. So, you know, if you have, you know, like an incredible accountant, like maybe you're friends with him and this is kind of what he does.

19:19Great. But most of the time, you're going to have to kind of step into that next, you know, kind of get to the big leagues, you know, and get to like a wealth management firm for them to actually do the proactive stuff.

19:28Raul Shah: What else would you add, if anything, to this conversation? What else do you feel like investors should keep in mind? I would say that, you know, with all the tax planning strategies that we've discussed, it's always tempting to go in and try to do something every year and it goes back to the analogy that I gave at the start of the podcast which is that the best investors are not going out and trying to get their hands on everything okay most of the most of this is just a waiting game and you have to be patient same thing applies with tax strategies you know you have to be able to ascertain when is an appropriate time to utilize a tax strategy and when it's not and so just understanding that distinction is very important.

20:10But with taxing and harvesting, it's pretty straightforward stuff. I mean, the main thing is really being on top of what your own personal deductions are, which is dependent on if you're married or if you're single. I would say it also depends on what your capital gains are. And then another nuance that maybe we can touch on, it depends on your income sources too, because income is actually taxed differently. So in the example that I used, I just said that you had some income from like maybe your 401k or like pension income, you know, when I said like 46 ,400 earlier in this podcast, but if you're collecting social security, uh, instead of like a pension or something like that, social security is actually taxed differently.

20:48And, and so, um, you know, the amount of gains that you can harvest that number changes. Like, for example, if you were collecting 50 ,000 in social security, like you and your spouse versus$50 ,000 of distributions from your 401k. The amount of gains that you can tax gain harvest are going to be different in those two examples because social security is taxed differently than ordinary income is. So that's definitely something that people would have to keep in mind. So this stuff is very nuanced and it's really just being able to sit there and run through the numbers. That's like ultra important because if you get the numbers right, the things things will sort themselves out.

21:30Raul Shah: You get the numbers right. You can game the system more effectively. Appreciate it, Routwool. You want to tease next month's episode? I would love to. So next month is going to be fantastic. You're not only going to get one, but we're going to cover two tax strategies together. And this is going to be a really good episode for those who are charitably inclined. So there's a lot of people on the Seeking Alpha platform who love to donate. They love to give back to charity and be involved in their communities. And we're going to talk about two strategies that you can use that will not only help you give more effectively, meaning that you can actually give more dollars per distribution, but also be able to claim a nice tax to benefit for it.

22:10Of course, the people who, you know, all of us who donate, we do it for the goodness of the community. It's not about the tax benefits, but if you're going to do it and you're able to claim a benefit, you should absolutely do so. So we're going to talk about two strategies. I won't name them. Okay. You got to have to tune in next month, but they're going to be fantastic. Just a reminder, anything you hear on this podcast should not be considered investment advice. This is for entertainment purposes only, and you should seek advice from a licensed professional before investing. If you enjoyed the episode, leave a rating or review on your favorite podcasting app, and we'll see you soon with a new episode.

From the publisher
Raul Shah details the 2nd most powerful tax strategy behind Roth conversions, tax gain harvesting.

Show Notes:
Tax Loss Harvesting: Tax Alpha With Raul Shah
DocShah Financial

Episode transcripts

For full access to analyst ratings, stock quant scores and dividend grades, subscribe to Seeking Alpha Premium at seekingalpha.com/subscriptions

More from Investing Experts

All episodes

Listen to the episode