- Short-term gains (assets held one year or less) are taxed as ordinary income — typically at higher rates.
- Long-term gains (assets held more than one year) qualify for preferential tax rates that are generally lower.
- Planning your holding period is one of the simplest, most impactful moves available to everyday investors.
When you sell an investment for more than you paid, the IRS wants a share of that profit. But here’s the part most beginners miss: how much the IRS takes depends heavily on how long you owned the asset. Understanding the difference between short-term and long-term capital gains can save you real money — and help you make smarter decisions before you ever click “sell.”
Table of Contents
1. What Is a Capital Gain?
A capital gain is the profit you realize when you sell a capital asset for more than you originally paid for it. That original purchase price — adjusted for certain costs — is called your cost basis.
Simple formula:
Capital Gain = Sale Price − Cost Basis
Capital assets include stocks, bonds, mutual funds, exchange-traded funds (ETFs), real estate, collectibles, cryptocurrency, and other property you own for investment or personal use. Not every asset sale triggers a gain; if you sell for less than your cost basis, you have a capital loss, which may offset gains elsewhere on your return.
The IRS defines specific rules for what counts as a capital asset and how gains and losses must be reported — generally on Schedule D of your federal tax return.
What Is Cost Basis?
Your cost basis is usually what you paid for the asset, including commissions or transaction fees. It can be adjusted upward (for improvements to real estate, for example) or downward (for depreciation taken on rental property). Getting your cost basis right is critical — an error here means you could over- or under-report your taxable gain.
Realized vs. Unrealized Gains
You only owe tax on realized gains — profits locked in by an actual sale. If your stock portfolio doubled in value but you haven’t sold any shares, those are unrealized (sometimes called “paper”) gains, and no tax is owed yet. The taxable event is the sale itself.
2. Short-Term vs. Long-Term: How the Tax Treatment Differs
This is the core of capital gains taxation, and the distinction is straightforward: the IRS draws a bright line at one year.
The One-Year Rule
| Holding Period | Classification | How It’s Taxed |
|---|---|---|
| 1 year or less | Short-term capital gain | At your ordinary income tax rate |
| More than 1 year | Long-term capital gain | At preferential long-term capital gains rates |
The holding period begins the day after you acquire the asset and ends on the day you sell it. So if you buy a stock on January 5 and sell it on January 5 of the following year, that is exactly one year — still short-term. You would need to sell on January 6 or later to qualify for long-term treatment.
Short-Term Capital Gains
Short-term gains are added to your other income (wages, freelance earnings, etc.) and taxed at whatever federal income tax bracket applies to your total taxable income. Because ordinary income tax brackets can reach significant percentages, short-term gains can result in a noticeably larger tax bill compared to long-term gains on the same profit.
Long-Term Capital Gains
Long-term gains are taxed at separate, generally lower rates. The federal long-term capital gains tax structure has historically included tiers of 0%, 15%, and 20%, depending on your taxable income and filing status — but the specific income thresholds change annually. Always verify the current figures at IRS before making decisions.
The Net Investment Income Tax (NIIT)
Higher-income taxpayers may also owe an additional Net Investment Income Tax on top of regular capital gains rates. This is a separate Medicare-related surtax that applies to investment income above certain income thresholds. Check IRS guidance for the current rules and thresholds, as they are subject to change.
State Taxes
Federal rates are only part of the picture. Most U.S. states also tax capital gains, and each state’s rules differ. Some states offer no preferential rate for long-term gains, taxing all capital gains as ordinary income. Research your state’s tax agency rules in addition to federal guidance.

3. Step-by-Step: What to Do When You’re About to Sell an Asset
Following a deliberate process before you sell can help you avoid a surprise tax bill.
For additional investor education resources, Investor.gov — maintained by the SEC — is a reliable starting point for understanding how investments and taxes interact.
4. Common Mistakes and Cautions
Mistake 1: Forgetting That “Selling” Includes More Than You Think
Exchanging one cryptocurrency for another, receiving stock as compensation, and reinvesting mutual fund distributions can all be taxable events. Many investors are surprised to discover they owe capital gains tax without ever withdrawing money to a bank account.
Mistake 2: Ignoring the Holding Period by One Day
The one-year line is absolute. Selling even one day early converts a potential long-term gain into a short-term one. Calendar your intended sale date and double-check it.
Mistake 3: Letting the Tax Tail Wag the Investment Dog
Tax minimization is valuable, but it should not be the only factor in a sell decision. Holding a deteriorating asset simply to avoid taxes can cost more than the tax savings. Always weigh the full picture.
Mistake 4: Overlooking Capital Loss Carryforwards
If your capital losses in a given year exceed your capital gains, you can deduct up to a limited amount against ordinary income, and carry the remaining unused losses forward to future tax years. Many investors forget to track and use these carryforwards, leaving money on the table.
Mistake 5: Misunderstanding Mutual Fund and ETF Distributions
Even if you never sold a single fund share, mutual funds can distribute capital gains to all shareholders at year-end, creating a taxable event. Review annual distribution notices from your fund provider.
Checklist
- [ ] Locate cost basis records for every asset you’re considering selling
- [ ] Confirm whether your holding period qualifies as short-term or long-term before executing a sale
- [ ] Review your full tax picture for the year — income level, other gains and losses — before selling
- [ ] Check for any harvesting opportunities: positions at a loss that could offset gains
- [ ] Note your state’s capital gains tax rules in addition to federal rates
- ] Verify current tax rates and income thresholds at [IRS.gov before finalizing any strategy
- [ ] Retain all Forms 1099-B and transaction records for at least three to seven years
Related Reading
- Big Tech Earnings, Record Shorts & 12% Yield ETFs — July 2026
- Estimated Quarterly Taxes for Freelancers: Who, When & How
- IRS Tax Liens, Trump Settlement & State Credits: Tax Strategy 2026
FAQ
Q1: Does the capital gains tax apply to my home sale?
A: Possibly, but a special exclusion often applies. If you owned and lived in your primary residence for at least two of the five years before the sale, you may exclude a significant portion of the gain from federal taxes. Rules and limits apply and can change — see the IRS for current guidance. This exclusion does not apply to investment properties or second homes.
Q2: What happens if I have both short-term gains and long-term gains in the same year?
A: The IRS calculates them separately. Short-term gains and losses are netted together, as are long-term gains and losses. If you end up with both a net short-term gain and a net long-term gain, each is taxed at its applicable rate. If one category produces a net loss, it can offset the gain in the other category under specific netting rules outlined on Schedule D instructions.
Q3: Are capital gains taxes the same inside a retirement account like a 401(k) or IRA?
A: No. Investments held inside tax-advantaged retirement accounts — such as traditional 401(k)s, Roth IRAs, or traditional IRAs — are generally not subject to capital gains tax when you sell within the account. The tax treatment depends on the type of account: traditional accounts are typically taxed as ordinary income upon withdrawal, while qualified Roth withdrawals are generally tax-free. Because retirement account rules are complex and vary by account type, consult a tax professional for guidance specific to your accounts.
Disclaimer
This guide is for informational purposes only and is not tax, investment, or legal advice.
Specific figures such as limits and rates change annually — verify current numbers at irs.gov or other official sources.
Consult a qualified professional for personal decisions.
Guide written as of: July 21, 2026
Guide produced by MoneyTechLab’s editorial team.

