
Capital Gains and Losses
Last updated on September 14, 2026
Parent Topic Guide
This analysis is part of our comprehensive reference guide on Tax Law.
Table of Contents
Capital Gains and Losses
Capital gains and losses are a fundamental part of U.S. federal income taxation because taxpayers frequently acquire property for investment, personal use, business purposes, or other reasons and later sell, exchange, or otherwise dispose of that property.
When property is sold for more than its tax basis, the transaction may produce a capital gain. When property is sold for less than its adjusted basis, the transaction may produce a capital loss. But the tax consequences do not end with the simple difference between the purchase price and the selling price.
Federal tax law asks several additional questions:
- Is the property actually a capital asset?
- What is the taxpayer’s adjusted basis?
- What amount was realized from the disposition?
- Was the property held for more than one year?
- Is the resulting gain or loss short-term or long-term?
- Are there other gains or losses that must be netted against it?
- Is the loss deductible at all?
- Does a special rule apply?
- Is the taxpayer an individual, corporation, partnership, or S corporation?
- Does the gain qualify for a special exclusion or reduced rate?
- Does the transaction involve a home, business property, collectibles, qualified small business stock, or another specially regulated category?
The answers can significantly change the federal tax result.
The Internal Revenue Code contains an entire statutory framework governing capital assets and capital gains and losses. 26 U.S.C. § 1221, the federal definition of a capital asset begins with a broad definition of property held by the taxpayer and then excludes several important categories, including inventory, property held primarily for sale to customers, and certain depreciable business property.
This distinction is crucial. Not every gain from selling property is a capital gain, and not every loss from selling property is a capital loss.
Capital gains and losses therefore occupy a special position within the federal tax system. They are connected to the broader concepts of income, property, basis, investment, business taxation, and taxable income, but they are governed by their own set of rules.
Key Facts
- A capital gain generally arises when a capital asset is sold or exchanged for more than its adjusted basis.
- A capital loss generally arises when a capital asset is sold or exchanged for less than its adjusted basis.
- The concept of basis is fundamental to calculating gain or loss.
- The federal definition of a capital asset is broad but excludes important categories of business and inventory property.
- Stocks, bonds, investment property, and many personal-use assets are generally capital assets.
- Inventory and property held primarily for sale to customers in the ordinary course of business are generally not capital assets.
- Certain depreciable business property and business real estate are excluded from the capital-asset definition, although special Section 1231 rules can give qualifying business property favorable capital-gain treatment.
- Capital gains and losses are classified as short-term or long-term.
- Property held for one year or less generally produces a short-term capital gain or loss.
- Property held for more than one year generally produces a long-term capital gain or loss.
- Net long-term capital gains of individuals may receive lower federal tax rates than ordinary income, depending on taxable income.
- For 2026, the maximum 0% and 15% capital-gain thresholds for individuals are adjusted for inflation; for example, the 0% threshold is $49,450 for unmarried individuals and $98,900 for married couples filing jointly, while the 15% threshold reaches $545,500 for unmarried individuals and $613,700 for married couples filing jointly.
- Short-term capital gains are generally taxed at ordinary income tax rates.
- For individuals, net capital losses generally can offset capital gains without the same $3,000 limitation that applies to losses exceeding capital gains.
- If an individual’s capital losses exceed capital gains, up to $3,000 of the excess generally may be deducted against other income in a year, or $1,500 for a married individual filing separately.
- Unused individual capital losses generally may be carried forward to future years.
- Corporations are subject to different capital-loss rules and generally cannot use net capital losses in the same manner as individuals.
- Losses from the sale of personal-use property, such as a personal automobile, are generally not deductible.
- Special rules apply to collectibles, qualified small business stock, depreciated real property, securities, homes, related-party transactions, and other categories.
- A capital gain or loss generally must be recognized before it becomes part of the federal tax calculation, although federal law contains important exceptions and nonrecognition rules.
- Capital gains and losses are generally reported through Form 8949 and Schedule D for individual taxpayers when applicable.
- High-income taxpayers may also face the 3.8% Net Investment Income Tax on certain investment income, including capital gains, when the statutory requirements are met.
1. What Is a Capital Gain?
A capital gain generally occurs when a taxpayer disposes of a capital asset for more than the taxpayer’s adjusted basis in that asset.
A simplified formula is:
Amount realized − adjusted basis = gain or loss
For example, suppose an investor purchases stock for $10,000 and later sells it for $16,000.
Assuming there are no other adjustments:
$16,000 − $10,000 = $6,000 gain
If the stock is a capital asset, the $6,000 may be a capital gain.
The tax law then asks another question:
How long was the stock held?
If it was held for one year or less, the gain is generally short-term.
If it was held for more than one year, the gain is generally long-term.
That distinction can dramatically affect the federal tax rate.
The IRS explains that a capital gain occurs when a capital asset is sold for more than its adjusted basis and that a capital loss occurs when the asset is sold for less than its adjusted basis.
2. What Is a Capital Asset?
The term capital asset is deceptively simple.
Under 26 U.S.C. § 1221, a capital asset generally means property held by the taxpayer, whether or not connected with a trade or business, except for specified categories excluded by the statute.
Examples of assets that are commonly treated as capital assets include:
- stocks;
- bonds;
- investment securities;
- investment real estate;
- personal-use property;
- collectibles;
- and many other forms of property.
But the statute excludes several categories.
For example, inventory and property held primarily for sale to customers in the ordinary course of a trade or business generally are not capital assets.
Similarly, depreciable property used in a trade or business and certain business real property fall outside the ordinary capital-asset definition.
This distinction prevents a retailer from turning ordinary business inventory into capital assets simply because the business eventually sells it at a profit.
A clothing retailer selling inventory at a profit generally has ordinary business income, not a capital gain merely because the inventory was technically “property.”
The tax character depends on what the property is and how the taxpayer holds it.
3. Capital Assets Versus Business Assets
One of the most important distinctions in capital-gain taxation is between investment property and property used in an operating business.
Consider two taxpayers.
Investor
An investor purchases shares of a publicly traded company and later sells them at a profit.
The shares are generally capital assets.
Retailer
A retailer purchases 1,000 products intending to resell them to customers.
The products are inventory.
They are generally excluded from the capital-asset definition.
The resulting profit is generally business income rather than capital gain.
The difference is not merely the fact that one asset is a stock and the other is a physical product.
The purpose and statutory classification of the property matter.
4. The Importance of Basis
Capital-gain taxation depends heavily on basis.
Basis generally represents the taxpayer’s tax investment in property.
For an asset purchased for cash, the initial basis is often the purchase price, although other costs and adjustments may affect the basis.
Suppose an investor buys stock for:
$20,000
and later sells it for:
$25,000
The basic gain is:
$25,000 − $20,000 = $5,000
But imagine that the taxpayer’s basis was adjusted because of other transactions.
The calculation may then be:
$25,000 amount realized − $22,000 adjusted basis = $3,000 gain
The basis rather than the original purchase price is the relevant number.
This is why taxpayers should preserve records relating to the acquisition and subsequent history of property.
Basis can be affected by:
- additional investment;
- capital improvements;
- depreciation;
- certain distributions;
- corporate reorganizations;
- gifts;
- inheritances;
- stock splits;
- reinvested dividends in certain circumstances;
- and other transactions.
The tax history of an asset can therefore continue long after the original purchase.
5. Adjusted Basis
The term adjusted basis recognizes that the taxpayer’s original basis may change over time.
A simplified model is:
**Original basis
- qualifying increases
− qualifying decreases
= adjusted basis**
For example, suppose a taxpayer purchases property for $100,000 and later makes $20,000 of qualifying capital improvements.
The taxpayer’s basis may become:
$100,000 + $20,000 = $120,000
If the property is then sold for $150,000, the simplified gain would be:
$150,000 − $120,000 = $30,000
The calculation can become more complicated if depreciation, casualty losses, previous deductions, or other basis adjustments are involved.
The principle remains the same:
Capital gain or loss is measured against adjusted tax basis, not necessarily against the amount originally paid.
6. Amount Realized
The other side of the gain-or-loss equation is the amount realized.
The amount realized is not necessarily limited to the cash received.
Depending on the transaction, the calculation can take account of:
- cash;
- property received;
- liabilities assumed by the buyer;
- liabilities from which the seller is relieved;
- and other relevant amounts.
For example, suppose a taxpayer sells property for $100,000 cash and the buyer assumes a $50,000 mortgage attached to the property.
The federal tax calculation may treat the amount realized as including more than the $100,000 of cash actually received.
This is why a taxpayer cannot always determine taxable gain simply by looking at the check or bank deposit from a sale.
The legal structure of the transaction matters.
7. Recognition of Gain or Loss
A taxpayer can experience an economic increase in value without immediately recognizing a taxable capital gain.
Suppose an investor purchases stock for $10,000.
The stock rises in value to $15,000.
The investor has an unrealized gain of $5,000.
But if the investor has not sold or otherwise disposed of the stock, there generally has not yet been a recognized capital gain under the ordinary realization rules.
Once the stock is sold for $15,000, the $5,000 gain generally becomes a recognized transaction.
This distinction between unrealized appreciation and realized and recognized gain is central to traditional federal income taxation.
It is also one reason that taxpayers can own highly appreciated assets without immediately paying federal income tax on the appreciation.
8. Realization Versus Recognition
The concepts of realization and recognition should be distinguished.
Realization
A transaction generally occurs that converts the taxpayer’s economic appreciation or decline into a measurable amount, such as a sale or exchange.
Recognition
Federal tax law determines whether the realized gain or loss is actually taken into account for tax purposes in that year.
Most ordinary sales of capital assets involve both realization and recognition.
But Congress has created numerous nonrecognition provisions under which a transaction can produce economic consequences without immediately producing a taxable gain or deductible loss.
Examples can arise in certain:
- like-kind exchanges;
- corporate reorganizations;
- contributions to corporations;
- partnership transactions;
- involuntary conversions;
- and other statutory situations.
Therefore:
realized does not always mean immediately taxable.
9. Short-Term and Long-Term Capital Gains
Once a transaction is classified as a capital transaction, the taxpayer generally must determine the holding period.
The basic rule is:
- one year or less: short-term;
- more than one year: long-term.
The IRS confirms this distinction and explains that the holding period generally runs from the day after acquisition through the date of disposition.
This creates a major tax distinction.
Short-term capital gain
Generally taxed at ordinary federal income-tax rates.
Long-term capital gain
May qualify for the preferential capital-gain rates applicable to individuals.
The holding period is therefore not merely an administrative detail.
It can materially affect the amount of federal tax owed.
10. Why the One-Year Rule Matters
Consider an investor who purchases stock for $50,000.
The stock later becomes worth $80,000.
The investor sells it after:
10 months
The $30,000 gain is generally short-term.
18 months
The $30,000 gain is generally long-term.
The economic gain is identical.
The tax treatment can be different because the holding periods are different.
This is one reason investors pay close attention to acquisition dates and sale dates.
11. Netting Capital Gains and Losses
Taxpayers frequently have multiple capital transactions during the same year.
An investor might have:
- $20,000 long-term gain;
- $8,000 long-term loss;
- $5,000 short-term gain; and
- $3,000 short-term loss.
The federal tax system does not simply tax every gain separately while ignoring the losses.
Capital gains and losses are generally netted according to statutory ordering rules.
The process distinguishes between:
- short-term gains and losses; and
- long-term gains and losses.
The resulting net amounts are then combined under the applicable rules.
This is why a taxpayer’s final capital-gain tax position cannot necessarily be determined by looking at only one profitable investment.
12. Net Capital Gain
Under 26 U.S.C. § 1222, net capital gain generally refers to the excess of net long-term capital gain over net short-term capital loss.
This definition is important because preferential capital-gain rates generally operate through the concept of net capital gain rather than by applying a special rate to every individual transaction.
For example, a taxpayer might have:
$50,000 long-term capital gains
and:
$20,000 short-term capital losses
The netting process can produce:
$30,000 net capital gain
subject to the detailed statutory rules.
The character of the transactions therefore matters at the netting stage.
13. Short-Term Capital Gains Are Generally Ordinary Income
Short-term capital gains generally do not receive the preferential long-term capital-gain rates.
Instead, they are generally taxed at the taxpayer’s ordinary income tax rates.
For 2026, individual federal ordinary income tax rates range from 10% to 37%, depending on taxable income and filing status.
This creates a significant difference between short-term and long-term investment gains.
An investor who sells an appreciated asset after only a few months may therefore face a substantially different tax result from an investor who holds the same asset for more than one year.
The distinction does not mean that long-term gains are always taxed at a single fixed percentage.
The applicable capital-gain rate depends on taxable income and other circumstances.
14. Long-Term Capital Gains and Preferential Rates
Long-term capital gains of individuals generally receive preferential federal tax rates.
For 2026, the principal capital-gain rate thresholds are:
- 0% rate: taxable income up to $49,450 for unmarried individuals, $98,900 for married couples filing jointly, $66,200 for heads of household, and $49,450 for married individuals filing separately;
- 15% rate: applies above those thresholds up to $545,500 for unmarried individuals, $613,700 for married couples filing jointly, $579,600 for heads of household, and $306,850 for married individuals filing separately;
- 20% rate: generally applies above the applicable 15% threshold.
These thresholds apply to the relevant taxable-year capital-gain calculation and interact with the taxpayer’s other taxable income.
The capital-gain rate therefore cannot be determined solely by asking how large the investment gain was.
A taxpayer’s overall taxable income and filing status matter.
15. The 0% Capital-Gain Rate
The existence of a 0% capital-gain rate can be surprising.
It does not mean that capital gains are universally tax-free.
Rather, taxpayers whose taxable income falls within the applicable 0% capital-gain range may pay no regular federal income tax on the portion of qualifying net capital gain falling within that range.
For example, a taxpayer with relatively low taxable income may have a portion of long-term capital gain taxed at 0%.
The capital gain still forms part of the federal tax computation.
It is simply taxed at a zero rate within the applicable statutory range.
16. Capital Gains Can Push Other Income Into Higher Tax Ranges
Capital gains also interact with the taxpayer’s other income.
Suppose a taxpayer has:
$40,000 ordinary taxable income
and:
$30,000 long-term capital gain.
The capital gain does not exist in a vacuum.
The taxpayer’s ordinary income occupies part of the applicable taxable-income range, and the capital gain is layered on top of it for purposes of determining which capital-gain rates apply.
Consequently, a taxpayer can have part of a long-term gain taxed at 0%, another part at 15%, and potentially another part at 20%.
The preferential rates are therefore best understood as rate bands, not as a single tax rate applied to the entire gain.
17. The 3.8% Net Investment Income Tax
Capital gains can also interact with the Net Investment Income Tax (NIIT).
The NIIT is an additional 3.8% tax that can apply to certain net investment income when an individual’s modified adjusted gross income exceeds statutory thresholds.
For individuals, the threshold amounts are generally:
- $200,000 for single taxpayers and heads of household;
- $250,000 for married taxpayers filing jointly or qualifying surviving spouses; and
- $125,000 for married taxpayers filing separately.
Net investment income can include:
- interest;
- dividends;
- capital gains;
- rental income;
- royalty income;
- and certain other investment income.
The NIIT is separate from the ordinary capital-gain tax rates.
Thus, a taxpayer can potentially face:
regular capital-gain tax
plus
3.8% NIIT
on the applicable amount of net investment income.
Not every capital gain is subject to NIIT, and numerous statutory rules determine what constitutes net investment income and what deductions may be taken into account.
18. Capital Losses
A capital loss occurs when a taxpayer disposes of a capital asset for less than its adjusted basis.
Suppose an investor buys stock for $20,000 and sells it for $13,000.
The simplified loss is:
$13,000 − $20,000 = −$7,000
The result is a $7,000 capital loss.
But the tax system does not automatically allow every capital loss to offset every kind of income.
The federal capital-loss rules are specifically designed to distinguish capital losses from ordinary business losses.
19. Capital Losses First Offset Capital Gains
The basic principle for individuals is that capital losses generally offset capital gains.
Suppose a taxpayer has:
$15,000 capital gains
and:
$10,000 capital losses.
The taxpayer has:
$5,000 net capital gain.
The loss has therefore reduced the taxable capital gain.
This is generally more favorable than attempting to use a capital loss directly against wages or other ordinary income because the taxpayer’s ability to deduct capital losses against ordinary income is subject to a statutory limitation.
20. The $3,000 Capital Loss Deduction
If an individual’s total capital losses exceed total capital gains, federal tax law generally permits a limited amount of the excess to be deducted against other income.
Under 26 U.S.C. §1211(b), the deduction is generally limited to the lesser of:
- $3,000; or
- the excess of capital losses over capital gains.
For a married individual filing separately, the limit is generally $1,500.
For example:
Capital gains: $5,000
Capital losses: $12,000
Net capital loss:
$7,000
The taxpayer generally cannot deduct the entire $7,000 against ordinary income in the current year.
Instead, up to:
$3,000
may generally be used against other income, with the remaining amount carried forward under the applicable rules.
21. Capital Loss Carryovers
Unused capital losses do not necessarily disappear.
For individuals, excess capital losses generally can be carried forward to future tax years.
The taxpayer can then use those losses subject to the applicable annual limitations.
Suppose a taxpayer has:
$20,000 capital loss
and:
$2,000 capital gain.
The net capital loss is:
$18,000.
The taxpayer may generally deduct:
$3,000
against other income for the year, leaving:
$15,000
to carry forward.
In a later year, the taxpayer can use the carryover under the applicable capital-loss rules.
This means that a major investment loss can have tax consequences extending over multiple years.
The IRS specifically confirms that individuals may carry forward capital losses exceeding the annual deduction limit.
22. Capital Losses of Corporations
Corporations operate under different capital-loss rules.
Under 26 U.S.C. §1211(a), a corporation’s capital losses generally are allowed only to the extent of capital gains.
Corporations therefore generally do not receive the same $3,000 deduction against ordinary income that individuals receive.
Corporate capital-loss carryback and carryover rules are also different.
Under 26 U.S.C. §1212, corporate net capital losses generally have specific carryback and carryover treatment, including a three-year carryback and five-year carryover framework subject to the statutory exceptions and limitations.
This is another example of why the identity of the taxpayer matters in federal tax law.
23. Personal-Use Property Losses
Not every capital loss is deductible.
One of the most important restrictions concerns personal-use property.
Suppose someone purchases a car for $40,000 and later sells it for $25,000.
The owner has experienced a real economic loss of $15,000.
But that does not generally mean the owner can claim a $15,000 capital loss on the federal tax return.
Losses from the sale of personal-use property are generally nondeductible. The IRS specifically identifies personal-use property such as a personal residence or personal automobile as generally producing nondeductible losses.
The rule reflects an important distinction:
The federal tax law does not generally allow personal consumption losses to be converted into tax deductions.
24. Why Personal Gains Can Still Be Taxable
The rule is not symmetrical.
A loss on the sale of personal property is generally nondeductible.
But a gain on the sale of personal property can be taxable.
For example, if someone purchases a collectible painting for $10,000 and later sells it for $30,000, the $20,000 gain may have federal tax consequences.
The tax law therefore does not generally say:
“Personal property is outside the tax system.”
Instead, it distinguishes between gains and losses and applies special rules to personal-use property.
25. The Sale of a Personal Residence
The sale of a principal residence receives special treatment.
Under IRC §121, qualifying taxpayers may be able to exclude a substantial amount of gain from the sale of a principal residence if the statutory ownership and use requirements are satisfied.
The commonly known exclusion can reach:
- up to $250,000 of gain for many eligible single taxpayers; and
- up to $500,000 for many eligible married couples filing jointly.
The exclusion is subject to detailed requirements and exceptions.
Importantly, the rule concerns gain.
A loss on the sale of a personal residence generally is not deductible merely because the property was sold for less than its basis.
The home-sale rules therefore demonstrate another important principle:
capital-gain taxation can be modified by specific statutory exclusions.
26. Collectibles and the 28% Rate
Certain collectibles receive special treatment.
Examples can include:
- artwork;
- antiques;
- certain coins;
- precious metals;
- stamps;
- and other property falling within the statutory definition.
Long-term gains from collectibles can be subject to a maximum federal rate of 28%, rather than the ordinary 0%, 15%, or 20% long-term capital-gain rates applicable to most property.
This does not mean that every collectible gain is automatically taxed at 28%.
The applicable rate depends on the taxpayer’s circumstances and the statutory rules.
The important principle is that not all long-term capital gains receive identical rate treatment.
27. Unrecaptured Section 1250 Gain
Another special category concerns unrecaptured Section 1250 gain.
This generally relates to certain gains from depreciable real property.
A taxpayer may have claimed depreciation deductions on qualifying real estate.
When the property is sold, some of the resulting gain can receive special treatment because of the depreciation history.
The maximum federal rate applicable to unrecaptured Section 1250 gain for individuals can be 25%.
This is one reason that selling investment real estate can involve several different categories of gain rather than one uniform capital-gain rate.
28. Section 1231 Property
Business property requires particularly careful analysis because not all business assets are capital assets.
Under IRC §1221, depreciable property used in a trade or business and business real property are generally excluded from the capital-asset definition.
But Section 1231 provides special treatment for qualifying property used in a trade or business.
This can produce a highly favorable combination:
- qualifying net gains may receive capital-gain treatment; while
- qualifying net losses may receive ordinary-loss treatment.
The rules are technical and include a lookback mechanism designed to prevent taxpayers from receiving inconsistent treatment from gains and losses over multiple years.
Section 1231 therefore illustrates why it is dangerous to assume:
“Business property = ordinary gain.”
The actual classification requires analysis of the type of property, the holding period, the transaction, depreciation, prior Section 1231 losses, and other factors.
29. Depreciation Recapture
Depreciation can also change the character of gain.
Suppose a business purchases equipment for $100,000 and claims substantial depreciation deductions.
The taxpayer later sells the equipment.
The gain may be subject to depreciation recapture rules, which can cause some or all of the gain to be treated as ordinary income rather than capital gain.
The underlying principle is straightforward:
The taxpayer previously received tax benefits from depreciation deductions. Federal law can therefore require some of the resulting gain to be brought back into ordinary-income treatment when the property is disposed of.
The precise rules differ depending on the type of property and the applicable Internal Revenue Code provision.
30. Related-Party Transactions
Federal law also contains restrictions on certain transactions between related parties.
A taxpayer generally cannot manufacture an immediately deductible capital loss by selling property to a related person under circumstances covered by the statutory disallowance rules.
For example, the IRS identifies certain losses from sales or exchanges between related parties as nondeductible.
These rules prevent taxpayers from creating artificial losses through transactions that do not represent the type of independent economic disposition contemplated by the capital-loss rules.
The relationship between the parties can therefore affect whether an otherwise genuine-looking loss is deductible.
31. Wash Sales
Another important limitation concerns wash sales.
A wash sale generally arises when a taxpayer sells stock or securities at a loss and acquires substantially identical stock or securities within the statutory period surrounding the sale.
The tax law generally prevents the taxpayer from immediately recognizing the loss under the ordinary rules.
Instead, the disallowed loss can generally be added to the basis of the replacement property, preserving the economic loss for later tax treatment under the applicable rules.
The purpose is to prevent taxpayers from claiming a tax loss while effectively maintaining the same investment position.
This is particularly important for active investors who frequently buy and sell securities.
32. Worthless Securities
A security can sometimes become completely worthless without being sold.
Federal tax law contains special rules for worthless securities.
When applicable, the loss can generally be treated as a loss from the sale or exchange of a capital asset.
The timing of the loss can be important because the taxpayer must establish the year in which the security became worthless.
A taxpayer therefore cannot necessarily choose any convenient year in which to claim the loss.
33. Capital Gains From Stocks and Bonds
Stocks and bonds are among the most common capital assets.
When an investor sells stock for more than its adjusted basis, the investor generally has a capital gain.
When stock is sold for less than adjusted basis, the investor generally has a capital loss.
The tax calculation can involve:
- purchase price;
- commissions and transaction costs;
- stock splits;
- reinvested dividends;
- corporate actions;
- holding period;
- wash-sale rules;
- and previous transactions affecting basis.
Modern brokerage statements can simplify recordkeeping, but taxpayers remain responsible for reporting transactions accurately.
34. Reinvested Dividends and Basis
Investors sometimes mistakenly believe that reinvesting a dividend means that no tax consequence exists because the cash was never received personally.
That is not necessarily correct.
A dividend can generally be taxable even when the taxpayer automatically reinvests it.
At the same time, the reinvested amount can generally become part of the basis of the newly acquired investment under the applicable rules.
This creates an important relationship between:
taxable income
and
basis in future investments.
Accurate investment records are therefore essential, particularly for long-term investors who reinvest distributions over many years.
35. Gifts and Inherited Property
Capital-gain calculations can become significantly more complicated when property is received as a gift or inheritance.
The taxpayer’s basis may not simply equal the amount that the taxpayer personally paid, because the taxpayer may not have paid anything.
Gifted property can generally involve special carryover-basis rules.
Inherited property can generally involve a different basis rule, often associated with the property’s fair market value at the decedent’s death, subject to the applicable federal provisions.
The source of the property therefore matters.
A taxpayer who receives appreciated property from another person should not assume that the tax basis is simply the property’s value on the day the taxpayer received it.
36. Capital Gains and Partnerships
Capital gains and losses can also pass through partnerships.
A partnership may sell a capital asset and generate a capital gain.
That gain may then be allocated to the partners under the applicable partnership tax rules.
The partner therefore may receive capital-gain information through Schedule K-1.
The same principle applies to capital losses, subject to the various limitations governing the partner’s ability to use the loss.
This connects capital-gain taxation directly with the pass-through taxation discussed in the preceding article.
37. Capital Gains and S Corporations
S corporations can similarly generate capital gains and losses.
When an S corporation sells a capital asset, the resulting tax item can generally pass through to shareholders under the applicable rules.
The shareholder then reports the relevant item on the shareholder’s federal tax return.
The shareholder may need to distinguish:
- ordinary business income;
- short-term capital gains;
- long-term capital gains;
- capital losses;
- and other separately reported tax items.
The entity therefore does not erase the character of the underlying transaction.
38. Capital Gains and C Corporations
C corporations are treated differently.
A C corporation calculates its own capital gains and losses.
Because corporations are subject to different capital-loss limitations, a corporation cannot simply apply the individual taxpayer’s $3,000 capital-loss deduction against ordinary income.
Corporate capital gains and losses must instead be handled under the corporate rules of Subchapter P and related provisions.
This distinction is especially important when a corporation holds a large investment portfolio or disposes of capital assets.
39. Capital Gains Are Not the Same as Ordinary Business Profit
Suppose a business sells inventory for a profit.
The resulting profit is generally ordinary business income.
Suppose the same business sells an investment stock portfolio at a gain.
The resulting gain may be capital gain.
Suppose the business sells qualifying depreciable business property.
Section 1231 and depreciation-recapture rules may apply.
The economic concept is the same—something was sold for more than its tax basis—but federal tax law can assign completely different tax character to the resulting gain.
This is why character is one of the most important concepts in federal taxation.
40. Tax Planning and Capital Gains
Capital-gain taxation can create legitimate tax-planning considerations.
Taxpayers may consider:
- holding periods;
- realization timing;
- harvesting losses;
- the interaction of gains and losses;
- charitable contributions of appreciated property;
- basis management;
- estate planning;
- and the timing of major asset dispositions.
But tax planning must operate within the federal statutory framework.
A taxpayer cannot simply relabel a personal loss as an investment loss or call ordinary business inventory a capital asset to obtain a preferred tax rate.
The legal classification of the transaction determines its treatment.
41. Tax-Loss Harvesting
Tax-loss harvesting generally refers to realizing investment losses in order to offset capital gains or, subject to the applicable limitations, other income.
For example, an investor may have:
$30,000 realized capital gains
and an investment that currently has:
$15,000 unrealized loss.
Selling the losing investment may realize the $15,000 loss.
That loss can potentially offset capital gains, depending on the applicable rules.
But taxpayers must consider the wash-sale rules before repurchasing substantially identical securities.
Tax-loss harvesting is therefore a tax-planning technique, not an independent tax exemption.
42. Capital Gains and Charitable Giving
Another planning technique can involve appreciated property.
Suppose an investor purchased stock for $10,000 and the stock is now worth $50,000.
Selling the stock would generally create a $40,000 capital gain before considering transaction costs and other adjustments.
In certain circumstances, donating appreciated property to a qualifying charitable organization may produce different federal tax consequences from selling the property and donating the cash.
The charitable-contribution rules are themselves complex, and limitations depend on the type of property, recipient, taxpayer, and other factors.
The broader principle is that the way an appreciated asset is transferred can affect the federal tax consequences.
43. Capital Gains and Estimated Taxes
Capital gains can also affect estimated tax obligations.
An employee may have sufficient withholding from wages to cover ordinary tax liability but then sell a highly appreciated investment.
The resulting capital gain may substantially increase the individual’s tax liability.
The IRS specifically notes that taxpayers with taxable capital gains may need to make estimated tax payments.
Capital-gain planning therefore cannot always wait until the annual return is prepared.
Taxpayers should consider the timing and magnitude of gains during the year.
44. Reporting Capital Transactions
For many individual taxpayers, capital transactions are reported using:
Form 8949, Sales and Other Dispositions of Capital Assets
and:
Schedule D, Capital Gains and Losses.
The IRS explains that most sales and other capital transactions are reported on Form 8949 and summarized on Schedule D when applicable.
The forms require information such as:
- description of property;
- acquisition date;
- sale date;
- proceeds;
- basis;
- adjustments;
- and resulting gain or loss.
Accurate reporting therefore depends on accurate records.
45. Why Capital-Gain Records Matter
Capital assets may be held for many years.
An investor might purchase shares in 2005 and sell them in 2026.
During those 21 years, the taxpayer may have experienced:
- stock splits;
- mergers;
- reinvested dividends;
- corporate reorganizations;
- partial sales;
- gifts;
- transfers;
- and other events affecting basis.
The taxpayer therefore cannot always rely on memory to reconstruct the tax history.
Records are particularly important for:
- purchase price;
- transaction costs;
- improvements;
- depreciation;
- corporate actions;
- inherited property;
- gifted property;
- and prior basis adjustments.
A correct capital-gain calculation begins with a correct basis.
46. Capital Gains and Losses: A Complete Conceptual Example
Consider an investor who begins the year with several transactions.
Transaction One
Stock A is purchased for $20,000 and sold for $30,000 after two years.
Long-term gain: $10,000
Transaction Two
Stock B is purchased for $15,000 and sold for $10,000 after six months.
Short-term loss: $5,000
Transaction Three
Stock C is purchased for $8,000 and sold for $18,000 after three years.
Long-term gain: $10,000
Transaction Four
Stock D is purchased for $12,000 and sold for $9,000 after four months.
Short-term loss: $3,000
The taxpayer has:
Long-term gains: $20,000
Short-term losses: $8,000
The netting rules therefore become relevant.
The taxpayer does not simply pay tax on the $20,000 of long-term gains and ignore the $8,000 of losses.
The short-term and long-term categories must be netted according to the statutory rules.
The resulting net capital gain is then subject to the applicable capital-gain tax rules.
This example demonstrates why the tax return is not simply a list of profitable sales.
47. A Capital Loss Does Not Always Mean a Tax Benefit
Suppose a taxpayer loses $50,000 on a personal automobile.
The economic loss is real.
But there is generally no federal tax deduction for the loss because the automobile was personal-use property.
Now suppose the taxpayer loses $50,000 on investment securities.
The loss may be deductible against capital gains and potentially against other income subject to the statutory limitation.
The economic loss is similar.
The tax treatment is different.
The distinction comes from the nature and use of the property.
48. Capital Gains and the Broader Federal Tax System
Capital gains do not exist in isolation.
They interact with:
- gross income;
- adjusted gross income;
- taxable income;
- deductions;
- tax credits;
- investment income;
- the Net Investment Income Tax;
- estimated taxes;
- business taxation;
- partnership taxation;
- S corporation taxation;
- estate and gift taxation;
- and other federal rules.
This is why a taxpayer cannot determine the ultimate tax liability from the capital-gain percentage alone.
The capital-gain rate is only one component of the overall federal tax calculation.
Key Takeaways
- A capital gain generally arises when a capital asset is sold for more than its adjusted basis.
- A capital loss generally arises when a capital asset is sold for less than its adjusted basis.
- Not every asset is a capital asset. Inventory and certain business property are excluded from the statutory definition.
- Basis is central to capital-gain taxation. The gain or loss generally depends on the difference between the amount realized and adjusted basis.
- Short-term and long-term treatment matters. Property held for one year or less is generally short-term; property held for more than one year is generally long-term.
- Short-term capital gains are generally taxed at ordinary income tax rates.
- Long-term capital gains of individuals generally receive preferential federal tax rates.
- For 2026, the principal long-term capital-gain rates remain 0%, 15%, and 20%, subject to taxable-income thresholds and special rules.
- Capital losses generally offset capital gains before they can offset ordinary income.
- Individuals generally can deduct up to $3,000 of net capital loss against other income in a year, or $1,500 for married individuals filing separately.
- Unused individual capital losses generally can be carried forward.
- Corporations have different capital-loss rules and generally cannot use the individual $3,000 deduction.
- Losses on personal-use property are generally nondeductible.
- Special rules apply to homes, collectibles, business property, depreciated real estate, securities, related-party transactions, and other assets.
- Section 1231 can provide special treatment for qualifying business property.
- Depreciation recapture can cause some business-property gain to be treated as ordinary income rather than capital gain.
- The 3.8% Net Investment Income Tax can apply to certain taxpayers with substantial investment income.
- Capital gains and losses can pass through partnerships and S corporations while retaining their relevant tax character.
- Accurate basis records are essential.
- Capital-gain taxation is fundamentally a system of classification, measurement, timing, and netting—not simply a tax on the amount by which an asset increased in value.
Frequently Asked Questions
What is a capital gain?
A capital gain generally occurs when a taxpayer sells or exchanges a capital asset for more than its adjusted tax basis.
What is a capital loss?
A capital loss generally occurs when a taxpayer sells or exchanges a capital asset for less than its adjusted basis.
What is a capital asset?
A capital asset generally includes property held by a taxpayer, but federal law excludes important categories such as inventory, property held primarily for sale to customers, and certain depreciable business property.
Is a stock a capital asset?
For an ordinary investor, stock held as an investment is generally a capital asset. Special rules can apply to dealers, traders, employees, businesses, and particular types of securities.
What is the difference between short-term and long-term capital gains?
A capital asset held for one year or less generally produces a short-term gain or loss. An asset held for more than one year generally produces a long-term gain or loss.
Are short-term capital gains taxed differently from long-term capital gains?
Yes. Short-term capital gains are generally taxed at ordinary income tax rates, while qualifying long-term capital gains of individuals generally receive preferential rates.
What are the long-term capital-gain rates for 2026?
The principal rates for individuals are 0%, 15%, and 20%, with the applicable rate depending on taxable income and filing status. Special categories of gain can be subject to different maximum rates.
Can capital losses offset ordinary income?
Yes, but only within statutory limits. Individuals generally can use capital losses to offset capital gains without the $3,000 limitation. If losses still exceed gains, up to $3,000 generally can be deducted against other income in the year, or $1,500 for married individuals filing separately.
Can unused capital losses be carried forward?
Generally, yes for individuals. Capital losses that cannot be used because of the annual limitation can generally be carried forward to future years.
Can I deduct the loss from selling my personal car?
Generally, no. A loss on the sale of personal-use property is generally not deductible.
Is the gain from selling a personal car taxable?
Potentially, yes. Although losses on personal-use property are generally nondeductible, a gain from the sale of personal-use property can be taxable under the applicable rules.
What is adjusted basis?
Adjusted basis is the taxpayer’s tax basis after applicable increases and decreases. It is generally the figure used to determine gain or loss when property is disposed of.
Why is basis important?
Because the taxable gain or loss generally depends on the difference between the amount realized and adjusted basis. Incorrect basis can therefore produce an incorrect tax result.
What is net capital gain?
Under federal tax law, net capital gain generally means the excess of net long-term capital gain over net short-term capital loss.
What is the 3.8% Net Investment Income Tax?
The Net Investment Income Tax is an additional 3.8% federal tax that can apply to certain investment income of individuals, estates, and trusts when the applicable statutory conditions are met. Capital gains can be included in net investment income.
Does every business asset produce a capital gain when sold?
No. Inventory and certain property used in a trade or business are not capital assets under the ordinary definition. Special provisions, particularly Section 1231 and depreciation-recapture rules, can determine how business-property gains and losses are treated.
What is Section 1231?
Section 1231 provides special federal tax treatment for certain gains and losses from property used in a trade or business and held for more than the required period. Qualifying net gains can receive capital-gain treatment, while qualifying net losses can generally receive ordinary-loss treatment, subject to the statutory rules.
What is depreciation recapture?
Depreciation recapture is a group of rules that can cause some gain from the disposition of depreciated property to be treated as ordinary income rather than capital gain. The rules depend on the type of property and the depreciation claimed.
What is a wash sale?
A wash sale generally involves selling stock or securities at a loss and acquiring substantially identical stock or securities within the statutory period. The federal rules generally restrict immediate recognition of the loss and provide special basis treatment for the replacement property.
Can capital gains pass through a partnership?
Yes. Partnerships can generate capital gains and losses that are allocated to partners under the partnership tax rules. Partners generally report their allocated tax items on their own returns.
Can capital gains pass through an S corporation?
Yes. Capital gains and losses generated by an S corporation can generally pass through to shareholders under the applicable Subchapter S rules.
Are C corporations subject to the same capital-loss rules as individuals?
No. Corporations have different capital-loss limitations and generally cannot deduct a net capital loss against ordinary income in the same manner as an individual taxpayer.
Does selling an asset immediately after buying it create a capital gain or loss?
Potentially. If the asset is a capital asset, the transaction can produce a capital gain or loss. If it is held for one year or less, the result is generally short-term.
Do I pay tax on an asset simply because it increased in value?
Generally, not merely because its market value increased. Traditional federal income taxation generally distinguishes between unrealized appreciation and realized transactions. A sale or other taxable disposition generally creates the event that allows the gain or loss to be measured, although special statutory rules can alter this principle.
How are capital gains reported?
For many individual taxpayers, most capital transactions are reported on Form 8949 and summarized on Schedule D.
Conclusion
Capital gains and losses are among the most important examples of how U.S. federal tax law distinguishes between economic events and their legal tax character.
An asset may increase dramatically in value without creating an immediate taxable gain. Once the taxpayer sells or otherwise disposes of the asset, federal law generally measures the difference between the amount realized and the taxpayer’s adjusted basis. That difference may be a gain or loss.
But even then, the analysis is not complete.
The taxpayer must determine whether the property is a capital asset. Inventory, property held primarily for sale to customers, and certain depreciable business property are excluded from the ordinary capital-asset definition. Business property can instead fall under special provisions such as Section 1231 and depreciation-recapture rules.
For genuine capital assets, the holding period becomes critical. Gains and losses generally are classified as short-term or long-term depending on whether the asset was held for one year or less or for more than one year. Short-term gains generally receive ordinary income-tax treatment, while qualifying long-term gains of individuals can receive preferential rates.
Capital losses are similarly subject to a carefully structured system. They generally offset capital gains first. For individuals, excess net capital losses can generally be deducted against other income up to the statutory annual limit, with unused losses carried forward. Corporations operate under different rules.
Special provisions further complicate the picture. Personal-use losses are generally nondeductible. The sale of a principal residence may qualify for a statutory exclusion of gain. Collectibles can be subject to a higher maximum capital-gain rate. Depreciated real estate can generate unrecaptured Section 1250 gain. Business assets can fall under Section 1231. Securities can be affected by wash-sale rules. High-income taxpayers may also encounter the Net Investment Income Tax.
The result is a tax system in which the ultimate consequence of selling an asset depends on much more than whether the seller made or lost money.
The taxpayer must know what the property is, why it was held, what its adjusted basis is, how long it was held, how it was disposed of, what other gains and losses occurred during the year, and whether a special statutory provision applies.
That is the foundation of capital-gain taxation in the United States.
A capital gain is therefore not simply “money made on an investment,” and a capital loss is not simply “money lost on an asset.” They are legally defined tax concepts operating within a larger federal system of basis, realization, recognition, character, holding periods, netting, limitations, and special rules.
Understanding those concepts is essential not only for investors, but also for business owners, corporations, partnerships, S corporations, homeowners, and anyone who acquires and eventually disposes of property.
The information provided in this article ("Capital Gains and Losses") is for general educational and informational purposes only and does not constitute formal legal advice. Reading this content does not create an attorney-client relationship. Laws vary by jurisdiction; consult a licensed attorney for specific legal matters.
Today’s Quiz
Contract Law
10 real questions, free, no account needed. See how well you actually know contract law.

Free This Week
Open this week’s Legal Concept Presentation
A downloadable, branded slide deck explaining one key legal term in depth — free every week, the full library included with All-Access.
Interactive Legal Suite
Advance Your Legal Analysis
Explore our interactive decision trees, litigation pipeline builders, and procedural court simulators — designed specifically for law students and practitioners.
Access Interactive Tools →Enjoy The Law To Know?
Tell Google you’d like to see more from us in Search and AI Overviews.





Discussion
Log in to join the discussion.
No comments yet — be the first to add to the discussion.