When can I buy stock back after tax gain harvesting? Selling before year end to minimize capital gains tax
I'm planning to do some tax gain harvesting since my income is pretty low this year (around $22,000). I want to sell some stocks before December 31st to take advantage of the 0% capital gains tax bracket. My main question is: when exactly can I buy these stocks back after selling? I've heard mixed things - some people say I can repurchase immediately, even within the same day? Others mentioned waiting periods? I understand the wash sale rule applies to losses, but does anything similar apply when harvesting gains? If I sell for a profit and then buy back right away, will that still count as "realizing" the gain for tax purposes? Also, does it matter if I buy back this year or wait until January? Will buying back immediately somehow affect how the capital gains are calculated with my income? Any advice would be greatly appreciated! Trying to make the most of my low tax bracket this year.
21 comments


Molly Hansen
You're on the right track with tax gain harvesting! Unlike tax loss harvesting, there's no "wash sale rule" for gains. When you sell a stock at a profit, that gain is locked in for tax purposes the moment you sell - regardless of when you buy it back. You can literally sell your stocks and buy them back minutes later if you want. The IRS only cares that you actually sold the stock and realized that gain. Your new purchase will simply establish a new cost basis for future tax calculations. Since your income is only around $22,000, you're likely in the 0% long-term capital gains tax bracket (which goes up to $44,625 for single filers in 2023). This means you can realize gains up to that threshold without paying federal capital gains tax - a great opportunity! Just remember that even though you might pay 0% federal tax on these gains, they still count as income that could affect things like tax credits or state taxes. Also, this only applies to long-term gains (held over a year), not short-term gains.
0 coins
Connor Rupert
•Thanks for the clear explanation! So just to confirm - if I sell Stock A on December 29th for a $5,000 profit, I could buy back Stock A on December 30th with no issues? And that $5,000 gain would still be taxed at my current year's rate (hopefully 0%)? Also, would there be any benefit to waiting until January to buy back, or does it really not matter when I repurchase?
0 coins
Molly Hansen
•Yes, you've got it exactly right! If you sell Stock A on December 29th for a $5,000 profit, you can absolutely buy it back on December 30th with no issues whatsoever. That $5,000 gain would be taxed at your current year's rate (which would be 0% federal long-term capital gains tax given your income level). There's no tax benefit to waiting until January to repurchase. The tax consequences are determined at the moment of sale. The only potential reason to wait until January might be if you're concerned about short-term market volatility, but that's a market timing question, not a tax question.
0 coins
Brady Clean
Just wanted to share my experience using taxr.ai to help me with this exact same tax gain harvesting strategy last year. I was in a similar situation with low income and wanted to maximize my 0% capital gains bracket. I was super confused about all the rules and worried about messing something up. I uploaded my brokerage statements to https://taxr.ai and it analyzed everything and gave me a detailed plan - showed exactly which stocks to sell, how much gain I could realize without paying tax, and confirmed I could rebuy immediately. They even explained how it would affect my state taxes (which I totally forgot about!). Ended up saving over $3k in taxes by harvesting gains up to the limit of my 0% bracket. Definitely worth checking out if you're trying to optimize your tax situation with investments.
0 coins
Skylar Neal
•How accurate was their analysis compared to what actually happened when you filed? Did you have to pay for an accountant anyway to double-check everything? I'm considering trying something like this but worried about relying on software for something this important.
0 coins
Vincent Bimbach
•Did it handle state tax calculations too? I'm in California and even though federal might be 0%, I know our state still taxes capital gains pretty high. Does the tool account for that?
0 coins
Brady Clean
•The analysis was spot-on when I filed. Everything matched exactly what they projected, and I didn't need an accountant to verify. I just downloaded their report and used it when preparing my taxes. It was much more straightforward than I expected. Yes, it definitely handled state taxes! That was actually one of the most helpful parts. It showed me exactly how much I'd owe to California (which taxes capital gains as regular income), so I could factor that into my overall strategy. It gives you both federal and state tax implications, which helped me avoid surprises.
0 coins
Vincent Bimbach
Just wanted to follow up - I decided to try taxr.ai after seeing the recommendation here. I was skeptical at first since I've tried other tax tools that were pretty basic, but this was actually really impressive. I uploaded my brokerage statements and tax return, and it immediately identified that I could harvest about $12,500 in gains without triggering federal tax (though I'll still pay some to my state). What I really liked was that it sorted my holdings by how long I've owned them and highlighted the ones with the highest gains that have been held long-term. The step-by-step instructions made it super clear what to do, and their explanation about immediately buying back without waiting periods was super helpful. Already executed my first batch of sells yesterday!
0 coins
Kelsey Chin
Hey everyone, I struggled with this exact issue last year - spent hours on hold with the IRS trying to get clarity on the buyback rules for tax gain harvesting. Complete nightmare. I eventually found https://claimyr.com which got me connected to an actual IRS agent in about 20 minutes instead of the usual 2+ hour wait. You can see how it works here: https://youtu.be/_kiP6q8DX5c The agent confirmed everything that others have said here - there's no waiting period for buying back after selling for a gain. They also helped clarify some questions I had about how the gains would affect my eligibility for certain tax credits, which was super helpful. Saved me so much stress compared to my previous attempts to get answers.
0 coins
Norah Quay
•How does this service actually work? I thought you couldn't pay to skip the IRS line. Is this actually legit or some kind of scam?
0 coins
Leo McDonald
•I'm extremely skeptical about this. I've tried "get to a human at the IRS" services before and they never worked. What makes this different? And even if you get through, how do you know the agent is giving you correct information? I've gotten wrong answers from IRS reps before.
0 coins
Kelsey Chin
•It works by calling the IRS and navigating their phone tree for you, then it calls you when it's about to connect with an agent. You're not paying to skip the line - you're paying for a service that waits on hold for you. Completely legitimate and not a scam at all. The difference is that this actually works consistently. I was skeptical too, but it literally does what it says - waits on hold so you don't have to. As for getting correct information, I always verify important tax info from multiple sources. In this case, what the agent told me matched what my research showed, which gave me confidence I was getting accurate guidance.
0 coins
Leo McDonald
I need to eat my words about Claimyr. I finally broke down and tried it yesterday after spending 3 hours on hold with the IRS and getting disconnected. Used the service and got a call back in about 45 minutes when they had an agent on the line. The agent confirmed everything about tax gain harvesting that's been discussed here - no waiting period required for buying back after selling for a gain, unlike the wash sale rule for losses. I also asked specifically about whether buying back in the same tax year could somehow negate the gain, and they confirmed that's not an issue at all. The gain is realized at the point of sale, period. Honestly wish I'd known about this service years ago. Would have saved me countless hours of frustration.
0 coins
Jessica Nolan
Another thing to consider that no one mentioned yet - be careful if you're using tax gain harvesting to qualify for certain credits or benefits. For example, even though you might pay 0% on capital gains, those gains will still increase your AGI and Modified AGI. This could potentially affect eligibility for things like premium tax credits (for ACA health insurance), certain education credits, or retirement account contribution limits. I learned this the hard way when I harvested too many gains one year and ended up losing part of my premium tax credit. The capital gains were "free" from a tax perspective but cost me in other ways.
0 coins
Connor Rupert
•Oh, that's a really good point I hadn't considered! I do get a premium tax credit for my health insurance. Do you know roughly what income threshold I need to stay under to avoid issues with that? And would selling in January of next year instead help with this situation?
0 coins
Jessica Nolan
•Premium tax credit thresholds depend on your household size and the federal poverty level, but generally you start to see reductions when your income exceeds 400% of the federal poverty level (though there are temporary exceptions due to recent legislation). For a single person, that's around $54,000 in 2023. Selling in January of next year wouldn't help if you're trying to take advantage of your current low income situation. It would just push the taxable event into next year's return. If you expect to have similar income next year, that might be fine, but if you expect higher income next year, better to harvest gains now while you're in a lower bracket.
0 coins
Angelina Farar
Quick question about this strategy - does anyone know if there are different rules for ETFs vs individual stocks when it comes to tax gain harvesting? I mainly hold index funds and wasn't sure if there were any special considerations.
0 coins
Molly Hansen
•ETFs and individual stocks follow the same rules for tax gain harvesting. The key factor is how long you've held the investment (over 1 year for long-term capital gains rates), not what type of security it is. The only slight difference is that ETFs might be more tax-efficient in general due to how they're structured, but the harvesting process is identical.
0 coins
Drake
Great question about tax gain harvesting! I did this exact strategy last year when my income was low. Just want to emphasize a few key points that have been mentioned: 1. You can indeed buy back immediately - there's no waiting period for gains like there is for losses (wash sale rule) 2. The gain is locked in the moment you sell, regardless of when you repurchase 3. Make sure you're only doing this with long-term holdings (over 1 year) to qualify for the 0% capital gains rate One thing I'd add is to be strategic about which specific lots you're selling if you have multiple purchases of the same stock. You can use "specific identification" to choose exactly which shares to sell to maximize your tax benefit. Also, don't forget to factor in any transaction fees - while the tax savings are great, make sure the brokerage fees don't eat into your benefits too much. Good luck with your harvesting strategy! It's a smart move to take advantage of your low income year.
0 coins
FireflyDreams
•Thanks for the additional tips! The specific identification strategy is something I hadn't thought about. If I have multiple purchases of the same stock at different prices, can I choose to sell just the lots with the highest gains to maximize my tax harvesting? Or would that create any complications? Also, regarding transaction fees - most brokerages have eliminated commission fees for stock trades now, but are there any other hidden costs I should watch out for when doing this strategy?
0 coins
CosmosCaptain
•Yes, you can absolutely use specific identification to sell the lots with the highest gains! This is actually one of the most powerful aspects of tax gain harvesting. You just need to specify to your broker which exact shares you're selling (usually by purchase date and price) before executing the trade. Most online brokers have tools that let you select specific lots when placing sell orders. This won't create any complications - it's a completely legitimate tax strategy. Just make sure to keep good records of which lots you sold in case the IRS ever asks for documentation. You're right that most major brokers have eliminated stock trading commissions, but there are still a few potential costs to watch for: - Some brokers still charge fees for penny stocks or over-the-counter trades - Foreign transaction fees if you're trading international stocks - Bid-ask spreads (not technically a fee, but can impact your net proceeds) For most standard stock and ETF trades at major brokers like Fidelity, Schwab, or Vanguard, you shouldn't have any fees that would meaningfully impact your harvesting strategy. The tax savings will far outweigh any minor spread costs.
0 coins