Tax-Loss Harvesting: Advanced Strategy to Reduce Your Retirement Tax Bill
Master tax-loss harvesting to offset gains, reduce taxes, and improve your after-tax retirement returns.
SKC
Sandra Kim, CPA
Investment Tax Strategist
Published
Tax-loss harvesting is a powerful strategy that turns investment losses into tax savings, improving your after-tax returns without changing your overall investment exposure. By systematically selling investments at a loss and immediately reinvesting in similar (but not identical) securities, you can offset capital gains and reduce your tax bill — potentially saving thousands of dollars annually. This guide explains how tax-loss harvesting works, the rules you must follow, and how to implement it effectively in your retirement planning.
When you sell an investment at a loss, that loss can offset capital gains from other investments. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income annually, carrying forward any remaining losses to future years. For example, if you have $15,000 in capital gains and harvest $20,000 in losses, you eliminate all $15,000 in gains, deduct $3,000 from ordinary income, and carry forward $2,000 to next year. The key is immediately reinvesting the proceeds in a similar investment to maintain your market exposure while capturing the tax benefit.
2The Wash-Sale Rule: Critical Compliance
The IRS wash-sale rule prohibits claiming a loss if you buy a "substantially identical" security within 30 days before or after the sale. Violating this rule disallows the loss. To avoid wash sales, replace a sold fund with a similar but not identical one — for example, selling a Vanguard S&P 500 fund and buying a Fidelity S&P 500 fund may trigger the rule since they track the same index. Instead, sell a large-cap blend fund and buy a total market fund. The 30-day window applies to purchases in all accounts, including IRAs and your spouse's accounts.
3Identifying Harvesting Opportunities
Tax-loss harvesting opportunities arise whenever market volatility creates unrealized losses in your taxable accounts. Review your portfolio during market downturns — even in bull markets, individual positions may be underwater. Focus on taxable accounts since losses in IRAs and 401(k)s provide no tax benefit. Short-term losses (held less than one year) are more valuable as they offset short-term gains taxed at ordinary rates. Long-term losses offset long-term gains taxed at lower capital gains rates. Automated platforms like robo-advisors can harvest losses daily, capturing opportunities human investors might miss.
Your optimal harvesting strategy depends on your tax situation. High-income investors in the 20% capital gains bracket benefit most from harvesting. Those in the 0% capital gains bracket (taxable income below $47,025 single/$94,050 married in 2025) may benefit more from realizing gains tax-free than harvesting losses. Near retirement, consider harvesting losses to offset gains from portfolio rebalancing. In retirement, coordinate harvesting with Roth conversions and other income management strategies. The goal is always to minimize lifetime taxes, not just current-year taxes.
5Long-Term Considerations and Limitations
Tax-loss harvesting defers taxes rather than eliminating them. When you eventually sell the replacement investment, your lower cost basis means larger gains. However, deferral is valuable — money saved in taxes today can grow for years before the deferred tax is due. If you hold appreciated investments until death, heirs receive a stepped-up basis, potentially eliminating the deferred tax entirely. Harvesting is most valuable for high-income investors with significant taxable accounts, frequent rebalancing needs, or large capital gain distributions from actively managed funds.
Key Takeaways
Harvested losses offset capital gains dollar-for-dollar and up to $3,000 of ordinary income
The wash-sale rule prohibits buying substantially identical securities within 30 days
Focus harvesting on taxable accounts — losses in retirement accounts provide no benefit
Harvesting defers taxes; stepped-up basis at death can eliminate deferred taxes
Automated platforms can harvest losses daily for maximum efficiency
Conclusion
Tax-loss harvesting is a sophisticated but accessible strategy that can meaningfully improve your after-tax investment returns over time. By systematically capturing losses to offset gains, you keep more money invested and working for your retirement. The key is understanding the wash-sale rule, identifying opportunities during market volatility, and coordinating harvesting with your overall tax strategy. For investors with substantial taxable accounts, the cumulative benefit of consistent harvesting can add tens of thousands of dollars to retirement wealth.
We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. You can manage your preferences or learn more in our Cookie Policy.
You can choose how your personal data is used. Vendors want your permission to do the following:
TCF vendors
Store and/or access information on a device
Cookies, device or similar online identifiers (e.g. login-based identifiers, randomly assigned identifiers, network based identifiers) together with other information (e.g. browser type and information, language, screen size, supported technologies etc.) can be stored or read on your device to recognise it each time it connects to an app or to a website, for one or several of the purposes presented here.
Advertising presented to you on this service can be based on limited data, such as the website or app you are using, your non-precise location, your device type or which content you are (or have been) interacting with (for example, to limit the number of times an ad is presented to you).
Information about your activity on this service (such as forms you submit, content you look at) can be stored and combined with other information about you (for example, information from your previous activity on this service and other websites or apps) or similar users. This is then used to build or improve a profile about you (that might include possible interests and personal aspects). Your profile can be used (also later) to present advertising that appears more relevant based on your possible interests by this and other entities.
Advertising presented to you on this service can be based on your advertising profiles, which can reflect your activity on this service or other websites or apps (like the forms you submit, content you look at), possible interests and personal aspects.
Information about your activity on this service (for instance, forms you submit, non-advertising content you look at) can be stored and combined with other information about you (such as your previous activity on this service or other websites or apps) or similar users. This is then used to build or improve a profile about you (which might for example include possible interests and personal aspects). Your profile can be used (also later) to present content that appears more relevant based on your possible interests, such as by adapting the order in which content is shown to you, so that it is even easier for you to find content that matches your interests.
Content presented to you on this service can be based on your content personalisation profiles, which can reflect your activity on this or other services (for instance, the forms you submit, content you look at), possible interests and personal aspects. This can for example be used to adapt the order in which content is shown to you, so that it is even easier for you to find (non-advertising) content that matches your interests.
Information regarding which advertising is presented to you and how you interact with it can be used to determine how well an advert has worked for you or other users and whether the goals of the advertising were reached. For instance, whether you saw an ad, whether you clicked on it, whether it led you to buy a product or visit a website, etc. This is very helpful to understand the relevance of advertising campaigns.
Information regarding which content is presented to you and how you interact with it can be used to determine whether the (non-advertising) content e.g. reached its intended audience and matched your interests. For instance, whether you read an article, watch a video, listen to a podcast or look at a product description, how long you spent on this service and the web pages you visit etc. This is very helpful to understand the relevance of (non-advertising) content that is shown to you.
Understand audiences through statistics or combinations of data from different sources
Reports can be generated based on the combination of data sets (like user profiles, statistics, market research, analytics data) regarding your interactions and those of other users with advertising or (non-advertising) content to identify common characteristics (for instance, to determine which target audiences are more receptive to an ad campaign or to certain contents).
Information about your activity on this service, such as your interaction with ads or content, can be very helpful to improve products and services and to build new products and services based on user interactions, the type of audience, etc. This specific purpose does not include the development or improvement of user profiles and identifiers.
Content presented to you on this service can be based on limited data, such as the website or app you are using, your non-precise location, your device type, or which content you are (or have been) interacting with (for example, to limit the number of times a video or an article is presented to you).
Ensure security, prevent and detect fraud, and fix errors
Your data can be used to monitor for and prevent unusual and possibly fraudulent activity (for example, regarding advertising, ad clicks by bots), and ensure systems and processes work properly and securely. It can also be used to correct any problems you, the publisher or the advertiser may encounter in the delivery of content and ads and in your interaction with them.
Certain information (like an IP address or device capabilities) is used to ensure the technical compatibility of the content or advertising, and to facilitate the transmission of the content or ad to your device.
The choices you make regarding the purposes and entities listed in this notice are saved and made available to those entities in the form of digital signals (such as a string of characters). This is necessary in order to enable both this service and those entities to respect such choices.
Information about your activity on this service may be matched and combined with other information relating to you and originating from various sources (for instance your activity on a separate online service, your use of a loyalty card in-store, or your answers to a survey), in support of the purposes explained in this notice.
In support of the purposes explained in this notice, your device might be considered as likely linked to other devices that belong to you or your household (for instance because you are logged in to the same service on both your phone and your computer, or because you may use the same Internet connection on both devices).
Identify devices based on information transmitted automatically
Your device might be distinguished from other devices based on information it automatically sends when accessing the Internet (for instance, the IP address of your Internet connection or the type of browser you are using) in support of the purposes exposed in this notice.
The choices you make with this CMP regarding the purposes and entities will affect how personalized advertising is presented to you. We need to store these choices to respect them on future visits, and they are stored differently based on the type of site or app you're using:
For sites, your choices are saved in a cookie named “FCCDCF” for a maximum duration of 390 days.
For apps, your choices are saved in device storage prefixed by “IABTCF_”. Your choices will be invalidated after 390 days and overwritten once you make new privacy choices on this app.
For accelerated mobile page (AMP) sites, your choices are saved in local storage prefixed by “amp-store”. Your choices will be invalidated after 390 days and overwritten once you make new privacy choices on this site.
Vendor preferences
Confirm our vendors
Vendors can use your data to provide services. Declining a vendor can stop them from using the data you shared.
TCF vendors
Exponential Interactive, Inc d/b/a VDX.tv
Cookie duration: 90 (days).
Data collected and processed: IP addresses, Device identifiers, Probabilistic identifiers, Browsing and interaction data, Non-precise location data, Users’ profiles, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Probabilistic identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Probabilistic identifiers, Browsing and interaction data, Non-precise location data
Data collected and processed: IP addresses, Device characteristics, Probabilistic identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Authentication-derived identifiers, Browsing and interaction data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Authentication-derived identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, User-provided data, Non-precise location data, Precise location data
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Authentication-derived identifiers, Browsing and interaction data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Users’ profiles, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, User-provided data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Users’ profiles, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device characteristics, Device identifiers, Browsing and interaction data, Non-precise location data, Privacy choices
Data collected and processed: IP addresses, Device identifiers, Probabilistic identifiers, Browsing and interaction data, Non-precise location data, Privacy choices