Capital gains tax is the federal tax applied to profit from selling a capital asset, and the rate you pay depends entirely on how long you held the asset, what type of asset it was, and your income level. The types of capital gains tax treatments fall into two primary categories recognized by the IRS: short-term and long-term. Beyond that split, asset-specific rules, income-based surtaxes like the Net Investment Income Tax (NIIT), and exclusions such as the primary residence exemption under IRC §121 create a more complex picture. Knowing which treatment applies to each of your holdings is the foundation of any serious tax strategy.
Table of Contents
Toggle1. What distinguishes short-term and long-term capital gains tax treatments
The 12-month holding period is the single most important threshold in capital gains taxation. Assets held for 12 months or less generate short-term gains. Assets held for more than 12 months generate long-term gains.

Short-term gains are taxed at ordinary income tax rates, which currently reach as high as 37%. That means a high-income investor selling a stock position after 11 months pays the same rate on the profit as on their salary. Long-term gains, by contrast, are taxed at preferential rates of 0%, 15%, or 20%, depending on taxable income and filing status. The difference in tax cost between these two treatments can be substantial on a large gain.
Here is how the two treatments compare in practice:
- Short-term: Ordinary income rates apply (10% through 37%). No preferential treatment. Gains stack on top of other income.
- Long-term: Rates of 0%, 15%, or 20% apply for most assets. The 0% rate applies to lower-income filers, making it a powerful planning tool.
- Holding period management: Waiting one day past the 12-month mark to sell can shift a gain from the 37% bracket to the 20% bracket for a top-income investor.
Pro Tip: If you are approaching the 12-month mark on a profitable position, calculate the after-tax difference between selling now versus waiting. On a $100,000 gain, the spread between a 37% short-term rate and a 20% long-term rate is $17,000.
2. How asset type changes your capital gains tax rate
Not all long-term capital gains qualify for the standard 0%, 15%, or 20% rate schedule. Certain asset classes carry their own maximum rates under the tax code, and investors who assume all long-term gains are treated equally often face unexpected tax bills.
The two most common exceptions are:
- Collectibles: Art, coins, antiques, and similar assets are capped at a 28% rate for long-term gains. A high-income investor selling a painting held for five years still pays up to 28%, not 20%.
- Unrecaptured Section 1250 gain: When you sell depreciated real estate, the portion of the gain attributable to prior depreciation deductions is taxed at a maximum rate of 25%. This is called unrecaptured §1250 gain and catches many real estate investors off guard.
- Qualified small business stock (QSBS): Gains from certain qualified small business stock under IRC §1202 may qualify for partial or full exclusion, depending on when the stock was acquired and how long it was held.
| Asset Type | Long-Term Rate | Key Rule |
|---|---|---|
| Stocks and bonds | 0%, 15%, or 20% | Standard schedule based on income |
| Collectibles | Up to 28% | Capped at 28% regardless of income |
| Depreciated real estate | Up to 25% | Unrecaptured §1250 gain rules apply |
| Qualified small business stock | 0% (partial or full) | IRC §1202 exclusion requirements apply |
Pro Tip: Real estate investors should track accumulated depreciation on each property from day one. That number directly determines how much of your eventual sale gain will be taxed at 25% rather than the lower long-term rate.
3. Understanding the Net Investment Income Tax and how it affects investors
The Net Investment Income Tax adds a 3.8% surtax on top of regular capital gains rates for higher-income investors. It applies when your modified adjusted gross income (MAGI) exceeds $200,000 for single filers, $250,000 for married filing jointly, or $125,000 for married filing separately.
The NIIT is calculated on the lesser of your net investment income or the amount by which your MAGI exceeds the applicable threshold. That lesser-of framework matters for planning. If your MAGI exceeds the threshold by only $10,000 but your net investment income is $50,000, the surtax applies only to the $10,000. Reducing MAGI through retirement contributions or deductions can reduce or eliminate NIIT exposure entirely.
Common income types subject to NIIT include:
- Capital gains from stocks, bonds, and real estate
- Dividends and interest income
- Passive rental income
- Income from passive business activities
Key planning insight: NIIT only triggers when both conditions are met. Your MAGI must exceed the threshold and you must have net investment income. Investors near the threshold benefit most from strategies that reduce MAGI, such as maximizing 401(k) contributions or timing large gains into lower-income years.
For investors approaching an IPO or liquidity event, pre-IPO tax planning should account for NIIT exposure alongside regular capital gains rates. The combined federal rate for a top-bracket investor can reach 23.8% on long-term gains (20% plus 3.8% NIIT), and higher for short-term gains. Private banking strategies for high-net-worth investors often center on managing this combined rate.
4. How the primary residence exclusion works under IRC §121
The primary residence exclusion is one of the most valuable capital gains exemptions in the tax code. Under IRC §121, single filers can exclude up to $250,000 of gain from the sale of their primary home. Married couples filing jointly can exclude up to $500,000 of gain.
To qualify, you must meet two tests:
- Ownership test: You must have owned the home for at least two of the five years before the sale date.
- Use test: You must have used the home as your primary residence for at least two of the five years before the sale date.
The two years of ownership and use do not need to be continuous or overlap. You can rent the property for part of the five-year window and still qualify, as long as you meet the two-year use requirement. The exclusion can be claimed once every two years, so frequent sellers cannot use it on back-to-back transactions.
Failing to meet the ownership or use test means the full gain becomes taxable at standard long-term capital gains rates, assuming the property was held for more than 12 months. Partial exclusions are available in cases of job relocation, health issues, or other unforeseen circumstances.
Pro Tip: If you are considering converting a rental property into your primary residence, start the clock on your two-year use period as early as possible. The sooner you establish primary residence, the sooner you can qualify for the §121 exclusion on a future sale.
5. How capital gains are calculated and what adjustments reduce your tax
Capital gain equals the amount realized from a sale minus the adjusted cost basis of the asset. The adjusted cost basis is not always the original purchase price. It includes additions and subtractions that can meaningfully reduce your taxable gain.
Common adjustments to cost basis include:
- Capital improvements: Adding a room, replacing a roof, or installing new systems increases your basis and reduces your eventual gain.
- Selling costs: Commissions, legal fees, and transfer taxes paid at closing reduce the amount realized, which lowers the taxable gain.
- Depreciation: For rental or business property, depreciation taken over the years reduces your basis, which increases the taxable gain on sale. This is why unrecaptured §1250 gain exists.
- Inherited assets: Inherited property receives a stepped-up basis to fair market value at the date of death, which can eliminate capital gains tax on appreciation that occurred during the decedent’s lifetime.
Timing asset sales is a critical planning lever because capital gains tax only applies when a gain is realized. Unrealized appreciation is not taxed. Real estate investors can find detailed guidance on deductions for improvements that affect cost basis and reduce taxable gain at sale. Accurate recordkeeping of every improvement, purchase cost, and selling expense is the foundation of a defensible cost basis calculation. The IRS receipt requirements for self-employed deductions apply equally to capital asset documentation.
Key Takeaways
The most effective capital gains tax strategy combines holding period management, asset-specific rate awareness, and income-level planning to minimize the total tax owed across your portfolio.
| Point | Details |
|---|---|
| Holding period is the first lever | Gains on assets held over 12 months qualify for preferential rates of 0%, 15%, or 20%. |
| Asset type overrides standard rates | Collectibles are capped at 28% and depreciated real estate at 25%, regardless of income. |
| NIIT adds 3.8% for high earners | The surtax applies when MAGI exceeds $200,000 (single) or $250,000 (married filing jointly). |
| Primary residence exclusion is powerful | Single filers exclude up to $250,000 and married filers up to $500,000 under IRC §121. |
| Adjusted basis reduces taxable gain | Improvements, selling costs, and depreciation all affect the final taxable gain calculation. |
What I have learned from watching investors misread their capital gains exposure
Most investors understand that long-term rates are lower than short-term rates. What surprises them is everything else. I have seen clients sell collectibles expecting a 20% rate and face a 28% bill. I have seen real estate investors ignore accumulated depreciation for years, then get hit with a 25% rate on a large chunk of their sale proceeds.
The NIIT is the other blind spot. Investors near the $200,000 or $250,000 MAGI threshold often do not realize that a single large capital gain can push them over the line and trigger the surtax on all their investment income for the year, not just the gain itself. That is a nonlinear outcome that requires planning before the sale, not after.
My honest recommendation is to treat capital gains planning as a year-round activity, not a filing-season task. The decisions that matter most, such as when to sell, which lots to sell first, and whether to convert a rental to a primary residence, happen throughout the year. By the time you are preparing your return, the options are gone. Working with a CPA who understands the full picture of your income, assets, and goals makes the difference between a tax bill you planned for and one that catches you off guard.
— Adan
Parr & Ibarra CPA can help you build a smarter capital gains strategy
Capital gains tax planning requires more than knowing the rates. It requires knowing how your specific assets, income level, and timing decisions interact across the full tax year.

Parr & Ibarra CPA works with investors and asset holders in the Dallas-Fort Worth area to build proactive strategies that account for holding periods, asset-specific rates, NIIT exposure, and cost basis management. The team of over 20 professionals, including multiple CPAs, brings big-firm depth to every client situation. Whether you are selling real estate, managing a stock portfolio, or planning around a business transaction, capital gains planning services are available year-round. You can also review the 2026 IRS tax filing guide for deadlines and filing requirements that affect capital gains reporting.
FAQ
What is the difference between short-term and long-term capital gains?
Short-term capital gains apply to assets held 12 months or less and are taxed at ordinary income rates up to 37%. Long-term capital gains apply to assets held more than 12 months and are taxed at preferential rates of 0%, 15%, or 20%.
Do all long-term capital gains qualify for the 0%, 15%, or 20% rate?
No. Collectibles are taxed at a maximum rate of 28%, and unrecaptured Section 1250 gain from depreciated real estate is taxed at a maximum rate of 25%, regardless of your income level.
What triggers the Net Investment Income Tax?
The NIIT applies when your MAGI exceeds $200,000 (single filers) or $250,000 (married filing jointly) and you have net investment income. The 3.8% surtax applies to the lesser of your net investment income or the MAGI excess over the threshold.
How does the primary residence exclusion reduce capital gains tax?
Under IRC §121, single filers can exclude up to $250,000 of gain and married filers up to $500,000, provided they meet the two-year ownership and use tests within the five years before the sale.
How does adjusted cost basis affect capital gains tax?
Your taxable gain equals the sale price minus your adjusted cost basis. Improvements, selling costs, and depreciation all adjust the basis, which directly increases or decreases the amount of gain subject to tax.

