< Back to IRS

Javier Mendoza

When is the real deadline to sell stock for tax loss harvesting - December 31 or earlier?

I've been going through my investment portfolio and looking at some underperforming stocks I might want to sell for tax loss harvesting purposes, but I'm confused about the actual deadline. Is December 31 the true deadline to sell stocks for tax loss harvesting, or do I need to sell earlier to account for settlement time? I've been searching online and getting mixed messages. Also, if December 31 is indeed the deadline regardless of when the sale settles, does the transaction have to happen during regular market hours (before 3PM CST closing), or would after-hours trading on December 31 still count for the current tax year? I'm planning to make some moves in the next few weeks but want to make sure I understand the timing rules correctly. Any guidance would be really appreciated!

Emma Thompson

•

The date that matters for tax loss harvesting is the trade date, not the settlement date. So yes, December 31st is indeed the deadline for executing your sales to count for the current tax year. This is spelled out in IRS Publication 550 which states that stock trades are recorded on the trade date for tax purposes, even though the actual settlement might happen a couple days later (typically T+2 or two business days after the trade date in current markets). As for market hours, any trade executed on December 31st counts - including after-hours trading. So if you place a sell order at 7pm on New Year's Eve and it executes, that still counts for the current tax year. Just make sure your order actually executes - sometimes after-hours can have limited liquidity.

0 coins

Malik Davis

•

Thanks for the info! So just to be sure I understand - if I sell a losing position on Dec 31 at 11pm (after-hours), but the settlement doesn't happen until January 3 or 4, I can still claim that loss on my 2025 taxes?

0 coins

Emma Thompson

•

Yes, that's exactly right. The IRS recognizes the trade date (when you executed the sell order) rather than the settlement date. So in your example, selling on December 31 at 11pm would count for the 2025 tax year, even though the cash doesn't hit your account until January. Just make sure you have confirmation that the trade actually executed on the 31st. After-hours trading sometimes has lower volume, so not all orders get filled. As long as the trade went through, you're good to go for claiming the loss on your 2025 return.

0 coins

Just wanted to share my experience with this! Last year I was stressing about the exact same question and ended up using https://taxr.ai to review my trading history and tax loss harvesting strategy. They confirmed what was mentioned above but also flagged something important I hadn't considered - wash sale rules that would have invalidated some of my planned harvesting. The service scanned my portfolio and identified which specific lots I should sell for maximum tax benefit (and which ones to avoid selling due to potential wash sale issues). Saved me from making a costly mistake where I would have repurchased similar securities too soon after selling.

0 coins

StarStrider

•

How does that work with examining your portfolio? Do you have to upload statements or connect your brokerage account directly? I'm interested but cautious about sharing financial data.

0 coins

Ravi Gupta

•

Sounds interesting but does it work if you have stocks across multiple brokerages? I've got accounts with Fidelity, Vanguard and a small Robinhood account (I know, I know).

0 coins

You can either upload statements or connect accounts through their secure portal - they use the same connection tech as Mint and other financial apps, so your login credentials aren't stored. I found the statement upload option worked fine for me. Yes, it definitely works with multiple brokerages! That's actually one of the most useful features. It can look across all your accounts to identify the best tax loss harvesting opportunities and potential wash sale issues that might exist between different platforms. I had positions split between Schwab and E*TRADE, and it caught a potential wash sale I would have missed since I was looking at each account separately.

0 coins

Ravi Gupta

•

Just wanted to follow up - I ended up trying taxr.ai after asking about it here and wow, totally worth it! I was making a huge mistake with my tax loss harvesting strategy. I had been planning to sell some losers in my Fidelity account while buying similar (but not identical) ETFs in my Vanguard account. The analysis showed me this would have triggered wash sales since the IRS looks across all your accounts. They gave me a clear report showing exactly which lots to sell and when I could safely repurchase similar securities. Honestly saved me thousands in deductions I would have accidentally invalidated. Super grateful for the recommendation!

0 coins

If anyone's trying to reach the IRS for clarification on this or other tax questions, good luck! I spent THREE HOURS on hold last week trying to get someone to verify some tax loss harvesting rules. After my third attempt, I found https://claimyr.com and used their service to hold my place in line. You can see how it works here: https://youtu.be/_kiP6q8DX5c They called me when an IRS agent was about to pick up so I didn't waste my entire day on hold. The agent confirmed everything mentioned above about the December 31 trade date being what matters, not the settlement date. Also got clarity on some specific questions about my situation with foreign stocks.

0 coins

Omar Hassan

•

How does that even work? The IRS actually picks up for them but not for regular people? Sounds sketchy tbh.

0 coins

StarStrider

•

I'm pretty skeptical. The IRS lines are notoriously impossible to get through. You're saying this service somehow magically gets you to the front of the line?

0 coins

It's not that they get special treatment from the IRS. The service basically waits on hold for you. They have an automated system that calls the IRS and waits in the queue, then when a human finally picks up, they connect that call to your phone. So you're still talking directly to the IRS, but you didn't have to be the one sitting on hold for hours. They don't get you to the "front of the line" - you still wait your turn, but their system is doing the waiting instead of you having to listen to the hold music for hours. You just go about your day and then get a call when an actual IRS agent is on the line. It's basically just saving you from the hold time.

0 coins

StarStrider

•

I was super skeptical about Claimyr when I saw it mentioned here (as you can see from my response above). But after another frustrating failed attempt to reach someone at the IRS about some complicated tax loss harvesting questions I had, I decided to give it a try. It actually works exactly as described. I got a call back about 2.5 hours after signing up, and suddenly I was talking to an actual IRS representative who answered all my questions about trade dates vs. settlement dates for tax purposes. After spending literal days trying to get through on my own, I'm completely converted. Would have saved myself a lot of stress if I'd tried it sooner.

0 coins

Don't forget about the "substantially identical" rule with tax loss harvesting! You can't sell a stock for a loss and then buy back the same stock or a "substantially identical" security within 30 days before or after the sale (aka the wash sale rule). This tripped me up last year - I sold some losing positions on December 31st but had already set up automatic investments for January 2nd that bought back some of the same funds. Completely invalidated my tax loss! 😩

0 coins

Diego Vargas

•

What counts as "substantially identical" though? Is selling VFIAX (Vanguard S&P 500) and buying VOO (Vanguard S&P 500 ETF) considered substantially identical? They track the same index but are different investment vehicles.

0 coins

That's definitely a gray area, but most tax advisors consider funds that track the exact same index to be "substantially identical" even if they're different vehicles (ETF vs mutual fund). The IRS hasn't given super clear guidance, but the conservative approach is to switch to a different-but-similar index. For example, if you sell an S&P 500 fund like VFIAX, you might buy a total market fund instead. Or sell a Russell 1000 fund and buy an S&P 500 fund. They're similar but track different indexes, so they're generally considered different enough to avoid wash sale issues.

0 coins

CosmicCruiser

•

I almost messed up my tax loss harvesting by forgetting about the special rules for mutual funds! If anyone's planning to sell mutual funds (not ETFs) on December 31st, remember that mutual funds only trade once per day after market close. You have to place your order before the fund's cutoff time (usually 4pm Eastern) for it to execute on that day. Miss the cutoff and your trade gets processed on the next business day, which would be next year!

0 coins

Good point! Also, some brokerages have earlier cutoffs for mutual fund orders, like 3pm Eastern instead of 4pm. Always check your specific brokerage's policies.

0 coins

CosmicCruiser

•

That's a great add! Fidelity and Schwab typically use the 4pm Eastern fund cutoff, but you're right that some brokerages impose their own earlier deadlines. TD Ameritrade used to require mutual fund orders by 3pm Eastern for same-day execution before they were acquired by Schwab. Always best to give yourself plenty of buffer time rather than trying to squeeze in orders at the last minute. I learned that lesson the hard way a few years ago when I missed tax loss harvesting a big position because my order went through 5 minutes after cutoff.

0 coins

Dmitry Petrov

•

Just want to add another important timing consideration - if you're planning to do tax loss harvesting with international stocks or ADRs (American Depositary Receipts), be extra careful about the settlement timing. While US stocks typically settle T+2, some international securities can have longer settlement periods. Also, if you're holding stocks in a foreign market that trades on a different schedule (like Tokyo or London), make sure you understand when their December 31st equivalent deadline falls in your local time zone. I had a friend who missed harvesting losses on some European stocks because he didn't account for the time difference properly. The key takeaway remains the same - it's the trade date that matters, not settlement - but just wanted to flag these additional complexities for anyone with international holdings in their portfolio.

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,095 users helped today