Realized vs. Unrealized Gains: Key Differences and Tax Impact
Realized and unrealized gains both describe an increase in an investment’s value, but they represent different stages of ownership. An unrealized gain exists while you still hold an asset that is worth more than its cost basis. A realized gain generally occurs when you sell or otherwise dispose of that asset for more than its adjusted basis.
The distinction matters because unrealized gains can rise, shrink, or disappear as market prices change. Realized gains are based on a completed transaction and may create a reporting or tax consequence in a taxable account.
The short answer is:
- An unrealized gain is an increase in the value of an investment you still own.
- A realized gain generally results when you sell or dispose of the investment for more than its adjusted basis.
- Unrealized gains on ordinary investments are generally not reported as taxable capital gains merely because market value increased.
- Realized gains in a taxable account may be short-term or long-term, depending on the asset and holding period.
Tax treatment varies by asset, account, transaction, and taxpayer. Special rules can apply to mutual-fund distributions, certain contracts, traders, inherited property, digital assets, real estate, and other investments.
Realized vs. Unrealized Gains at a Glance
| Feature | Realized Gain | Unrealized Gain |
|---|---|---|
| Has the appreciated asset been sold or disposed of? | Generally yes | No |
| Other common name | Locked-in gain | Paper gain |
| Can the amount change with the asset’s future market price? | No, after the transaction is completed | Yes |
| Typically appears in brokerage tax reporting after a taxable sale? | Yes | Generally no |
| Generally creates a capital-gain event in a taxable account? | Potentially | Usually not by itself |
| Included in current portfolio value? | Not as an open-position gain after the sale | Yes |
| Can it disappear if the market falls? | No | Yes |
| May affect investment decisions? | Yes | Yes |
What Is an Unrealized Gain?
An unrealized gain exists when an asset’s current market value is higher than its adjusted cost basis but the investor still owns the asset.
Suppose an investor buys 20 shares at $50 per share. The original investment is $1,000. If the shares later trade at $65, the position is worth $1,300. The $300 increase is an unrealized gain because the shares have not been sold.
That gain is not guaranteed. If the market price falls to $45 before the investor sells, the earlier $300 paper gain disappears and the position instead shows an unrealized loss of $100.
An unrealized gain can appear in:
- Stocks
- Exchange-traded funds
- Mutual funds
- Bonds traded above their basis
- Real estate
- Digital assets
- Collectibles
- Options and other investments
The economic meaning and tax treatment can differ substantially across these assets. A brokerage screen showing a positive number is therefore a useful performance indicator, not a complete tax calculation.
What Is a Realized Gain?
A realized gain generally occurs when an investor sells or exchanges an asset for more than its adjusted basis.
Continue the previous example. The investor bought 20 shares for a total of $1,000 and later sells them for total proceeds of $1,300. Ignoring transaction costs and basis adjustments, the completed sale produces a $300 realized gain.
The IRS guidance on capital gains and losses explains that a capital gain generally arises when a capital asset is sold for more than its adjusted basis. The amount realized and adjusted basis—not merely the market price shown in an account—determine the gain or loss for tax purposes.
A realized gain does not always mean the investor withdrew cash from the brokerage account. The sale itself can realize the gain even if the proceeds remain as cash in the account or are immediately reinvested in another asset.
How an Unrealized Gain Becomes Realized
An unrealized gain normally becomes realized when a transaction disposes of the appreciated asset. A straightforward sale is the most familiar example, but other transactions can also count as dispositions.
The process is:
- The investor acquires an asset and establishes a cost basis.
- The asset’s market value rises while it remains owned.
- The account displays an unrealized gain.
- The investor sells or otherwise disposes of the asset.
- The gain or loss is determined using the amount realized and adjusted basis.
Reinvesting the proceeds does not normally undo the completed sale. The old position has been disposed of, and the new investment generally begins with its own basis and holding period.
Realized and Unrealized Losses
The same distinction applies when an investment falls in value.
An unrealized loss exists when the current value is below the adjusted basis but the investor still owns the asset. A realized loss generally occurs when the investor sells or disposes of the asset for less than its adjusted basis.
For example:
- An investor buys shares for $2,000.
- The shares fall to a market value of $1,600.
- While the investor still owns them, the $400 decline is an unrealized loss.
- If the investor sells for $1,600, the transaction generally creates a $400 realized loss before considering any basis adjustments, transaction costs, or special rules.
Realizing a loss may provide a tax benefit in a taxable account, but the benefit is subject to netting rules, deduction limits, the wash-sale rule, and other restrictions. A loss on personal-use property is generally not deductible as a capital loss.
Why Cost Basis Matters
The purchase price is often the starting point for cost basis, but it is not always the final number used to determine gain or loss.
Basis may be affected by:
- Reinvested dividends or capital-gain distributions
- Commissions and certain transaction costs
- Stock splits
- Return-of-capital distributions
- Wash-sale adjustments
- Gifts or inheritances
- Corporate reorganizations
- Improvements and depreciation for certain property
If an investor enters the wrong basis, the realized gain or loss may also be wrong. Brokerage records can help, but the taxpayer remains responsible for accurate reporting.
The IRS Publication 550 provides detailed information about investment income, basis, sales, capital gains, losses, and special transaction rules.
How Realized Gains Are Taxed in a Taxable Account
For ordinary capital assets held in a taxable account, a realized gain is generally classified as short-term or long-term.
Short-term capital gain
A gain is generally short-term when the asset was held for one year or less. Net short-term capital gains are generally taxed at ordinary federal income-tax rates.
Long-term capital gain
A gain is generally long-term when the asset was held for more than one year. Net long-term capital gains may qualify for preferential federal rates, depending on taxable income, filing status, asset type, and other factors.
The IRS generally counts the holding period from the day after the asset was acquired through the day it was disposed of. Exceptions apply to certain property and transactions.
Taxable income is an important part of determining the applicable rate. Our explanation of adjusted gross income versus taxable income shows where taxable income fits into the federal tax calculation.
State taxation may differ from federal treatment. Some states tax capital gains as ordinary income, while others use different rules or impose no individual income tax.
Are Unrealized Gains Taxable?
For an ordinary investment held by an individual, a market-value increase is generally not taxed as a capital gain solely because it appears on a brokerage statement. The investor normally has not completed a sale or disposition.
However, “unrealized gains are never taxable” is too broad. Exceptions and special regimes can apply. Examples include:
- Certain Section 1256 contracts subject to mark-to-market treatment
- A trader who has made a valid mark-to-market election
- Certain straddles and constructive-sale situations
- Special rules for controlled foreign corporations or other complex holdings
- Capital-gain distributions from mutual funds, even when the shareholder did not sell fund shares
This article focuses on ordinary investors holding common investments such as stocks, bonds, ETFs, and mutual funds. Complex positions should be reviewed with an appropriately qualified tax professional.
What Changes Inside an IRA or Other Tax-Advantaged Account?
Account type can change the immediate tax effect of selling an appreciated investment.
In a traditional IRA or Roth IRA, buying and selling investments inside the account generally does not create a current taxable capital gain in the same way as a sale in a regular taxable brokerage account. Tax consequences usually depend on the account rules and distributions rather than on each internal trade.
This does not make gains economically irrelevant. A sale still converts an open-position gain into cash or another holding inside the account. The portfolio’s value and future growth can still change.
Our comparison of an IRA and a brokerage account explains how taxes, withdrawals, contribution rules, and investment flexibility differ.
Other tax-advantaged accounts have their own rules. Do not assume that treatment in one account applies to every retirement, education, or health-related account.
Mutual-Fund Capital-Gain Distributions
Mutual funds create an important exception to a common assumption. An investor may owe tax on a capital-gain distribution from a mutual fund held in a taxable account even if the investor did not sell any fund shares.
The fund may sell appreciated investments within its portfolio and distribute net gains to shareholders. The distribution can be taxable to the shareholder and may be reported on Form 1099-DIV.
Reinvesting the distribution usually does not make it tax-free. The reinvested amount generally purchases additional shares and creates additional basis that should be tracked.
This is different from an unrealized increase in the market value of the shareholder’s existing fund shares. One is a distribution resulting from activity inside the fund; the other is a paper change in the value of the shares still held.
How Capital Losses Offset Gains
Realized capital losses can generally offset realized capital gains, subject to classification and netting rules.
The broad sequence is:
- Combine short-term capital gains and losses.
- Combine long-term capital gains and losses.
- Net the short-term and long-term results as required.
- Determine whether the final result is a net gain or net loss.
If total capital losses exceed total capital gains, the IRS generally allows an individual to deduct the lesser of the remaining net loss or $3,000 against other income. The limit is $1,500 for a married individual filing separately. An unused net capital loss can generally be carried forward to later years.
These federal limits are described in IRS Topic No. 409. State rules may be different.
The Wash-Sale Rule
Selling an investment at a loss and quickly buying it back may trigger the wash-sale rule.
The rule generally applies when an investor sells stock or securities at a loss and acquires substantially identical stock or securities within the period beginning 30 days before the sale and ending 30 days after it. This creates a 61-day window around the loss sale.
When the rule applies, the loss is generally disallowed at that time and added to the basis of the replacement investment, subject to the applicable rules. The loss is therefore usually deferred rather than immediately usable.
Potential wash sales can involve purchases:
- In the same brokerage account
- In another brokerage account
- Through automatic dividend reinvestment
- By a spouse
- In certain tax-advantaged accounts, where consequences can be less favorable
Broker reporting may not identify every cross-account situation. Investors using tax-loss harvesting should maintain complete records and review the current IRS rules.
Portfolio Decisions: Should You Realize a Gain?
Tax consequences matter, but taxes should not be the only reason to hold or sell an investment.
Reasons an investor might realize a gain include:
- Rebalancing a portfolio
- Reducing an oversized position
- Changing an investment strategy
- Funding a planned expense
- Moving to a lower-cost or more diversified investment
- Exiting an investment whose risk or fundamentals no longer fit the plan
Reasons an investor might continue holding include:
- The investment remains aligned with long-term goals
- Selling would create an unnecessary short-term gain
- The investor wants to defer a taxable event
- The position remains appropriately diversified and sized
- Trading would add avoidable costs or complexity
Avoid holding a poor investment solely to postpone tax, and avoid selling a strong long-term investment solely because it shows a paper gain. Consider the entire portfolio, time horizon, risk tolerance, account type, and after-tax result.
Investors deciding how to deploy new money may also compare dollar-cost averaging and lump-sum investing. That decision is separate from whether an existing gain should be realized.
Realized Gains in Options Strategies
Options can create additional complexity because closing, exercising, assigning, or allowing an option to expire can produce different tax and basis consequences.
An option position may show an unrealized gain while it remains open. Closing the position generally realizes the result, but exercise or assignment may adjust the basis or proceeds of the underlying shares instead of producing a separately reported gain in the same way.
Multi-leg strategies can be subject to straddle, constructive-sale, wash-sale, or other special rules. Investors considering strategies such as a cash-secured put versus a covered call should understand that similar payoff patterns do not necessarily produce identical tax reporting.
Common Mistakes to Avoid
Treating a paper gain as guaranteed profit
An unrealized gain can decline before the investment is sold. It should not be treated as cash already secured.
Assuming a realized gain requires withdrawing money
Selling can realize a gain even when the proceeds remain in the account or are reinvested immediately.
Ignoring adjusted basis
The original purchase price may not equal the final tax basis. Reinvested distributions, wash sales, and other adjustments can change the result.
Assuming every realized gain is currently taxable
Sales inside an IRA or another tax-advantaged account generally follow the account’s rules rather than ordinary taxable-brokerage treatment.
Assuming unrealized gains can never have tax consequences
Special mark-to-market rules and mutual-fund capital-gain distributions show why the statement requires qualification.
Selling only to change the color on a brokerage screen
A red or green number does not determine whether a trade supports the investor’s goals. Decisions should follow a plan rather than emotion.
Forgetting the holding period
Selling shortly before a position qualifies as long-term can change federal tax treatment. Market risk and investment quality still matter, so waiting is not automatically the right choice.
Overlooking estimated taxes
A substantial taxable gain can increase the need for estimated tax payments. Withholding and safe-harbor rules should be reviewed before year-end.
How to Track Gains and Losses
Good records make both portfolio review and tax filing easier.
Keep documentation for:
- Purchase and sale dates
- Number of shares or units
- Purchase price and sale proceeds
- Commissions and transaction costs
- Reinvested dividends and distributions
- Stock splits and corporate actions
- Wash-sale adjustments
- Transfers between brokers
- Gifts, inheritances, and donated investments
- Form 1099-B and other tax forms
Compare brokerage tax documents with your own records, particularly after an account transfer. A receiving broker may not always have complete historical basis information.
Most sales and exchanges of capital assets are generally reported on Form 8949 and summarized on Schedule D, although exceptions and alternative forms can apply.
Frequently Asked Questions
What is the difference between realized and unrealized gains?
An unrealized gain is an increase in the value of an asset that is still owned. A realized gain generally occurs after the asset is sold or disposed of for more than its adjusted basis.
Do you pay taxes on unrealized gains?
Ordinary investors generally do not owe capital-gains tax solely because a typical investment increased in market value while they continued to hold it. Special mark-to-market rules, fund distributions, and other exceptions can apply.
Do you pay taxes on realized gains?
A realized gain in a taxable account may be taxable. The treatment depends on the asset, adjusted basis, holding period, account, total income, filing status, and applicable federal and state rules.
Is a realized gain the same as cash profit?
Not exactly. A sale can realize a gain even if the proceeds remain in the brokerage account or are reinvested. Taxes are based on the applicable gain calculation, not on whether money was transferred to a bank account.
Can an unrealized gain become a loss?
Yes. If the asset’s market value falls below its adjusted basis before sale, an earlier unrealized gain can become an unrealized loss.
Are realized gains inside an IRA taxable immediately?
Trades inside an IRA generally do not create current capital-gains tax in the same way as trades in a taxable brokerage account. Contributions, distributions, and account type determine the tax treatment.
Can realized losses reduce taxes?
Eligible capital losses may offset capital gains. If losses exceed gains, a limited amount may generally offset other income, with unused losses potentially carried forward. Wash-sale and other limitations can apply.
Does reinvesting a realized gain avoid tax?
Ordinarily, immediately reinvesting proceeds in a taxable brokerage account does not cancel the gain from the completed sale. Specific deferral provisions may exist for certain transactions, but regular stock reinvestment is generally not one of them.
Are mutual-fund distributions realized gains?
A mutual fund can distribute capital gains created by sales within the fund. A shareholder may have a taxable capital-gain distribution even without selling fund shares.
Final Verdict
The difference between realized and unrealized gains is whether the investment gain remains on an open position or has been produced through a completed disposition. An unrealized gain reflects appreciation in an asset that is still owned and can change with the market. A realized gain generally results from selling or disposing of the asset above its adjusted basis.
For investors, the distinction affects portfolio measurement, risk, recordkeeping, and tax planning. Account type, cost basis, holding period, loss-netting rules, and special tax provisions can all change the result.
Use gains and losses as information—not as automatic instructions to trade. A decision to hold or sell should support a diversified investment plan and account for both market risk and after-tax consequences.
This article is for general educational purposes only and does not provide individualized investment, tax, legal, or financial advice.
