Background wood


Thomas McGraw

Head of Tax Advisory, Advice Lab

Adam Ludman

Tax Advisory, Advice Lab

Cheyenne Del Savio

Tax Advisory, Advice Lab

It is always wise to consider how you might save on your tax bill using a strategy known as “tax-loss harvesting.”

This strategy – which can be particularly powerful when markets have been volatile – involves realizing capital losses with the intention of using them to offset your realized capital gains, thereby lowering your tax bill for the year.1

There can be significant benefits to harvesting losses. But make sure you do not run afoul of the so-called “wash sale” rule, which can be complicated to navigate. Thus, be mindful of common pitfalls to avoid disrupting your careful planning.

What is the wash sale rule?

The wash sale rule prohibits taxpayers from claiming a loss on the sale or other disposition of a stock or securities if, within the 61-day period that begins 30 days before the sale (generally, the trade date) or other disposition, they:

  • Acquire the same or a “substantially identical” stock or securities, or
  • Enter a contract to acquire stock or securities (e.g., call options)

The wash sale rule also applies to short sales.2

The wash sale rule exists to prevent taxpayers from taking losses (thus lowering their tax bill) when they are not economically out of a particular position for a sufficient period of time.

Consequences of running afoul of the wash sale rule can be significant:

  • The loss from the sale of the original shares is disallowed
  • The amount of the disallowed loss is added to the basis of the newly acquired shares, and realized only when the newly acquired position is sold
  • Additionally, the taxpayer’s holding period on the original shares is added to the holding period of the newly acquired shares

To illustrate:

On June 1, 2023, Tom sold 100 shares of ABC stock for $100 a share, initially purchased for $110 each. He held the shares for more than one year (long-term). Thus, his capital loss was $1,000 (100 shares @ $10 per share). On June 10, 2023, Tom repurchased 100 shares of ABC stock for $105 a share. Since the wash sale rule applies:

  • The $1,000 loss would be disallowed
  • The $1,000 would be added to the cost basis of the new shares, and the new cost basis would be $115 per share ($105 per share + $10 per share disallowed loss)
  • These newly purchased shares are considered to be held long-term because of the holding period of the original shares

How the wash sale rule works

This illustration shows how a tax loss transaction becomes disallowed under the wash sale rule.

This diagram is an illustration of how the wash sale rule gets triggered  in time period from May 30, 2023 through June 10, 2023.

When does the wash sale rule apply?

The wash sale rule applies to transactions in stock or securities, including debt securities, and contracts to acquire stocks or securities.

This includes, for example, warrants, convertible preferred stock and options contracts. It is not clear, however, whether the rule covers some common financial instruments, such as equity swaps. So, you must work closely with your tax advisor to confirm whether or not a particular transaction may give rise to a wash sale.

Another key determination is whether two securities are “substantially identical”; but, the wash sale rule uses this term without precisely defining it. Ultimately, a taxpayer must consider the economics of the two positions. (Again, with the assistance of your tax advisor.)

One widely cited case suggests a taxpayer should ask, generally, whether a knowledgeable investor, fully armed with all relevant facts, would discern a sufficiently material economic difference between two positions such that her decision making would prejudice her towards one position over the other.3

If the answer to this question is “no,” the two positions are likely substantially identical—and, therefore, the wash sale rule could apply, even though the pair of transactions involved two different securities.

Unfortunately, there is no bright line test and the determination of what is substantially identical requires an analysis of the specific facts and circumstances. For example, for two debt securities of the same issuer not to be considered identical, the securities’ other features (e.g., coupon, maturity, call features, degree of subordination, etc.) would have to be different enough that they created a difference in the economics of the two positions.

In applying the wash sale rule, you should also be aware of trading activity in your other accounts. The wash sale rule could apply to transactions in any account you (or related parties) have with another financial institution, including retirement accounts; accounts held by your disregarded entity (e.g., single member LLC) or grantor trust; or accounts held by your spouse.

Make sure to also watch out for vesting and the exercise of compensatory options or restricted stock grants and automatic dividend reinvestments, which qualify as the acquisition of stock for purposes of the wash sale rule.

What types of transactions could trigger the wash sale rule?

Always consult your tax advisor before you engage in transactions that might be considered a wash sale. However, it can be helpful to understand where the rule could apply.

Transactions that should trigger wash sales include, for example:

  • Selling a position in one account and buying it back in another account with the same or another financial institution
  • Selling a position in a taxable account and buying it back in your IRA (here, the loss would be lost completely, because the position in the IRA has no basis)
  • Selling a position at a loss in your account, then your spouse buying it back in their account (even if your spouse files separately, the loss may be disallowed)
  • Selling a position at a loss and buying it back in a disregarded entity you own (such as a single-member LLC) or a grantor trust (or vice versa)
  • Selling a position at a loss and a partnership or corporation you control buying it back (or vice versa)
  • Selling a position at a loss and acquiring a call option or writing a deep-in-the-money put option on the same position
  • Selling a stock at a loss and acquiring new shares due to automatic dividend reinvestment
  • Selling a stock at a loss within 30 days of a restricted stock/restricted stock units (RSUs) vesting or an exercise of compensatory options

Types of transactions that may not trigger a wash sale include, for example:

  • Selling an active manager at a loss and buying a different active manager
  • Selling an active strategy at a loss and buying a passive strategy (or vice versa)

Transactions that should not trigger a wash sale include, for example:

  • Selling allocated gold at a loss and buying another allocated or unallocated position (or vice versa)4
  • Buying a lot and selling a part of that same lot at a loss within 30 days, if no other lots have been purchased
  • Buying a new lot and liquidating the entire position at a loss within 30 days (without a subsequent transaction that might trigger the wash sale rule within the wash sale window period)
  • Selling a position at a loss within 30 days of receiving a gift of that position

Alternatively, if you want to hold the same stock or securities and do not want to be out of the market for an entire month, you can “double up” on your position. For example, buy the identical position at the current price by November 29, wait 30 days, then sell the original loss position and potentially recognize the loss this year. You will want to make sure you leave enough time to sell the original position before the end of the calendar year.

We can help

All of your tax moves should be thoroughly discussed with your tax advisors.

While J.P. Morgan does not provide legal or tax advice (and cannot opine on whether a particular transaction is a wash sale), your J.P. Morgan advisor can help you and your tax advisors assess potential tax-loss harvesting opportunities. You may also benefit from having a so-called “separate, tax-managed account”—i.e., one designed to continuously look for losses and harvest them when opportunities arise.

To learn more about our capabilities, please contact your J.P. Morgan advisor.



Please consult your tax advisor to see if tax-loss harvesting is available with your accounts, and how potential buybacks may be done successfully. Taxes should not be the only factor to drive an investment decision.

2.U.S. Internal Revenue Code, Section 1091.
3.Hanlin v. Comm’r, 108 F.2d 429 (3d Cir. 1939).

The wash sale rule does not currently apply to direct investment in assets other than stock or securities, including commodities (such as allocated gold), currencies or digital assets (such as cryptocurrency). Recent proposals in Congress to expand the scope of assets subject to the wash sale rule beyond “securities” did not pass. So at this time, the wash sale rule still does not apply to certain assets that historically fall outside its scope.

Connect with a Wealth Advisor

Our Wealth Advisors begin by getting to know you personally. To get started, tell us about your needs and we’ll reach out to you.

Connect now


This material is for informational purposes only, and may inform you of certain products and services offered by J.P. Morgan’s wealth management businesses, part of JPMorgan Chase & Co. (“JPM”). Products and services described, as well as associated fees, charges and interest rates, are subject to change in accordance with the applicable account agreements and may differ among geographic locations. Not all products and services are offered at all locations. If you are a person with a disability and need additional support accessing this material, please contact your J.P. Morgan team or email us at for assistance. Please read all Important Information.

Any views, strategies or products discussed in this material may not be appropriate for all individuals and are subject to risks. Investors may get back less than they invested, and past performance is not a reliable indicator of future results. Asset allocation/diversification does not guarantee a profit or protect against loss. Nothing in this material should be relied upon in isolation for the purpose of making an investment decision. You are urged to consider carefully whether the services, products, asset classes (e.g. equities, fixed income, alternative investments, commodities, etc.) or strategies discussed are suitable to your needs. You must also consider the objectives, risks, charges, and expenses associated with an investment service, product or strategy prior to making an investment decision. For this and more complete information, including discussion of your goals/situation, contact your J.P. Morgan representative.

NON-RELIANCECertain information contained in this material is believed to be reliable; however, JPM does not represent or warrant its accuracy, reliability or completeness, or accept any liability for any loss or damage (whether direct or indirect) arising out of the use of all or any part of this material. No representation or warranty should be made with regard to any computations, graphs, tables, diagrams or commentary in this material, which are provided for illustration/reference purposes only. The views, opinions, estimates and strategies expressed in this material constitute our judgment based on current market conditions and are subject to change without notice. JPM assumes no duty to update any information in this material in the event that such information changes. Views, opinions, estimates and strategies expressed herein may differ from those expressed by other areas of JPM, views expressed for other purposes or in other contexts, and this material should not be regarded as a research report. Any projected results and risks are based solely on hypothetical examples cited, and actual results and risks will vary depending on specific circumstances. Forward-looking statements should not be considered as guarantees or predictions of future events.

Nothing in this document shall be construed as giving rise to any duty of care owed to, or advisory relationship with, you or any third party. Nothing in this document shall be regarded as an offer, solicitation, recommendation or advice (whether financial, accounting, legal, tax or other) given by J.P. Morgan and/or its officers or employees, irrespective of whether or not such communication was given at your request. J.P. Morgan and 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 transactions.

Legal Entity and Regulatory Information.

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. Insurance products are made available through Chase Insurance Agency, Inc. (CIA), a licensed insurance agency, doing business as Chase Insurance Agency Services, Inc. in Florida. Certain custody and other services are provided by JPMorgan Chase Bank, N.A. (JPMCB). JPMS, CIA and JPMCB are affiliated companies under the common control of JPMorgan Chase & Co. Products not available in all states.

Bank deposit accounts and related services, such as checking, savings and bank lending, are offered by JPMorgan Chase Bank, N.A. Member FDIC.

This document may provide information about the brokerage and investment advisory services provided by J.P. Morgan Securities LLC (“JPMS”). The agreements entered into with JPMS, and corresponding disclosures provided with respect to the different products and services provided by JPMS (including our Form ADV disclosure brochure, if and when applicable), contain important information about the capacity in which we will be acting. You should read them all carefully. We encourage clients to speak to their JPMS representative regarding the nature of the products and services and to ask any questions they may have about the difference between brokerage and investment advisory services, including the obligation to disclose conflicts of interests and to act in the best interests of our clients.

J.P. Morgan may hold a position for itself or our other clients which may not be consistent with the information, opinions, estimates, investment strategies or views expressed in this document.  JPMorgan Chase & Co. or its affiliates may hold a position or act as market maker in the financial instruments of any issuer discussed herein or act as an underwriter, placement agent, advisor or lender to such issuer.