TheFreeFinancialAdvisor.com
03 Dec 2026, 19:37 GMT+10
Selling a losing stock before December 31 can feel like a small victory in an otherwise disappointing investment year. The IRS allows investors to use certain investment losses to offset capital gains, potentially reducing their tax bills. But there's a catch that can turn an otherwise sensible year-end move into a tax headache: the wash-sale rule.
The rule can apply even when an investor sells shares, takes the loss, and buys the same stock again just a few days later. It can also reach purchases in certain retirement accounts and transactions involving a spouse. In other words, selling a stock doesn't automatically make its loss available for a tax deduction. The timing of the next purchase can change everything.
And with December 31 approaching, investors have a narrow window to get their tax-loss harvesting decisions right.
The wash-sale rule doesn't simply prohibit buying a stock immediately after selling it at a loss. The IRS looks at a 61-day window: the 30 days before the sale, the day of the sale, and the 30 days afterward. That creates an easily missed problem. An investor who buys additional shares in early December, sells existing shares at a loss later that month, and then stays out of the stock afterward can still trigger a wash sale. The earlier purchase counts.
The rule applies when someone acquires substantially identical stock or securities within that window. It also covers certain contracts and options to acquire those investments. Simply changing the brokerage account doesn't necessarily solve the problem.
For example, imagine an investor owns 50 shares of a company purchased for $6,000. Their value falls to $4,000, prompting a sale that realizes a $2,000 loss. If the investor buys 50 substantially identical shares 20 days later, the IRS generally disallows the $2,000 loss for the current tax year. The investor still owns an investment, but the expected tax deduction disappears for now.
There is a little relief here, although it comes with a catch. When an investor triggers a wash sale by repurchasing substantially identical securities in a taxable brokerage account, the disallowed loss generally gets added to the cost basis of the replacement shares. That adjustment postpones the deduction rather than eliminating it. The investor eventually accounts for the deferred loss when selling the replacement investment in a transaction that doesn't trigger another wash sale.
Take the earlier $2,000 loss. If the replacement shares cost $4,000, their adjusted tax basis becomes $6,000. If the investor later sells those shares for $7,000, the taxable gain generally becomes $1,000 rather than $3,000.
That is considerably better than losing the tax benefit altogether. However, it doesn't provide the immediate deduction that the original December sale was supposed to generate.
The distinction becomes especially important for investors who actively trade the same stocks. Repeated purchases and sales can create a tangle of adjusted cost bases, deferred losses, and tax reporting. A transaction that looks straightforward on a brokerage screen can become considerably less straightforward on Form 8949.
Investors who own the same stock in taxable brokerage accounts and retirement accounts face another complication. The IRS specifically includes purchases of substantially identical securities in traditional IRAs and Roth IRAs within the wash-sale rules. That creates a particularly unpleasant outcome when someone sells shares at a loss in a taxable account and buys replacement shares inside an IRA within the restricted window.
Unlike an ordinary taxable-account wash sale, the disallowed loss generally doesn't get added to the IRA shares' cost basis. The tax benefit can effectively disappear permanently. For example, someone sells shares in a regular brokerage account at a $1,500 loss. Two weeks later, an automatic IRA contribution purchases the same stock. That retirement-account purchase can trigger the wash-sale rule, even though the investor never intended to repurchase the shares personally.
This is one reason year-end tax planning requires more than checking the activity in a single brokerage account. Automatic investment programs, dividend reinvestment plans, and retirement-account contributions deserve attention before selling losing positions.
The wash-sale rule also reaches certain purchases made by a spouse. That creates an awkward situation for married investors who manage separate brokerage accounts but own many of the same investments.
Suppose one spouse sells a technology stock at a $3,000 loss on December 15. The other spouse purchases the same stock on December 28. The original seller can run into the wash-sale restriction even though the replacement purchase happened in a different account.
Dividend reinvestment programs deserve a closer look, too. An investor who sells shares at a loss might have forgotten that an automatic dividend purchase is scheduled within the restricted period. A relatively small reinvestment can trigger a wash sale for the matching number of shares.
The IRS also applies the rule when someone buys substantially identical securities through certain options or contracts. Its definition isn't limited to matching stock symbols. The IRS examines the facts and circumstances, so investors shouldn't assume that switching to another security automatically avoids the rule.
For example, two ETFs tracking the same index raise a different question from two funds tracking entirely different indexes. There isn't a universal IRS safe harbor declaring every pair of similar funds acceptable. Investors need to examine the actual securities involved.
Tax-loss harvesting has a legitimate purpose, but the potential benefit deserves a little perspective. Capital losses first offset capital gains. If total capital losses exceed total capital gains, individuals generally can deduct up to $3,000 of the remaining net loss against ordinary income annually. Married taxpayers filing separately face a $1,500 limit. Unused losses generally carry forward to future tax years.
That can make a December sale useful even for someone who doesn't have a large investment gain to offset. However, the deduction doesn't mean the IRS sends a check for the amount of the loss. A $3,000 deduction reduces taxable income, not taxes dollar for dollar.
The IRS reports capital gains and losses through Schedule D and Form 8949. Brokerage firms generally report certain wash sales on Form 1099-B, but their reporting has limitations. Transactions across different accounts, spouses' accounts, and retirement accounts can escape the broker's automatic reporting.
That puts some responsibility on investors to review their own transactions. The IRS doesn't waive its rules simply because a brokerage statement failed to flag a particular purchase.
Year-end tax-loss harvesting can be useful, particularly for investors sitting on gains elsewhere in their portfolios. But selling a losing position just to capture a deduction can create a different problem if the investor immediately buys it back.
Before placing a trade, review purchases made during the preceding 30 days. Check scheduled dividend reinvestments, automatic investment plans, and activity in other accounts. If the goal involves buying the same investment again, the 30-day period after the sale matters just as much.
An investor who sells on December 31 and wants to avoid a wash sale generally needs to wait until January 31 before repurchasing substantially identical securities. That extends the planning beyond the calendar year, which is precisely why December tax moves deserve some advance attention.
Have you ever sold a stock for a tax loss, only to discover that buying it back could undo the deduction?
The post Selling Stocks at a Loss Before December 31? Don't Overlook the Wash-Sale Rule appeared first on The Free Financial Advisor.
Get a daily dose of Milwaukee Sun news through our daily email, its complimentary and keeps you fully up to date with world and business news as well.
Publish news of your business, community or sports group, personnel appointments, major event and more by submitting a news release to Milwaukee Sun.
More InformationCAIRO, Egypt: The United Arab Emirates (UAE) has withdrawn from a U.S.-led international group working to end Sudan's civil war, as...
ASUNCIÓN, Paraguay: The investigation into the collapse of Paraguay's Ueno Bank has reached the family of former president Santiago...
KYIV, Ukraine: Russian missile and drone attacks across Ukraine killed six people, wounded dozens and damaged the residence of the...
DAKAR, Senegal: At least 50 people have died after a boat carrying migrants from Senegal capsized off the coast of Mauritania, highlighting...
NARVA, Estonia: Estonia has closed all five of its border crossings with Russia following a series of suspected sabotage attacks targeting...
BEIJING, China: North Korean leader Kim Jong Un has arrived in Beijing for his first state visit to China, as both countries look to...
(Photo credit: Rob Gray) BYU has yet to lose to a Big Ten opponent in two-plus seasons under coach Kevin Young. The No. 21 Cougars...
(Photo credit: Charles LeClaire) The Pittsburgh Steelers placed safety DeShon Elliott on injured reserve Thursday. The move was...
(Photo credit: Jerome Miron) The San Francisco 49ers have two quarterbacks with ankle injuries, and coach Kyle Shanahan said he isn't...
(Photo credit: Matthew Hinton) Luka Doncic posted his 91st career triple-double and first of the season to lead the Los Angeles Lakers...
(Photo credit: Michael McLoone) Kyle Kuzma scored 23 points and Tyler Herro added 19 as the Milwaukee Bucks beat the visiting New...
(Photo credit: Jeff Hanisch) The New Orleans Saints want to hit the ground running, but it hasn't worked out. And now they'll be...
