What Is Tax-Loss Harvesting in Taxable Brokerage Accounts?
What Is Tax-Loss Harvesting in Taxable Brokerage Accounts?
A taxable brokerage account is a standard investment account—no contributions limits, no retirement rules, no restrictions on when you withdraw. But you pay taxes each year on dividends and capital gains, and again when you sell at a profit. Unlike tax-deferred 401(k)s and tax-free Roth IRAs, a taxable account generates an ongoing tax bill. However, you can minimize that burden through tax-loss harvesting, where you deliberately sell losing positions to offset gains elsewhere in your portfolio. Understanding how taxable accounts work, and when and how to harvest losses, turns tax drag from an unavoidable cost into something you can actively manage.
Quick definition: A taxable brokerage account lets you invest without contribution limits or withdrawal restrictions, but you owe taxes on dividends, capital gains, and losses annually—and you can use losses to offset gains and reduce your tax bill.
Key takeaways
- Taxable accounts have no contribution limits or withdrawal rules, making them ideal for savings above 401(k) and IRA caps
- You owe taxes on dividends (ordinary income rates), long-term capital gains (preferential 0%, 15%, or 20% rates), and short-term gains (ordinary rates)
- Tax-loss harvesting lets you sell securities at a loss to offset realized gains and reduce taxable income
- The wash-sale rule prevents you from buying substantially identical securities within 30 days of selling at a loss
- Ordinary income offsets (up to $3,000 per year) can carry forward indefinitely if losses exceed gains
- Ordering your sales deliberately (using specific identification, FIFO, or average-cost methods) helps minimize your tax burden
How taxable accounts differ from retirement accounts
The defining feature of a taxable account is that the tax burden flows through to you annually. In a 401(k) or traditional IRA, contributions reduce your taxable income today, and you defer taxes until retirement. In a Roth IRA, you pay tax on contributions upfront but never on growth. In a taxable account, you pay tax on growth as it happens: dividends are taxable in the year received, capital gains are taxable in the year you sell, and there is no deferral or exemption.
This sounds like a disadvantage, but taxable accounts excel when you've maxed out retirement savings or need access to funds before age 59½. A single person can contribute $7,000 to a traditional or Roth IRA in 2024, plus $23,500 to a 401(k). An ambitious saver who saves $100,000 per year needs a taxable account to park the excess.
Taxable accounts also offer more flexibility. You can withdraw any amount at any time without early-withdrawal penalties. There are no required minimum distributions at age 73. You can donate appreciated securities directly to charity and avoid capital gains tax while claiming a charitable deduction. These features make taxable accounts essential for serious wealth builders.
Capital gains, dividends, and the annual tax bill
When you own investments in a taxable account, you owe tax on three kinds of income: dividends, short-term capital gains, and long-term capital gains.
Dividends are taxed at ordinary income rates (up to 37% federal in 2024) unless they qualify as "qualified dividends," in which case they're taxed at the long-term capital-gains rate (0%, 15%, or 20% depending on income). Most stock dividends qualify; bond interest does not. A dividend of $500 from a stock index fund in the 32% federal bracket triggers $160 in federal tax.
Short-term capital gains arise when you sell a security held less than one year. They're taxed as ordinary income. If you buy a stock at $100 and sell at $120 after eight months, the $20 gain is short-term and taxed at your full marginal rate.
Long-term capital gains occur when you hold a security for at least one year. They're taxed at preferential rates: 0% if your income falls below the threshold (roughly $46,000 for single filers in 2024), 15% for middle-income filers, or 20% for high-income filers. A $20,000 long-term gain in the 15% bracket costs $3,000 in federal tax versus $7,200 if it were short-term (32% bracket).
Over many years, this tax drag compounds. An investor who realizes $30,000 in long-term gains annually at a 15% rate pays $4,500 per year in federal tax alone. Over 20 years, that's $90,000 in taxes—a significant reduction in wealth. Tax-loss harvesting is the tool to shrink this bill.
Tax-loss harvesting strategies
Tax-loss harvesting means selling a security at a loss and using that loss to offset realized gains. Here's a concrete scenario: your taxable account holds $100,000 in index funds. One fund (technology stocks) has appreciated to $45,000 (gain of $20,000). Another (small-cap value) has declined to $18,000 (loss of $7,000). If you sell both, you realize a net gain of $13,000 and owe tax on it.
Instead, sell the technology fund and harvest the small-cap loss, leaving the tech fund unsold. Your net realized gain drops to $20,000 (the tech gain) minus $7,000 (the small-cap loss) = $13,000 taxable gain. You've reduced your tax bill by $7,000 × your marginal rate (say, 24% federal = $1,680 saved).
But don't abandon diversification. Immediately buy a similar (but not substantially identical) small-cap fund to restore your allocation. The small difference—perhaps a different index provider or strategy—is enough to avoid the wash-sale rule.
The wash-sale rule is crucial. If you sell a security at a loss and buy a substantially identical security (or your spouse does) within 30 days before or after the sale, the loss is disallowed. Instead, your original cost basis is increased by the disallowed loss, deferring the tax benefit. The IRS considers two funds tracking the same index substantially identical; a fund tracking a similar but different index is safe. You must also avoid buying call options or covered calls on the security within the window.
The order in which you sell also matters. If you hold 100 shares of Apple, 50 purchased at $100 and 50 at $150, and you want to sell 50 shares, you can specify which lot (the higher cost-basis shares), locking in a smaller gain. This is called specific identification. The default method (FIFO—first in, first out) may force you to sell the lower-cost-basis shares, inflating your gain.
Carry-forwards and timing
If losses exceed gains in a year, you can deduct up to $3,000 of net loss against ordinary income (wages, interest, salary). Excess losses carry forward indefinitely to future years. A investor who realizes $50,000 in losses and $30,000 in gains has a net $20,000 loss. They can deduct $3,000 against ordinary income in the current year, then carry forward $17,000 to next year.
This creates a planning opportunity. If you have a large unrealized loss heading into a down market, harvesting it early lets you use the loss against gains this year and ordinary income going forward, rather than waiting years for realized gains to accumulate. Conversely, if you're in a lower-income year (say, you took early retirement or changed jobs), you have more capacity to offset ordinary income, so harvesting losses is especially valuable.
Real-world examples
A high-income professional earns $200,000 annually and saves $50,000 per year in a taxable account in addition to maxing out her 401(k) and Roth IRA. After 10 years, the account has $550,000. In year 11, she realizes $35,000 in long-term gains from rebalancing (selling appreciated assets). At the 20% capital-gains rate, she owes $7,000 in federal tax.
Over the year, three positions declined: one tech holding by $8,000, one real-estate stock by $5,000, and a bond position by $2,000. Instead of taking the gains without harvesting, she sells the tech holding and the real-estate stock for a combined $13,000 loss. This reduces her net realized gain from $35,000 to $22,000, cutting her federal capital-gains tax from $7,000 to $4,400—saving $2,600. She immediately buys replacement positions in different funds to maintain her allocation.
The bond position ($2,000 loss) she harvests later in the year when she knows whether she'll have other gains. This flexibility, spread across the year, maximizes her ability to manage the tax bill.
Common mistakes
Forgetting the wash-sale window. Investors often harvest a loss, buy the same fund back a week later, and don't realize the loss is disallowed. The 30-day window extends backward too: if you buy a fund and it drops 20% two weeks later, selling at a loss and rebuying the same fund within 30 days forward disallows the loss. Mark your calendar or use a broker that flags wash sales.
Buying substantially identical funds. It's tempting to buy an identical or very similar replacement to avoid rethinking your allocation. But the IRS disallows losses if the fund is substantially identical. A safe rule: switch between different fund families (e.g., Vanguard to Fidelity) or different investment strategies (e.g., large-cap growth to large-cap value). Your broker often suggests substitutes specifically to avoid wash sales.
Harvesting gains by accident. Some investors harvest a loss but misunderstand which position they hold at a gain. If the harvested loss is smaller than the unrealized gain in the position you meant to sell, you've actually deferred a loss and accelerated a gain—the opposite of what you want. Use portfolio-tracking software or your broker's tax-loss harvesting tool to be certain.
Ignoring ordinary-income offsets. A $3,000 deduction against ordinary income (at a 35% marginal rate) is worth $1,050 in taxes saved. Many high-income earners who harvest losses throughout the year don't realize they're only using $3,000 of a much larger loss pool. If you have $50,000 in accumulated losses, you're deferring $47,000 in tax benefits to future years—which may never arrive if you don't realize future gains. Manage the pace of gains and losses to maximize current-year deductions.
Not tracking cost basis. If you've inherited securities or bought in multiple tranches, cost basis can become murky. IRS rules now require brokers to track and report basis on sale, but errors happen. Maintain your own detailed cost-basis records, especially for gift or inherited shares.
FAQ
Can I harvest losses from my 401(k) or IRA?
No. Losses in tax-deferred and tax-free accounts are not realized for tax purposes and cannot be harvested. Tax-loss harvesting applies only to taxable accounts.
Do I owe capital-gains tax if I don't sell?
No. Unrealized gains are not taxed. You only owe tax when you sell. This is one advantage of buy-and-hold investing—you can defer taxes indefinitely by never selling. When you do sell, the long-term rate applies if you've held at least a year.
What if my broker doesn't support specific-identification sales?
Some brokers default to FIFO or average-cost method. Ask your broker about specific identification; most major brokers allow it online or through a customer service request. If yours doesn't, consider switching to a broker that does (Vanguard, Fidelity, Charles Schwab all support it).
Can my spouse's transactions trigger the wash-sale rule?
Yes. Married couples filing jointly are treated as a single unit for wash-sale purposes. If you sell a security at a loss and your spouse buys it within 30 days, the loss is disallowed for both of you. Coordinate your transactions if you both trade.
How do I use losses from previous years?
Losses carried forward are used automatically by your tax software or CPA when you prepare your return. If you realize $20,000 in gains and have $15,000 in carried-forward losses, your net capital gain is $5,000. If losses exceed gains, you deduct $3,000 against ordinary income and carry forward the rest indefinitely.
Is tax-loss harvesting worth the effort?
For portfolios under $100,000, the tax savings may not outweigh the effort. But for serious savers with $500,000+, tax-loss harvesting can save thousands annually. Many brokers now offer automated tax-loss harvesting, removing the effort barrier.
Related concepts
- How short-term and long-term capital gains are taxed differently
- Understanding wash-sale rules and their impact
- Tax-loss harvesting as a strategic approach
- How dividend taxation works for investors
- Tax-deferred versus tax-free growth strategies
Managing taxable account tax burden
Summary
Taxable brokerage accounts offer unlimited contribution capacity and flexibility but require active tax management. Dividends and capital gains trigger annual tax bills, with long-term gains taxed at preferential rates (0%, 15%, or 20%) versus short-term gains (ordinary rates) and dividends (ordinary unless qualified). Tax-loss harvesting lets you sell losing positions to offset realized gains, reducing or eliminating your capital-gains tax. The wash-sale rule prevents immediate repurchase of substantially identical securities; replacement funds must differ meaningfully. Losses above realized gains can offset up to $3,000 of ordinary income annually, with excess losses carrying forward indefinitely. Tracking cost basis and using specific identification on sales helps minimize the tax burden. As of the mid-2020s, tax rates and limits may change, so consult a tax professional or the IRS website for current rules before implementing any strategy.