Shahzib Shahbaz
Shahzib Shahbaz

Capital Gain Offsets: How Capital Loss Harvesting Can Help Reduce Your Tax Bill

Loading image...

Selling investments at a profit can be a great way to build wealth, but it can also create a significant tax liability. Without proper planning, a large portion of your investment gains may go toward federal and state taxes.

Fortunately, there are several tax strategies investors can use to manage capital gains and potentially reduce their overall tax burden. One of the most effective approaches is capital loss harvesting, also known as capital gain offsetting.

By strategically selling investments that have declined in value, reviewing unused losses from previous years, and planning the timing of asset sales, taxpayers can reduce taxable capital gains while maintaining a long-term investment strategy.

At Shahbaz & Associates CPAs, we help individuals, investors, and business owners identify tax planning opportunities that support long-term wealth preservation. Understanding how capital gains and losses work is an important part of that process.

What Is Capital Loss Harvesting?

Capital loss harvesting is a tax planning strategy that involves selling investments at a loss to offset capital gains realized from other investments.

For example, if an investor sells one stock for a $50,000 profit but sells another investment at a $20,000 loss, the loss can generally offset the gain. Instead of reporting $50,000 in net capital gains, the investor would report $30,000, assuming there are no other capital transactions or adjustments.

This strategy can be particularly valuable for investors with diversified portfolios, significant appreciated assets, or investments that have declined in value.

The objective is not simply to sell losing investments. It is to make strategic decisions that balance tax savings with the investor's broader financial goals.

10 Strategies to Offset or Reduce Capital Gains

There are several ways to manage capital gains depending on the type of asset, the taxpayer's financial situation, and the timing of the transaction. The following strategies can help investors reduce or defer taxes on investment gains.

1. Capital Loss Harvesting

Capital loss harvesting involves selling investments that have declined in value to generate realized capital losses. These losses can then offset capital gains from other investments.

For example, an investor with $80,000 in realized capital gains and $30,000 in realized capital losses would generally have $50,000 in net capital gains.

However, investors must be aware of the IRS wash sale rule.

Under this rule, a capital loss generally cannot be deducted if the taxpayer purchases substantially identical securities within 30 days before or after selling the investment at a loss. The rule also applies to certain acquisitions through an IRA or Roth IRA.

If capital losses exceed capital gains, individual taxpayers can generally deduct up to $3,000 of the remaining net loss against ordinary income each year ($1,500 for married individuals filing separately). Any remaining losses can be carried forward to future tax years.

This makes capital loss harvesting particularly useful as part of an ongoing tax planning strategy rather than a one-time transaction.

2. Capital Loss Carryovers

Investors should not overlook capital losses from previous tax years.

When capital losses exceed capital gains, the unused portion may be carried forward indefinitely for individual taxpayers until it is fully utilized.

These carryovers can offset future capital gains, potentially reducing the tax impact of selling appreciated investments in later years.

For example, an investor who has accumulated $40,000 in unused capital losses from previous years may be able to use those losses to offset gains realized from selling stocks, real estate investments, or other capital assets.

Reviewing prior-year tax returns, particularly Schedule D and the Capital Loss Carryover Worksheet, can help identify available losses before completing a significant investment transaction.

3. Qualified Opportunity Zone Reinvestment

Qualified Opportunity Zones (QOZs) provide another potential tax planning opportunity for investors with eligible capital gains.

Under the Qualified Opportunity Zone program, eligible capital gains may be deferred by investing the qualifying gain amount into a Qualified Opportunity Fund (QOF) within the applicable 180-day investment period.

Depending on the applicable rules and investment date, taxpayers may also qualify for favorable tax treatment on appreciation in the Opportunity Fund investment if the required holding period and other eligibility requirements are satisfied.

However, Opportunity Zone investments involve additional compliance requirements, investment risks, and timing considerations. Importantly, the original capital gain deferral is not necessarily permanent.

Because Opportunity Zone rules and transition provisions have changed, investors should review the rules applicable to their specific investment year before proceeding.

4. Section 1031 Like-Kind Exchanges

Real estate investors may be able to defer capital gains through a Section 1031 like-kind exchange.

This strategy allows taxpayers to exchange qualifying investment or business real property for other qualifying real property without immediately recognizing the gain, provided the applicable requirements are satisfied.

For example, an investor selling a rental property may exchange it for another investment property rather than completing a taxable sale.

A properly structured exchange can help investors preserve capital, acquire additional properties, and continue building their real estate portfolios while deferring taxes.

Since the Tax Cuts and Jobs Act (TCJA), Section 1031 exchanges generally apply only to qualifying real property, not personal property such as equipment or vehicles. Personal-use residences generally do not qualify.

Timing, identification, and qualified intermediary requirements are critical to completing a successful exchange.

5. Section 1202 Qualified Small Business Stock Exclusion

Business owners and investors may qualify for a significant capital gains tax benefit under Section 1202 of the Internal Revenue Code.

Section 1202, also known as the Qualified Small Business Stock (QSBS) exclusion, allows eligible taxpayers to exclude some or potentially all of the gain from selling qualifying small business stock.

The amount of gain that may be excluded depends on factors such as:

  • When the stock was originally issued.
  • How long the taxpayer held the stock.
  • Whether the corporation meets the qualified small business requirements.
  • Whether the taxpayer and stock satisfy the applicable eligibility rules.

Depending on the issuance date and applicable law, eligible taxpayers may qualify for an exclusion of up to 100% of the gain, subject to statutory limitations.

This strategy can be particularly valuable for founders, early-stage investors, and shareholders in qualifying C corporations.

Because Section 1202 has detailed eligibility requirements, planning should begin well before the sale of the stock.

6. Primary Residence Sale Exclusion

Homeowners may qualify for a valuable tax exclusion when selling their primary residence under Section 121 of the Internal Revenue Code.

Eligible taxpayers may exclude:

  • $250,000 of capital gains for single taxpayers.
  • $500,000 of capital gains for married couples filing jointly.

To qualify, taxpayers generally must have owned and used the property as their primary residence for at least two of the five years preceding the sale. Additional eligibility requirements and limitations may apply.

For homeowners who have experienced significant property appreciation, this exclusion can substantially reduce or eliminate capital gains taxes associated with selling their home.

It is important to distinguish this benefit from investment property tax planning. Rental properties and other investment real estate generally do not qualify for the primary residence exclusion unless the applicable requirements are met.

7. Charitable Donations of Appreciated Assets

Donating appreciated investments to qualified charitable organizations can be an effective way to manage capital gains while supporting charitable causes.

Rather than selling appreciated stock and donating the cash proceeds, taxpayers may be able to donate the investments directly to charity.

Potential benefits include:

  • Avoiding recognition of capital gains on qualifying appreciated assets.
  • Receiving a charitable contribution deduction based on the fair market value of eligible donated property, subject to applicable limitations.
  • Supporting charitable organizations while preserving more of the value of the investment.

For example, an investor holding stock purchased for $10,000 that is now worth $40,000 could consider donating the stock directly to a qualified charity.

If the donation meets the applicable requirements, the investor may avoid recognizing the $30,000 appreciation while potentially receiving a charitable deduction.

The actual deduction depends on factors such as the holding period, type of property, recipient organization, and adjusted gross income limitations.

8. Installment Sales

An installment sale allows taxpayers to spread the recognition of certain gains over multiple tax years rather than recognizing the entire gain in the year of sale.

This strategy is particularly useful when selling businesses, investment property, or other qualifying assets where the buyer agrees to make payments over time.

Under the installment method, taxpayers generally recognize the taxable portion of the gain as payments are received.

Potential benefits include:

  • Spreading taxable gains across multiple years.
  • Potentially avoiding a significant increase in taxable income in one year.
  • Improving cash flow through scheduled payments.
  • Potentially managing exposure to higher capital gains tax rates.

However, installment sales are subject to specific IRS requirements and exceptions. Interest income, depreciation recapture, and certain types of property transactions may receive different tax treatment.

Proper structuring before completing the transaction is essential.

9. Deferred Sales Trust (DST)

A Deferred Sales Trust is an alternative strategy sometimes used by taxpayers selling highly appreciated assets who want to defer recognizing gains and reinvest their proceeds.

In a typical arrangement, the taxpayer transfers an asset to an independent trust before the sale to a third-party buyer. The trust sells the asset and provides the original owner with payments over time through a promissory note.

Rather than receiving the entire sale proceeds immediately, the seller receives payments according to the agreed-upon schedule.

Potential advantages include:

  • Spreading payments over multiple years.
  • Potentially deferring recognition of eligible gains.
  • Creating flexibility in how sale proceeds are received.
  • Providing an opportunity to reinvest funds through the trust structure.

However, a Deferred Sales Trust is not a blanket statutory tax exemption or guaranteed tax-deferral strategy. Its treatment depends on the specific transaction, timing, legal structure, and applicable tax doctrines.

These arrangements involve significant legal, tax, and investment considerations. Independent professional review is important before proceeding.

10. Holding Period Optimization

The amount of time an investment is held can significantly affect how its gains are taxed.

The IRS generally distinguishes between short-term and long-term capital gains:

  • Short-term capital gains: Gains on assets held for one year or less are generally taxed at ordinary income tax rates.
  • Long-term capital gains: Gains on assets held for more than one year may qualify for preferential capital gains tax rates of 0%, 15%, or 20%, depending on taxable income and filing status.

For investors approaching a potential sale, waiting until an investment qualifies for long-term capital gains treatment may produce meaningful tax savings.

2026 Federal Long-Term Capital Gains Tax Rates

The following thresholds apply to taxable income for the 2026 tax year:

| Tax Rate | Single | Married Filing Jointly | |---|---:|---:| | 0% | Up to $49,450 | Up to $98,900 | | 15% | $49,451–$545,500 | $98,901–$613,700 | | 20% | Above $545,500 | Above $613,700 |

These thresholds represent the taxable income ranges for the applicable capital gains rates, not separate deductions or exemptions. Actual tax calculations depend on total taxable income and the amount of income falling within each bracket.

Investors should also consider potential state income taxes and the Net Investment Income Tax (NIIT), which may apply to certain higher-income taxpayers.

Capital Gains Tax Compliance Considerations

Reducing capital gains taxes requires more than identifying investments to sell. Taxpayers must also maintain accurate records and comply with IRS reporting requirements.

Several important considerations should be addressed when implementing a capital loss harvesting strategy.

Schedule D (Form 1040)

Individual taxpayers generally use Schedule D to calculate and report taxable capital gains and losses.

The form accounts for short-term and long-term transactions, applicable adjustments, and capital loss carryovers.

Accurate reporting is important because the IRS uses this information to determine the taxpayer's net capital gain or loss for the year.

Form 8949

Form 8949 is generally used to report individual sales and exchanges of capital assets, including transactions that require adjustments to information reported by brokers.

The information is then carried over to Schedule D, where gains and losses are combined.

Form 1099-B

Brokerage firms generally issue Form 1099-B to report investment sales and related transaction information.

Taxpayers should reconcile their brokerage statements and Form 1099-B information with their tax records to ensure that all transactions are reported correctly.

Not every transaction reported on Form 1099-B necessarily reflects the taxpayer's final taxable gain or loss, so cost basis and other adjustments should be reviewed.

Understanding the Wash Sale Rule

The wash sale rule is particularly important when implementing capital loss harvesting.

Investors should avoid purchasing substantially identical securities within the 30-day period before or after selling an investment at a loss.

A wash sale can cause the loss to be disallowed for the current tax year, potentially eliminating the intended tax benefit.

Investors should also understand that wash sale reporting by a brokerage firm may not capture every transaction across multiple accounts or institutions.

Documentation Required for Capital Loss Harvesting

Maintaining accurate documentation is essential for supporting capital gains and losses reported on a tax return.

Taxpayers should retain:

  • Brokerage statements: Records of investment purchases, sales, and account activity.
  • Purchase and sale records: Dates, transaction prices, quantities, and adjusted cost basis.
  • Reinvestment documentation: Records of dividends, reinvestments, and subsequent purchases that could trigger wash sale considerations.
  • Capital loss carryover calculations: Prior-year Schedule D forms and supporting worksheets showing unused losses.
  • Charitable contribution records: Documentation supporting donated investments and applicable deductions.
  • Exchange and sale agreements: Contracts and supporting records for installment sales, like-kind exchanges, and other qualifying transactions.

Organized documentation helps ensure accurate tax reporting and provides support if the IRS requests additional information.

Real-World Example: How Capital Loss Harvesting Can Reduce Taxes

Consider Jane, an individual taxpayer with a diversified investment portfolio. In 2026, she expects to realize $100,000 in capital gains from selling appreciated stock.

However, Jane also has $30,000 in unused capital loss carryovers from previous tax years and owns additional investments that have declined in value.

Rather than selling only her appreciated investments, Jane works with her tax advisor to identify opportunities to offset her gains.

Step 1: Review the Investment Portfolio

Jane reviews her portfolio and identifies stocks with unrealized losses totaling $40,000.

These investments no longer align with her investment objectives, making them potential candidates for strategic sale.

Step 2: Realize Capital Losses

Jane sells the investments and realizes $40,000 in capital losses.

She ensures that the transactions comply with the wash sale rule and evaluates whether to replace the investments with alternatives that are not substantially identical.

Step 3: Apply Existing Capital Loss Carryovers

Jane also has $30,000 in unused capital loss carryovers from previous tax years.

These losses are available to offset her current-year capital gains.

Step 4: Calculate Net Capital Gains

Jane's capital gains and losses are summarized below:

| Description | Amount | |---|---:| | Realized capital gains | $100,000 | | Prior-year capital loss carryovers | ($30,000) | | Current-year capital losses | ($40,000) | | Net capital gains | $30,000 |

By combining her existing loss carryovers with newly realized capital losses, Jane reduces her net capital gains from $100,000 to $30,000.

Step 5: Estimate the Tax Savings

Assuming the entire $70,000 offset would otherwise have been taxed at the 15% long-term capital gains rate, Jane's estimated federal tax savings would be:

[ $70,000 \times 15% = $10,500 ]

The actual tax savings will depend on Jane's taxable income, the character of the gains and losses, applicable tax rates, and other tax considerations.

Step 6: Maintain Compliance

To complete the strategy properly, Jane:

  • Avoids purchasing substantially identical securities within the applicable wash sale period.
  • Reports investment transactions on Form 8949 and Schedule D, as required.
  • Reconciles brokerage statements with Form 1099-B.
  • Maintains documentation supporting current-year losses and prior-year carryovers.

The Result: Jane successfully reduces her net taxable capital gains from $100,000 to $30,000 through strategic investment sales and the use of existing capital loss carryovers.

This example demonstrates how proactive tax planning can help investors manage the tax consequences of significant investment gains.

Important Considerations for Business Owners

Although capital loss harvesting is commonly associated with individual investors, businesses may also have capital gains and losses.

However, the rules can differ significantly depending on the business's tax structure.

For example, C corporations generally cannot use capital losses to offset ordinary business income. Corporate capital losses are generally deductible only against capital gains and are subject to separate carryback and carryforward rules.

Pass-through entities, such as partnerships and S corporations, generally pass capital gains and losses through to their owners, who report them under the applicable individual tax rules.

Business owners should therefore evaluate their entity structure before implementing a capital gain offset strategy.

Make Capital Gains Planning Part of Your Overall Tax Strategy

Capital loss harvesting is just one component of a comprehensive tax planning strategy. When combined with capital loss carryovers, strategic holding periods, charitable contributions, and other applicable tax provisions, it can help investors reduce unnecessary tax exposure and preserve more of their investment returns.

The most effective strategy depends on the taxpayer's investment portfolio, income level, financial objectives, and timing of anticipated transactions.

Waiting until tax season to review investment activity can mean missing valuable planning opportunities. Instead, investors should evaluate their portfolios throughout the year and coordinate significant investment decisions with their tax advisors.

At Shahbaz & Associates CPAs, we help individuals, investors, and business owners develop proactive tax strategies designed to minimize tax liabilities and support long-term financial growth.

Whether you are planning to sell appreciated investments, managing substantial capital gains, or looking for ways to utilize accumulated capital losses, our team can help evaluate your options and develop a strategy aligned with your financial goals.

Get started with us today!

It only takes 20 seconds to fill out an inquiry. Give us your contact details and we'll reach out to you!