Tax
How Investment Gains and Losses Are Classified for Tax: Capital, Ordinary, and the Special Cases
Capital vs. ordinary treatment, short- vs. long-term holding periods, 28% and 25% gains, Section 1256 contracts, bonds, worthless stock, Section 1244 losses, and netting.
Every investment sale ends up on a tax return as a number, but the rate applied to that number depends on how the gain or loss is classified. Two gains of the same size can be taxed at 0% and 37%. Two losses of the same size can wipe out $3,000 of wages or $50,000 of wages, depending on the type of asset.
This guide covers how the tax code sorts investment gains and losses: capital or ordinary, short-term or long-term, the special rates and special assets, and the netting rules that combine them on the return. It covers tax classification only; whether to buy, hold, or sell any investment is a question for your investment advisor. Current rate breakpoints are on our tax planning reference.
Step one: capital or ordinary?
A capital asset is, broadly, property you hold that is not inventory, not property used in a trade or business, and not one of a handful of excluded items. Stocks, bonds, mutual fund shares, ETFs, crypto, land held for investment, collectibles, and your home are capital assets for most people.
Gains and losses on capital assets are capital gains and losses, with their own rates and limits. Gains and losses on other property are generally ordinary, taxed at regular rates with no $3,000 cap on losses.
Several investment items fall outside the simple capital treatment:
| Item | Treatment |
|---|---|
| Accrued market discount on bonds | Ordinary income when the bond is sold or matures |
| Original issue discount (OID) | Ordinary interest income, accrued yearly even without cash |
| Section 1256 contracts | 60% long-term, 40% short-term, marked to market at year-end |
| Section 1244 small business stock losses | Ordinary loss up to $50,000 ($100,000 joint) |
| Depreciation recapture on equipment (Section 1245) | Ordinary income |
| Section 1231 business property | Net gains capital, net losses ordinary |
| Gains for traders with a Section 475 election | Ordinary income and loss, no $3,000 cap |
| Personal-use property losses | Not deductible |
Step two: short-term or long-term?
For capital assets, the holding period decides the rate.
- Short-term: held one year or less. Taxed at ordinary rates, up to 37%.
- Long-term: held more than one year. Taxed at 0%, 15%, or 20%.
The holding period starts the day after you acquire the asset and includes the day you sell it. A purchase on March 10, 2026 becomes long-term on a sale on March 11, 2027.
Special holding period rules:
- Inherited property is always long-term, whatever the actual holding period.
- Gifted property generally includes the donor's holding period, when you take the donor's basis.
- Shares acquired in a wash sale include the holding period of the shares sold at a loss.
- Stock received from exercising options starts a new holding period at exercise (or vesting for RSUs). See RSUs, NSOs, and ESPPs.
- Short sales and certain hedges can suspend or reset holding periods.
Long-term gains with higher maximum rates
Most long-term gains use the 0/15/20% rates. Two categories have higher caps:
- Collectibles, 28% maximum: art, antiques, coins, stamps, gems, precious metals, certain NFTs, and ETFs that hold physical precious metals structured as grantor trusts.
- Unrecaptured Section 1250 gain, 25% maximum: the portion of gain on real estate attributable to depreciation already taken.
Gain on qualified small business stock may be partially or entirely excluded under Section 1202. For stock issued after July 4, 2025, the exclusion is 50% after three years, 75% after four, and 100% after five, up to a $15 million per-issuer cap; stock issued earlier still needs more than five years. Any taxable portion of a partially excluded gain is taxed at up to 28%. See QSBS tax savings.
All of these can also carry the 3.8% NIIT at higher incomes.
Business and investment real estate
Real estate and equipment used in a trade or business, including rental property, are not capital assets. They fall under Section 1231:
- If the year's Section 1231 transactions net to a gain, it is taxed as long-term capital gain, except for depreciation recapture.
- If they net to a loss, it is an ordinary loss, fully deductible.
- Five-year lookback: net Section 1231 gains are recharacterized as ordinary to the extent of net Section 1231 losses deducted in the prior five years.
Depreciation recapture decides how much of a gain is not capital:
For recapture on business and rental property, cost segregation, and 1031 exchanges, see depreciation recapture.
- Equipment and other personal property (Section 1245): gain up to the depreciation taken is ordinary income. Fast write-offs under bonus depreciation and Section 179 come back as ordinary income on sale.
- Real property (Section 1250): depreciation taken is unrecaptured Section 1250 gain, taxed at up to 25%. Accelerated depreciation from a cost segregation study creates Section 1245 property inside a building, so part of that gain can be ordinary. See cost segregation.
Bonds
Bond taxation splits into several pieces:
- Interest is ordinary income; municipal bond interest is generally federally exempt.
- Original issue discount accrues as ordinary income each year.
- Market discount, from buying a bond below face value in the secondary market, is ordinary income to the extent accrued when you sell or the bond matures, unless you elect to include it annually. Discounts below a small de minimis amount are treated as capital gain instead.
- Premium on taxable bonds can be amortized against interest income; on tax-exempt bonds, amortization is required and reduces basis.
- Gain or loss on sale beyond those amounts is capital.
Options and Section 1256 contracts
Equity options on individual stocks are capital assets. Purchased options that expire worthless produce a capital loss; written options that expire produce short-term capital gain. Exercised options roll into the basis or proceeds of the stock.
Section 1256 contracts, regulated futures, broad-based index options, foreign currency contracts, and certain dealer options, follow a different regime:
- Open positions are marked to market at year-end as if sold.
- Gains and losses are 60% long-term and 40% short-term, regardless of holding period.
- A net Section 1256 loss can be carried back three years against prior Section 1256 gains.
Losses with special treatment
Worthless securities. A security that becomes totally worthless is treated as sold for zero on the last day of the year it became worthless. You have up to seven years to amend a return to claim it, which helps when the year is uncertain.
Section 1244 stock. Losses on stock originally issued by a small domestic corporation, with $1 million or less of paid-in capital at issuance, can be ordinary rather than capital, up to $50,000 a year, or $100,000 on a joint return. This matters for founders and early investors in businesses that fail.
Wash sales. A loss on stock or securities is disallowed if you buy substantially identical securities within 30 days before or after the sale. The loss is added to the basis of the new shares, unless they were bought in an IRA, where the loss is lost. See capital gains timing.
Related-party sales. Losses on sales to related parties, including family members and entities you control, are disallowed. The buyer may be able to use the disallowed loss to reduce a later gain.
Personal-use property. Losses on your home, car, or other personal-use property are not deductible, although gains on them are taxable, subject to the home sale exclusion.
Losses at death. Capital loss carryforwards end with the taxpayer. They can be used on the final return, including against a surviving spouse's gains on a joint return for that year, but not passed to heirs.
Netting: how it all comes together
Form 8949 lists each sale, sorted by whether it was short-term or long-term and whether the broker reported basis to the IRS. The totals flow to Schedule D, where netting happens:
- Short-term gains and losses net against each other.
- Long-term gains and losses net against each other, including capital gain distributions and 28% and 25% gains.
- A net loss in one category offsets a net gain in the other.
- A net long-term gain is taxed at the long-term rates; a net short-term gain at ordinary rates.
- A net capital loss offsets up to $3,000 of ordinary income ($1,500 married filing separately); the rest carries forward with its character.
Inside the long-term category, losses first offset the gains taxed at the highest rates, 28% gains, then 25% gains, then the regular long-term gains, which is favorable to the taxpayer.
The short version
Most investment gains are capital, and the holding period decides the rate: ordinary rates for one year or less, 0% to 20% for longer, with 28% for collectibles and 25% for real estate depreciation. Bonds, futures, business property, and small business stock losses have their own rules, some ordinary and some capital. Losses net within and across categories, with $3,000 of excess against ordinary income and the rest carried forward. Classification is set by the facts at the time of sale, so check it before selling, not after.
Rubric Financial reconciles every 1099-B and K-1 to Form 8949 and Schedule D, correcting basis, holding periods, and character, so each gain lands at the right rate.
Sources
- IRS Publication 550, Investment Income and Expenses
- IRS Publication 544, Sales and Other Dispositions of Assets
- IRS Topic 409, Capital Gains and Losses
- IRS: About Form 8949
- 26 U.S.C. § 1256 (contracts marked to market)
- 26 U.S.C. § 1244 (small business stock losses)
- 26 U.S.C. § 1091 (wash sales)
- 26 U.S.C. § 1202 (qualified small business stock)
- 26 U.S.C. § 1221 (capital asset defined)
- 26 U.S.C. § 1231 (property used in a trade or business)
- 26 U.S.C. § 1211 and § 1212 (capital loss limit and carryovers)
- 26 U.S.C. § 165(g) (worthless securities)
- 26 U.S.C. § 267 (related-party losses)
- 26 U.S.C. § 1276 (market discount)
Figures are federal and current as of the date above. Tax law and inflation-adjusted amounts change; confirm current figures before acting.
Educational content, not tax, legal, investment, or accounting advice. Confirm the specifics with a CPA before acting. See our Terms.
Frequently asked questions
How are investment gains classified for tax purposes?
First by type: most investments are capital assets, so gains and losses are capital, but some items, such as bond market discount, Section 1256 contracts, and depreciation recapture, follow special rules. Capital gains are then classified by holding period: short-term if held one year or less, taxed at ordinary rates, and long-term if held more than one year, taxed at 0%, 15%, or 20%. A few long-term categories have higher maximum rates: 28% for collectibles and 25% for unrecaptured Section 1250 gain.
How do capital losses offset gains?
Short-term losses offset short-term gains and long-term losses offset long-term gains first. A net loss in one category then offsets a net gain in the other. If the year ends with a net capital loss, up to $3,000 ($1,500 married filing separately) offsets ordinary income, and the remainder carries forward indefinitely, keeping its short-term or long-term character.
How are futures and index options taxed?
Regulated futures contracts, broad-based index options, and certain other Section 1256 contracts are marked to market at year-end and taxed 60% as long-term and 40% as short-term capital gain or loss, regardless of how long they were held. Net Section 1256 losses can be carried back three years against prior Section 1256 gains by election.
Can I deduct a stock that became worthless?
Yes. A security that becomes completely worthless is treated as sold for zero on the last day of the tax year in which it became worthless, producing a capital loss. Because pinpointing that year can be hard, you have up to seven years to amend a return to claim a worthless securities loss. A stock that still trades, even at a fraction of a cent, is generally not worthless.
What is a Section 1244 loss?
A loss on qualifying small business stock, originally issued by a domestic corporation with $1 million or less of paid-in capital, that can be deducted as an ordinary loss rather than a capital loss, up to $50,000 a year ($100,000 on a joint return). The stock must have been issued to you for money or property, and the company must have earned most of its revenue from active business rather than passive sources.
About the author
Aparna Devalla, CPA, Partner, Tax & Accounting
Licensed CPA. Decades of experience in U.S. taxation, accounting, and banking. Leads the tax and accounting practice at Rubric Financial.
Guides on this topic
The same ground in slide format, if you want the three-minute version.
Tax
Section 1202 QSBS: Up to $15M Gain Tax-Free
Qualified Small Business Stock can exclude up to $15M (or 10× basis) of gain from federal tax for stock issued after July 4, 2025, $10M for earlier stock. Here's eligibility, both regimes, and the holding rules.
Tax
Real Estate Tax Strategies for Small Businesses and Investors: Depreciation, 1031, REPS, and Opportunity Zones
Every real-estate tax lever the IRS actually lets small-business owners and investors pull. Cost segregation, 100% bonus depreciation, 1031 exchanges, real-estate-professional status, depreciation recapture, and opportunity zones. Which applies to your situation and how they stack.
Tax
Cost Segregation Explained: Accelerating Depreciation on Real Estate
What a cost segregation study actually does, which properties and owners benefit, how permanent 100% bonus depreciation supercharges the result, the passive-loss catch, and the recapture trade-off to model before you commission one.
Want this handled instead of researched?
Tell us what your business looks like and a partner at Rubric Financial will scope the work: a fixed engagement cost, a monthly retainer, or hourly, whichever fits.