How Selling a Losing Stock Position Can Lower Your Tax Bill
Unloading an underperforming stock can help keep your investment returns growing while trimming your tax bill. Here's how this strategy works.
Profit and prosper with the best of Kiplinger's advice on investing, taxes, retirement, personal finance and much more. Delivered daily. Enter your email in the box and click Sign Me Up.
You are now subscribed
Your newsletter sign-up was successful
Want to add more newsletters?
Delivered daily
Kiplinger Today
Profit and prosper with the best of Kiplinger's advice on investing, taxes, retirement, personal finance and much more delivered daily. Smart money moves start here.
Sent five days a week
Kiplinger A Step Ahead
Get practical help to make better financial decisions in your everyday life, from spending to savings on top deals.
Delivered daily
Kiplinger Closing Bell
Get today's biggest financial and investing headlines delivered to your inbox every day the U.S. stock market is open.
Sent twice a week
Kiplinger Adviser Intel
Financial pros across the country share best practices and fresh tactics to preserve and grow your wealth.
Delivered weekly
Kiplinger Tax Tips
Trim your federal and state tax bills with practical tax-planning and tax-cutting strategies.
Sent twice a week
Kiplinger Retirement Tips
Your twice-a-week guide to planning and enjoying a financially secure and richly rewarding retirement
Sent bimonthly.
Kiplinger Adviser Angle
Insights for advisers, wealth managers and other financial professionals.
Sent twice a week
Kiplinger Investing Weekly
Your twice-a-week roundup of promising stocks, funds, companies and industries you should consider, ones you should avoid, and why.
Sent weekly for six weeks
Kiplinger Invest for Retirement
Your step-by-step six-part series on how to invest for retirement, from devising a successful strategy to exactly which investments to choose.
With the end of the year upon us, let's talk about tax-loss harvesting. This is potentially one of the most important tax moves investors can make this calendar year.
Given that we're in the middle of a bull market, this might seem an odd time to discuss portfolio losses. But, if you're like most investors, you probably have a few dogs in your lineup. About 27% of the stocks in the S&P 500 are down this year, with more than 50 staring at losses of 20% or more.
Taking the occasional portfolio hit isn't fun, but it happens to all of us. Thankfully, you can use those losses to reduce your tax bill.
From just $107.88 $24.99 for Kiplinger Personal Finance
Become a smarter, better informed investor. Subscribe from just $107.88 $24.99, plus get up to 4 Special Issues
Sign up for Kiplinger’s Free Newsletters
Profit and prosper with the best of expert advice on investing, taxes, retirement, personal finance and more - straight to your e-mail.
Profit and prosper with the best of expert advice - straight to your e-mail.
What is tax-loss harvesting?
Think of this as making lemonade out of lemons. Tax-loss harvesting is the process of selling investments that have decreased in value to offset capital gains elsewhere in your portfolio from investments you sold for a profit. The IRS allows you to use these losses to reduce taxable income, potentially saving you money when tax season rolls around.
Here's the basic formula: Capital losses can offset capital gains dollar for dollar. If your losses exceed your gains, you can deduct up to $3,000 ($1,500 if married filing separately) from your ordinary income. Any remaining losses can be carried forward to future tax years.
Why does this matter for investors?
Imagine you sold some stocks this year for a $10,000 profit. Without tax-loss harvesting, you'd owe taxes on that entire gain… and potentially quite a bit. The long-term capital gains tax rate on stocks you've held for at least a year is currently 15% to 20%, depending on your income.
And short-term capital gains on stocks you've held for less than a year are taxed as ordinary income at your marginal tax rate. The highest bracket for 2025 is 37%, plus a potential 3.8% investment income surcharge. So, you could owe anywhere from $1,500 to $4,080 on that $10,000 portfolio return.
But let's say you also sold one of your underperforming stocks at a $7,000 loss. Now, your taxable gain shrinks to just $3,000, massively reducing your potential tax bill.
Note that this only works in regular taxable brokerage accounts. Losses in retirement accounts like a 401(k) or an IRA already enjoy tax benefits, so they cannot be harvested.
Tax-efficient rebalancing
Selling a losing stock position to lower your tax bill is more than just "mopping up" trading gains. It can also be a tax-efficient way to rebalance your portfolio.
Let's say you bought a highflier like Nvidia (NVDA) a few years ago. The chipmaker has been a long-term outperformer and after the epic run it has had, it now makes up a large, disproportionate amount of your portfolio. You recognize it's a risk to have a large concentrated position, but you're not excited about selling and paying taxes on the massive return the semiconductor stock has generated.
One option you have is to sell losing positions elsewhere in your portfolio to carve out a little room to rebalance. If you manage to find $5,000 in losses, for instance, you could sell just enough of that appreciated Nvidia position to realize $5,000 in gains, netting you out at zero.
And what works for single stocks works just as well for exchange-traded funds (ETFs) or mutual funds. You can rebalance your portfolio tax efficiently by selling off some of that highly appreciated S&P 500 ETF and offsetting some of the gains by unloading an underperforming bond ETF.
Beware of the wash-sale rule
One thing you want to watch out for when selling a losing stock position is the wash-sale rule. If you sell a security at a loss, you have to wait at least 30 days before you buy it again or buy a "substantially identical" security. Otherwise, the IRS will disallow the loss.
And this carries over across your accounts. If you sell a security in one account, you can't rebuy it in another account or your spouse's account, even if it's an IRA or other retirement account.
"Substantially identical" might be somewhat subjective. It's clear that you can't sell a share of Microsoft (MSFT) and then repurchase it the next day. Nor could you buy Microsoft call options. But with ETFs, there are some gray areas and the IRS has never fully explained what substantially identical means. In other words, we are left to make our best guess.
For example, if two ETFs or mutual funds track the same index, buying one and selling the other might result in a washed sale. You probably shouldn't sell the SPDR S&P 500 ETF Trust (SPY) and then immediately buy the Vanguard S&P 500 ETF (VOO), but you could potentially sell SPY or VOO and buy the Vanguard Total Stock Market Index Fund ETF Shares (VTI) because it's based on a different underlying index. It wouldn't necessarily matter that the two ETFs hold many of the same stocks and tend to move together with a tight correlation.
Just be smart here and don't push it. It would be a shame to end up paying more taxes than you need to because you got impatient and jumped the gun on a washed sale.
The bottom line on tax-loss harvesting
Tax-loss harvesting doesn't have to be something you only do at the end of the year. Keep it in mind throughout the year or when rebalancing your portfolio. With a thoughtful approach, this technique can be a powerful tool to keep your investment returns growing while trimming your tax bill.
And remember, every dollar you save in taxes is a dollar more you have at your disposal to grow your nest egg.
Related content
Profit and prosper with the best of Kiplinger's advice on investing, taxes, retirement, personal finance and much more. Delivered daily. Enter your email in the box and click Sign Me Up.

Charles Lewis Sizemore, CFA is the Chief Investment Officer of Sizemore Capital Management LLC, a registered investment advisor based in Dallas, Texas, where he specializes in dividend-focused portfolios and in building alternative allocations with minimal correlation to the stock market.
-
Dow Adds 1,206 Points to Top 50,000: Stock Market TodayThe S&P 500 and Nasdaq also had strong finishes to a volatile week, with beaten-down tech stocks outperforming.
-
Ask the Tax Editor: Federal Income Tax DeductionsAsk the Editor In this week's Ask the Editor Q&A, Joy Taylor answers questions on federal income tax deductions
-
States With No-Fault Car Insurance Laws (and How No-Fault Car Insurance Works)A breakdown of the confusing rules around no-fault car insurance in every state where it exists.
-
Dow Adds 1,206 Points to Top 50,000: Stock Market TodayThe S&P 500 and Nasdaq also had strong finishes to a volatile week, with beaten-down tech stocks outperforming.
-
The Best Precious Metals ETFs to Buy in 2026Precious metals ETFs provide a hedge against monetary debasement and exposure to industrial-related tailwinds from emerging markets.
-
For the 2% Club, the Guardrails Approach and the 4% Rule Do Not Work: Here's What Works InsteadFor retirees with a pension, traditional withdrawal rules could be too restrictive. You need a tailored income plan that is much more flexible and realistic.
-
Retiring Next Year? Now Is the Time to Start Designing What Your Retirement Will Look LikeThis is when you should be shifting your focus from growing your portfolio to designing an income and tax strategy that aligns your resources with your purpose.
-
I'm a Financial Planner: This Layered Approach for Your Retirement Money Can Help Lower Your StressTo be confident about retirement, consider building a safety net by dividing assets into distinct layers and establishing a regular review process. Here's how.
-
Stocks Sink With Alphabet, Bitcoin: Stock Market TodayA dismal round of jobs data did little to lift sentiment on Thursday.
-
The 4 Estate Planning Documents Every High-Net-Worth Family Needs (Not Just a Will)The key to successful estate planning for HNW families isn't just drafting these four documents, but ensuring they're current and immediately accessible.
-
Love and Legacy: What Couples Rarely Talk About (But Should)Couples who talk openly about finances, including estate planning, are more likely to head into retirement joyfully. How can you get the conversation going?