Why selling one day earlier or later can matter
Because the short-term versus long-term line is drawn at exactly one year, selling an appreciated asset a few days before hitting the one-year mark can push the entire gain into the higher, ordinary-income tax bracket instead of the lower long-term rate. Checking the exact purchase date before selling a highly appreciated position is a simple step that can meaningfully change the tax owed.
Tax-advantaged accounts change the picture entirely
Capital gains tax generally only applies to investments held in a regular taxable brokerage account. Gains inside a tax-advantaged account such as a 401(k) or an IRA are not taxed as capital gains in the year they occur β they follow the very different tax rules of that account type instead, which is one reason account type matters as much as holding period.
Frequently Asked Questions
Do I owe capital gains tax if I have not sold the investment yet?
No. An unrealized gain β meaning the asset has increased in value but you still own it β is not taxed. Capital gains tax is triggered by an actual sale or other taxable disposal of the asset, which is why it is sometimes called a "realized" gain.
Are capital gains taxed the same at the state level?
Not necessarily. Many states tax capital gains as ordinary income at their own state income tax rates, some offer preferential treatment similar to the federal system, and a handful of states have no state income tax at all. Check your specific state's rules in addition to the federal treatment described here.