Skip to the answer
Start free

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

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

TradingLore is for education only. Nothing here is financial advice, and nothing here tells you to buy or sell anything. Trading can lose money. Practice results are simulated and hypothetical.