How Tax-Loss Harvesting Helps to Lower Your Tax Bill
This fairly straightforward tax strategy may help you reduce your capital gains taxes, but beware of triggering the wash sale rule.


Tax season is here, and many investors are looking at their capital gains and losses in 2023 to determine what they will owe in taxes. Not all of your investments can be winners. But through a tax strategy known as tax-loss harvesting, your losses may be able to help you lower your tax bill.
Tax-loss harvesting is generally considered an end-of-year planning strategy. However, there are opportunities throughout the year to thoughtfully manage your gains and losses in order to plan for your year-end tax bill. Work with your financial adviser to continually review your portfolios and consult your accountant to understand if tax-loss harvesting is appropriate for your situation and you can fully benefit from it.
If you would like to consider tax-loss harvesting, here are a few things to keep in mind.

Sign up for Kiplinger’s Free E-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.
Tax-loss harvesting basics
When you sell a security at a price higher than you paid for it, you realize a capital gain. Generally, realized gains will be subject to capital gains taxes. Tax-loss harvesting is a strategy to sell securities that have a loss (that is, their current price is less than you paid for them) and use those losses to offset gains on other investments. If done properly, tax-loss harvesting can effectively reduce or eliminate the capital gains tax incurred on realized gains in the same tax year.
In addition, if you have more realized capital losses than realized capital gains in a tax year, you can use up to $3,000 of unused losses to offset ordinary income. You can then carry forward any remaining unused losses to use against future capital gains.
The wash sale rule
Many investors may look to take advantage of unrealized losses in securities they would still like to own. However, if you would like to take advantage of a tax-loss harvesting strategy, you must be careful to not trigger a wash sale, which could disallow your loss in the year it is realized.
A wash sale occurs when you sell an investment at a loss and then purchase the same investment or one that’s “substantially identical” within 30 days before or 30 days after the sale date, excluding the sale date. For example, if you are selling a stock at a loss and then purchase the same stock, a call option of the same stock or a security that is similar enough to the stock you sold, you can trigger a wash sale.
If a wash sale occurs, taxpayers will be prohibited from claiming a loss on the sale in the year it’s realized. Instead, the loss is deferred until you sell the replacement security. You should consult with a qualified tax professional to help determine whether a replacement security may be “substantially identical” to the one you sold.
How to avoid triggering a wash sale
If you’re planning to take advantage of a tax-loss harvesting strategy, it’s very important to be mindful of the 61-day window for triggering a wash sale as you make your investment decisions. For example, if you sell a stock at a loss on January 1, you would have needed to purchase that stock or any substantially identical security before December 2 (of the prior year) or after January 31 to avoid a wash sale.
Purchasing the same or substantially identical security in a different account, for example an IRA, is still a wash sale. If you have multiple accounts, including professionally managed accounts, it’s especially important to keep the wash sale rule in mind. If you sell a security at a loss in one account and your money manager purchases that security in a separate account within the 61-day period, it would trigger a wash sale.
There are a couple approaches that can keep you exposed to the market without triggering a wash sale:
- You can “double up” on the security more than 30 days before you intend to sell it (and keep the newly purchased portion)
- You can wait at least 30 days after you sell a security before you repurchase it
- You could purchase a substitute security for a company in the same sector that may trade similarly, but is not deemed to be substantially identical by the IRS. For example, if you sell one beverage company stock at a loss and buy a different beverage company stock to replace it, this would not be a wash sale as long as the companies are not otherwise linked
- You could sell a stock and then purchase a mutual fund or ETF that covers that stock’s sector, and it would not be a wash sale, even if the stock is owned by the fund
Ultimately, you should consult with your tax advisers to determine whether you are at risk for triggering a wash sale and undoing any tax-loss harvesting plans you have in place.
The views, opinions, estimates and strategies expressed herein constitutes the author's judgment based on current market conditions and are subject to change without notice, and may differ from those expressed by other areas of J.P. Morgan. This information in no way constitutes J.P. Morgan Research and should not be treated as such. You should carefully consider your needs and objectives before making any decisions. For additional guidance on how this information should be applied to your situation, you should consult your advisor.
JPMorgan Chase & Co., its affiliates, and employees do not provide tax, legal or accounting advice. You should consult your own tax, legal and accounting advisors before engaging in any financial transaction.
J.P. Morgan Wealth Management is a business of JPMorgan Chase & Co., which offers investment products and services through J.P. Morgan Securities LLC (JPMS), a registered broker-dealer and investment adviser, member FINRA and SIPC.
Related Content
- Tax Season is Here: Big IRS Tax Changes to Know Before You File
- Six Biggest Mistakes Made on Retirees’ Tax Returns
- 10 Tax Forms Retirees Receive and What They Mean
- Types of Income the IRS Doesn't Tax
- How Retirement Income Is Taxed by the IRS
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.

Adam leads J.P. Morgan Wealth Management's Wealth Planning and Advice team, which is responsible for wealth planning, thought leadership and strategic planning for individual clients. This national team of former practicing lawyers provides experience in estate and tax planning strategies, retirement planning, restricted and control stock and stock option management, business succession planning, pre- and post-transactional planning, concentrated position management and other personal planning strategies. The team provides internal training to the J.P. Morgan Wealth Management sales force on these topics and also creates content for distribution to the public.
-
The Most Tax-Friendly State for Retirement in 2025: Here It Is
Retirement Tax How do you retire ‘tax-free’? This state doesn’t tax retirement income, has a low median property tax bill, and even offers savings on gas. Are you ready for a move?
-
Plan for Higher Health Care Costs in 2026: Projected Medicare Part B and Part D Premiums
In 2026, Medicare participants will pay more for their health care. Part B costs are expected to rise more than 10%. Here's what you can do.
-
Avoid Medicare's 'Shadow Tax' With This Financial Expert's IRMAA-Busting Tips
You're cruising along in retirement, and then bam: Your Medicare premiums soar because your income crossed the limit. Take a breath. There could be a solution.
-
Grilling Season and ETFs: There's More Than One Way to Cook Up a Portfolio
Exchange-traded funds come in a multitude of 'flavors' these days, from passive to active to factor-based. Their flexibility is what makes them so delicious.
-
You Don't Want It, But You Should Plan for It Anyway: An Expert Guide to Long-Term Care
Planning for long-term care is crucial to protect your independence, family and financial stability against unexpected health events and rising care costs not covered by standard insurance.
-
Five Questions to Help Ensure a Happy, Secure Retirement
You need to drill down to what you really want out of retirement. Then you can get down to the business of crafting a financial plan to make it happen.
-
I'm a Financial Adviser: This Is How You Can Save for Big Goals Even if You Feel Like You're Barely Getting By
Learning good financial habits — building an emergency fund, paying down debt, saving consistently — gives you flexibility, options and a path to security.
-
How to Buy an Annuity Online (Without Regret)
You should never be rushed into buying an annuity. But now that they can be sold quickly and easily online, you need to be more alert than ever to pushy salesmanship. Here are four signs you're working online with a professional.
-
How Much Income Will an Indexed Annuity Get You? An Annuities Expert Lays Out the Numbers
Guaranteed lifetime income sounds great, but how much will it be? Several factors determine your future payout on indexed annuities with an income rider.
-
Financial Fact vs Fiction: Why Inflation Is Lower, But Prices Are Not
Do you think bonds protect you from stock losses? Are you confident your assets will go to your intended heirs if all you have is a will? Think again — and read on for other myths that could be leading you astray.