Deferring Taxation on Capital Gains

Capital-gains tax is usually triggered by realization rather than market appreciation, which gives investors some control over timing but does not make indefinite deferral the right choice.

Key Takeaways

  • Unrealized appreciation in a taxable investment generally does not create a capital-gains tax bill until a taxable sale or exchange occurs.
  • Deferring a gain can preserve more capital for investment, but the value of deferral has to be weighed against concentration risk, liquidity needs and the investment case.
  • Capital-loss harvesting can offset realized gains, but wash-sale rules can postpone a loss when substantially identical securities are acquired around the sale.
  • Retirement accounts, Section 1031 exchanges and installment sales can defer tax in different ways, with different eligibility rules and eventual tax consequences.

Capital-gains tax has an unusual feature compared with many other forms of investment taxation: an asset can rise substantially in value without producing an immediate capital-gains bill. A taxable gain is generally recognized when the investor sells or otherwise disposes of the asset in a taxable transaction, so simply continuing to hold an appreciated stock, fund or other capital asset can postpone the point at which the gain enters the tax calculation.

That timing flexibility has real economic value because money that has not yet been paid in tax can remain invested. It is still important to separate tax deferral from tax avoidance, however, because a deferred gain normally remains embedded in the asset and can become taxable later unless another specific rule changes the result.

The wider subject of taxation matters here because the amount eventually paid depends on more than the size of the paper gain. Cost basis, holding period, other capital gains and losses, taxable income, account type, state tax rules and special provisions for certain property can all change the final bill, which is why the decision to sell should not be reduced to a rule that later is always better than sooner.

Deferring Taxation on Capital Gains

Capital-gains deferral starts with realization

Suppose an investor buys shares for $40,000 and their market value later rises to $70,000. The $30,000 increase is economically meaningful because the investor is wealthier on paper, but in an ordinary taxable investment account the appreciation by itself generally does not create a realized capital gain. If the shares are sold for $70,000 in a taxable sale and the adjusted basis remains $40,000, the $30,000 difference generally becomes a realized gain subject to the applicable tax rules.

This distinction between market value and realized gain is the foundation of capital-gains deferral. Daily price movements can change the amount an investor could receive from a sale, but they do not usually create a new federal capital-gains liability every time the market moves, which allows a long-term holder to control the realization date to a meaningful degree.

Large, long-held stock positions provide a visible example of the same distinction even though the circumstances of a major shareholder differ from those of an ordinary investor. Cases such as Warren Buffett’s long-held stock positions and long periods of appreciation in Microsoft stock illustrate how market value can rise without the owner necessarily selling, but the tax principle does not depend on the investor being wealthy or on the position being unusually large.

Deferral should not be confused with a permanent exemption. If an investor eventually sells an appreciated asset in a taxable transaction, the deferred gain generally comes back into the tax calculation, and waiting longer can make the embedded gain larger if the investment continues to appreciate. The benefit is therefore partly a question of timing and compounding, not simply whether tax disappears.

Holding period and income level affect the tax cost

The date of sale matters because U.S. federal tax rules distinguish short-term from long-term capital gains. Investment property held for more than one year generally produces a long-term capital gain or loss when sold, while property held for one year or less generally produces a short-term result; net long-term gains can qualify for preferential federal rates, while net short-term gains are generally taxed using ordinary income rates.

For many individual taxpayers, the main long-term capital-gain rate bands are 0%, 15% and 20%, depending on taxable income and filing status, and certain categories such as collectibles gain and unrecaptured Section 1250 gain follow different maximum-rate rules. Higher-income taxpayers can also face the 3.8% Net Investment Income Tax, so the marginal cost of realizing a large gain can be greater than the headline long-term capital-gain rate alone suggests.[1]

Crossing the one-year holding threshold can therefore change the federal tax rate on a gain, but it is not a reason to ignore investment risk. If a position has become badly overvalued, excessively concentrated or inconsistent with the investor’s plan, the expected tax saving from waiting has to be compared with the financial risk of continuing to hold it.

The same reasoning applies when a sale would push more long-term gain into a higher capital-gain band or increase exposure to NIIT. Timing a discretionary sale for a year in which taxable income is lower can sometimes reduce the marginal tax cost, but the calculation should be based on the investor’s actual projected return rather than an assumption that retirement or a future year will automatically produce a lower rate.

Realizing gains across several tax years

An investor with a large appreciated position does not always need to choose between selling everything now and holding everything indefinitely. When the asset is liquid and partial sales are practical, realizing portions of the gain over more than one tax year can limit how much additional taxable income is created in any single year and can make it easier to coordinate the sale with other income, deductions and portfolio changes.

This is particularly relevant around retirement, but retirement should not be treated as a guaranteed low-tax period. Wages may fall after full-time work ends, yet taxable withdrawals, pensions, Social Security taxation, investment income and other household income can keep taxable income higher than expected, so the useful question is what the household’s marginal rate is likely to be in the year of sale rather than whether the person is still employed.

Spreading sales can also reduce concentration gradually instead of allowing the tax bill to keep an investor tied to one security. That approach preserves some deferral on the unsold portion while recognizing that risk management has value of its own, especially when one holding has grown into a large share of the portfolio.

A lower-income year can sometimes create an opportunity to realize long-term gains at a relatively favorable federal rate, a practice often described as capital-gain harvesting. The objective is different from loss harvesting because the investor is intentionally recognizing a gain that might otherwise have remained deferred, usually because the current tax rate is attractive enough to justify resetting basis or reducing future embedded gain.

Selling solely because a calendar year is ending is not automatically sensible. A sale has transaction, market and tax consequences, and a gain realized late in one year cannot be moved back into unrealized status simply because the investor later regrets the timing, so projected income should be reasonably reliable before tax timing becomes a major reason for the transaction.

Capital losses can change the timing decision

Capital losses can reduce the tax cost of realizing appreciated assets because capital gains and losses are netted under federal rules. When total capital losses exceed total capital gains, an individual can generally deduct up to $3,000 of the remaining net capital loss against other income, or $1,500 for a married person filing separately, and unused capital losses can generally be carried forward to later years.

That makes loss harvesting useful when a portfolio already contains investments that the investor is willing to sell for sound financial reasons. The old idea that losses should simply be realized when ordinary income is highest is too simplistic because the immediate ordinary-income deduction is limited, while the larger economic value may come from offsetting capital gains now or carrying the loss forward to offset gains later.

The wash-sale rule is also more restrictive than saying that an investor merely has to wait 30 days after a sale. A wash sale can occur when stock or securities are sold at a loss and substantially identical stock or securities are acquired within 30 days before or after the sale, and the rule can also apply through certain IRA or Roth IRA acquisitions; when the loss is disallowed in an ordinary taxable replacement purchase, it is generally added to the basis of the replacement securities and postponed rather than simply erased.

Loss harvesting therefore has to be coordinated across accounts and recent purchases, not just around the date on which the loss position is sold. Investors who automatically reinvest dividends, trade the same security in multiple brokerage accounts or have a spouse purchasing substantially identical securities can create complications that are easy to miss when looking at only one account statement.

Retirement accounts defer a different tax problem

Tax-advantaged retirement accounts are often described as another way to defer capital-gains tax, but the mechanics are different from simply holding an appreciated asset in a taxable account. Buying and selling investments inside a traditional tax-deferred retirement account generally does not create current capital-gains taxation for each trade, while distributions from the account are generally governed by the retirement account’s distribution rules rather than preserving the long-term capital-gain character of each underlying sale.

The distinction matters because the account can shelter more than appreciation. Interest-bearing investments, frequently distributing funds and other assets can keep creating current taxable income in an ordinary account unless one places them in a retirement account, subject to the rules and limitations of the account, so the benefit is broader than postponing tax on a single unrealized stock gain.

A traditional IRA can provide tax deferral, but eventual taxable distributions are generally taxed as ordinary income, which means an investor should not assume that placing an asset with favorable long-term capital-gain treatment inside the account always produces the lowest lifetime tax bill. Roth accounts work differently because qualified distributions can be tax-free, but Roth space is limited and eligibility, contribution and conversion rules affect how the account can be used.

Taxable and retirement accounts also differ in liquidity and estate-planning treatment, so asset location should be considered alongside the investor’s withdrawal plan. An investment decision that looks attractive when viewed only through current tax deferral can become less attractive if it makes future withdrawals inflexible or converts income that could have received preferential capital-gain treatment into ordinary taxable retirement distributions.

Special deferral rules for property sales

Some capital-gain deferral does not depend on continuing to hold the same asset. Section 1031 can allow gain or loss to go unrecognized when qualifying real property held for business or investment is exchanged for other qualifying real property, but current rules limit like-kind exchange treatment to real property and exclude property held primarily for sale, so the provision cannot be used as a general rollover rule for stocks, bonds, artwork or other investment assets.[2]

A valid like-kind exchange postpones recognition by carrying tax attributes into the replacement property rather than making the economic gain vanish. Timing, identification, exchange structure and the nature of the properties matter, so investors contemplating a 1031 exchange usually need transaction-specific tax and legal guidance before the original property is sold rather than after the sale proceeds have already been received.

Installment-sale treatment provides another form of timing control for qualifying property sales when at least one payment is received after the tax year of sale. Instead of recognizing all eligible gain in the year the sale occurs, the seller generally recognizes a portion of gain as qualifying principal payments are received, while interest is treated separately; the method has important exceptions and does not apply to every asset or transaction.[3]

Installment treatment is therefore different from holding an appreciated security and different again from a 1031 exchange. The seller has actually disposed of the property, but the tax recognition of eligible gain is spread with the payment stream, which can be useful for some privately negotiated real-estate or business-property transactions while creating credit risk and administrative complexity that a cash sale would not have.

When deferral stops being worth it

The strongest argument for deferring a capital gain is the time value of the tax that remains unpaid. If an investor can keep more capital invested for years before the tax becomes due, the deferred amount can participate indirectly in compounding, but that benefit is only valuable if the investment remains appropriate and the later tax consequences do not offset too much of the advantage.

A large embedded gain can create tax lock-in, where the reluctance to pay tax becomes the main reason for continuing to own an asset. That is dangerous when the position has become too concentrated, the underlying business has deteriorated, the investor needs liquidity or the portfolio’s risk level no longer fits the investor’s circumstances, because avoiding a known tax cost can expose the portfolio to a much larger market loss.

The old article’s emphasis on holding appreciated stock captured the real benefit of deferral but gave too little weight to this trade-off. Even investors who strongly prefer long holding periods should treat the prospective tax bill as one cost among several rather than allowing it to veto a sale that is otherwise justified by diversification, valuation or financial needs.

The same discipline applies to transaction structures that promise larger tax savings. A complicated exchange, installment arrangement or portfolio maneuver is not automatically superior because it moves a tax bill into the future, and the relevant comparison should include fees, investment risk, credit risk, lost flexibility and the possibility that future tax circumstances differ from what was expected.

A practical way to judge a deferred gain

A useful starting point is the amount of gain that would actually be realized if the asset were sold today, not the current market value of the entire position. From there, the investor can estimate the federal and state tax cost of the sale, identify whether the gain is short-term or long-term, check whether existing capital losses would offset part of it and determine whether NIIT or another special rate rule is relevant.

The next question is what is gained by waiting. If deferral is expected to move the sale into a genuinely lower-rate year, allow more capital to remain invested or create room for future losses to offset the gain, waiting has a measurable tax rationale; if the only reason is discomfort with writing a tax check, the decision is much harder to defend.

Portfolio consequences then need to be placed beside the tax estimate. An investor who would willingly buy the same asset today at its current price has a stronger case for continued ownership than someone who would never initiate the position now but keeps it only because selling would trigger tax, since the latter situation suggests that the embedded gain is controlling the investment decision.

Cash-flow needs matter as well because tax deferral has little value if the investor soon needs the proceeds. A planned home purchase, business investment, debt repayment or retirement spending requirement can make liquidity more important than preserving the unrealized gain, while an investor with a long horizon and diversified holdings may have much more freedom to choose the realization year.

Tax planning should finally be coordinated across the household rather than performed security by security. Expected income, deductions, charitable giving, retirement withdrawals, capital-loss carryforwards and major asset sales can interact within the same return, so a sale that appears expensive in isolation may fit well in one year and poorly in another.

Deferring a capital gain is valuable when the tax timing supports an investment plan that already makes financial sense. The aim is not to postpone every gain for as long as possible, but to preserve flexibility so that tax is paid at a sensible time without allowing the tax tail to control the portfolio.

FAQs

  • Do I owe capital-gains tax when an investment rises in value but I do not sell it?

    For an ordinary taxable investment, market appreciation by itself generally does not create a realized capital gain. A taxable gain is usually recognized when the asset is sold or otherwise disposed of in a taxable transaction, although special rules can apply to particular investments and taxpayers.

  • Is it always better to wait more than one year before selling an appreciated investment?

    No. Holding an investment for more than one year can qualify a gain for long-term capital-gain treatment, but the potential tax benefit should be compared with the investment risk, diversification needs, liquidity requirements and the possibility that the asset’s price changes while you wait.

  • Can a capital loss be used to offset a capital gain?

    Yes. Capital losses generally offset capital gains through the federal netting rules, and a limited amount of excess net capital loss can generally reduce other income, with unused amounts carried forward. Wash-sale rules can postpone a loss when substantially identical securities are acquired within the applicable period around a loss sale.

  • Does a traditional IRA preserve the lower long-term capital-gains tax rate?

    Generally, no. Investment trades inside a traditional IRA do not create current capital-gains tax in the same way as trades in a taxable account, but taxable IRA distributions are generally treated as ordinary income rather than retaining the character of the underlying long-term capital gains.

Sources

  1. Internal Revenue Service: Publication 550 (2025), Investment Income and Expenses
  2. Internal Revenue Service: Like-kind exchanges – Real estate tax tips
  3. Internal Revenue Service: Publication 537 (2025), Installment Sales
Monica

About the author

Monica Stankowski

Market Analyst

Monica Stankowski analyzes markets using fundamental, valuation and price-based evidence. Her work compares competing explanations, identifies the factors that may change an outlook and treats market conclusions as informed analysis rather than guaranteed predictions.

View author profile