Getting started, costs and tax
When do I owe tax on a stock gain?
The short answer
In the US, you generally owe tax on a stock gain when you sell the stock and realize the gain. A rise in price while you still hold the stock is unrealized and usually not taxed yet. The exact timing and rules depend on your country and can change.
How it works
Owning a stock that went up does not by itself create a tax bill. The gain becomes realized when you sell. If you bought at 70 and sold at 77, the 7 dollar per share gain is tied to that sale.
In the US, how that gain is treated can also depend on how long you held the stock. More than one year is long term, and one year or less is short term. Tax rules differ by country and change over time, so check the rules that apply where you live.
Keeping simple records makes this easier. Note the date you bought, the price you paid, the date you sold, and the sale price. Those details help you know when a gain was realized and how long you held the stock.
Sources
Checked against these pages on 2026-12-01. Education only, not financial advice. Rules can differ by country and change over time.
Keep learning
Related questions
- Do I pay tax on trading profits?
- What is a capital gain?
- Does good news always make a stock go up?
- How does the stock market work for beginners?
- Should I put all my money in one stock?
- What does settlement mean when I buy a stock?
Want to try it, with fake money?
The lessons, the practice desk and Pal are free to start. You learn it by doing it, and nothing you do there costs a cent.
Create a free account