Capital gains tax rules shape how you pay taxes on investments, real estate, and business exits. Understanding the key definitions and filing requirements helps you avoid surprises at tax time.
Below is a detailed reference that breaks down core concepts, rates, and practical steps. Use the table and sections to quickly find what matters for your situation.
| Term | Definition | Typical Rate Range | Key Trigger |
|---|---|---|---|
| Realized Gain | The profit you book when you sell an asset for more than its adjusted basis | 0% to 20% federally, plus potential state | Sale or exchange of the asset |
| Holding Period | How long you owned the asset before selling | Short-term taxed as ordinary income, long-term typically lower | Date of acquisition vs. date of sale |
| Step-Up in Basis | Adjustment to cost basis to fair market value at inheritance | N/A, reduces taxable gain later | Transfer of asset at death |
| Wash Sale Rule | Disallowance of loss if you repurchase the same or substantially identical security within 30 days | N/A, affects loss deduction | Selling and buying back within the window |
Understanding Long Term Versus Short Term Gains
The length of time you hold an asset determines whether your gain is long-term or short-term, which directly affects your tax rate.
Long-term gains, from assets held more than one year, typically receive preferential rates. Short-term gains, from assets held one year or less, are taxed at your ordinary income tax rate, which can be substantially higher.
Tracking your acquisition date and sale date is essential for applying the correct rate and avoiding misclassification on your return.
How Capital Gains Tax Rates Apply to Different Income Levels
Federal long-term capital gains rates depend on your taxable income and filing status, with lower brackets benefiting from a 0% rate.
For most taxpayers, the 15% rate applies once your income moves above the 0% thresholds. High-income earners may face a 20% rate on top of the Net Investment Income Tax when certain thresholds are exceeded.
State rules vary widely, with some states taxing capital gains at ordinary rates, others offering exemptions, and a few providing credits or exclusions.
Real Estate Specific Rules and Exclusions
Home sellers can qualify for a substantial exclusion on capital gains under the primary residence rules, but strict ownership and use tests must be met.
If you exclude gain on your main home, you generally cannot exclude gain on another home within the next two years. Investment property gains do not qualify for the homeowner exclusion and are typically fully taxable.
Cost basis adjustments for improvements, selling expenses, and depreciation recapture rules can significantly affect how much tax you owe when you sell rental or flipped property.
Reporting Requirements and Recordkeeping
You must report capital gains on your tax return using the appropriate schedules, even if you do not receive a Form 1099-B from your broker.
Keep detailed records of purchase and sale dates, transaction costs, and improvements so you can substantiate your basis and holding periods during an audit.
Electronic statements, confirmations, and settlement statements are useful evidence, but you remain responsible for maintaining a complete cost basis trail.
Planning Ahead to Manage Capital Gains
Strategic timing of asset sales, awareness of your income thresholds, and proactive recordkeeping can reduce your overall tax bill.
- Check your holding period to confirm whether a gain is long-term or short-term.
- Review your total taxable income to estimate whether you fall into the 0%, 15%, or 20% rate tier.
- Document improvements, fees, and adjustments to your basis for real estate and investments.
- Consider tax-loss harvesting and asset location in taxable accounts where appropriate.
- Consult a tax professional before selling inherited property or complex holdings.
FAQ
Reader questions
Do I pay capital gains tax if I sell stock and immediately rebuy it within 30 days?
You may trigger a wash sale if you sell stock at a loss and repurchase the same or substantially identical stock within 30 days, disallowing the loss for tax purposes. If you sell at a gain, there is no wash sale rule, but you will owe tax on the realized gain in the year of the sale.
What counts as my cost basis when I inherit stock or property?
For inherited assets, your cost basis is typically stepped up to the fair market value on the date of the original owner’s death. This adjustment reduces your potential taxable gain when you later sell the inherited property or stock.
How do primary residence exclusions work if I rent out part of my home before selling?
To qualify for the homeowner exclusion, you generally need to have lived in the home as your main residence for at least two of the five years before the sale. If you rented out part of the house, only the portion used as your primary residence may count toward the exclusion, which can limit the amount of gain you can exclude.
What happens if I sell cryptocurrency or digital assets for a profit?
Tax authorities in many jurisdictions treat cryptocurrency as property, so selling it at a gain creates a taxable capital gain. You must track the date of acquisition, the fair market value when sold, and the cost basis in the original currency to calculate the taxable amount accurately.