Canadian Optimizer Logo

When to Sell a Stock: Writing Your Sell Rules in Advance

By AndrewPublished October 202611 min read
Most investors spend hours deciding what to buy and seconds deciding when to sell. Usually it happens in a panic, or never. A stock you bought at $50 that now trades at $80 carries a tax bill if you sell it outside a TFSA or RRSP. On a $6,000 gain, about $900 at a 30% marginal rate. That bill tempts people to hold on long after the reason to own it is gone.
When to Sell a Stock: Writing Your Sell Rules in Advance

Sell a stock when the reason you bought it no longer holds, when it has grown too large in your portfolio, when something clearly better needs the money, or when you need the cash. A falling price alone is not a reason. Write your sell rules when you buy, before emotions get involved.

Key takeaways:
  • Write down why you own each stock. If that reason breaks, sell, whatever the price.
  • Price drops are a reason to re-check the business, not a reason to sell by themselves.
  • In a non-registered account, half of a capital gain is taxable. Inside a TFSA or RRSP, selling has no immediate tax.
  • Selling at a loss and buying the same stock back within 30 days before or after makes the loss superficial, so you can't claim it yet.
  • Since May 27, 2024, Canadian trades settle one business day after the trade date (T+1). A sale must settle by December 31 to count for that tax year.

This guide is part of Stock picking, in the Investing category. The pillar on how to pick stocks in Canada covers buy rules. Position sizing covers trimming a stock that has grown too big.

What are good reasons to sell?

Selling should follow a change in facts, not a change in mood. These five reasons hold up:

Five reasons to sell a stock, and how to recognize them
ReasonWhat it looks likeEvidence to check
The thesis is brokenThe reason you bought no longer holds: a key product fails, a regulator changes the rules, management changes strategyAnnual and quarterly reports, MD&A, material change reports
The balance sheet is weakeningDebt rising faster than cash flow; a dividend not covered by free cash flowCash flow statement; debt-to-EBITDA trend
The price is far above what you think it's worthValuation well past your own written estimateP/E, EV/EBITDA and FCF yield against history and peers
The position is too largeOne stock has grown past your size limitYour portfolio weights
You need the money, or have a clearly better useA home purchase, retirement income, paying off high-interest debtYour financial plan

The first reason is the most important and the hardest. It requires knowing why you own the stock. If you can't explain it in two sentences, write it down now. The OSC's GetSmarterAboutMoney.ca guide to evaluating companies lists warning signs worth watching, such as costs rising while sales don't, or a company short on cash.

Valuation-based selling needs a number you set earlier. Our guide to valuation basics shows how to write one. Without it, "it's gone up a lot" becomes the reason, which isn't one.

What are bad reasons to sell?

"The price fell." If the business is unchanged, a lower price makes the stock cheaper, not worse. Check the facts. If they're unchanged, holding or adding within your size limit is consistent with your original decision.

"I'll wait until I get back to even." Your purchase price means nothing to the market. The question is whether you'd buy the stock today at today's price. If not, why hold it?

"I don't want to pay the tax." Tax matters, but it shouldn't decide alone. Holding a deteriorating stock to avoid a tax bill can cost far more than the tax. And the gain stays taxable. You defer the bill; you don't avoid it, and in most cases the gain is taxed eventually anyway.

Watch for the two biases

Investors tend to sell winners too early to lock in a gain and hold losers too long to avoid admitting a mistake. Written rules are the best defence against both.

What should your sell rules say?

A sell discipline is a short note per stock, written on the day you buy. Here is a template you can copy into a spreadsheet:

Sell-rule template (one row per holding; fill in at purchase)
FieldWhat to writeExample
ThesisTwo sentences on why you own it"Dominant rail network; steady pricing; dividend raised 30 years running"
Thesis breakersTwo or three events that would make you sell"Two years of falling volumes; debt-to-EBITDA above 3.5"
Valuation ceilingThe ratio at which you'd trim"Trim if FCF yield falls below 2.5%"
Size limitMaximum weight before trimming"Trim back to 5% if it passes 8%"
Review datesWhen you'll re-read the thesis"After each annual report"
Account and ACBWhere it's held, and its cost base"Non-registered; 200 shares; ACB $10,000"

Review each row when the company reports. If a thesis breaker happens, sell. Don't rewrite the thesis to fit the new facts. That's the habit the template is meant to stop.

What does selling cost in tax?

In a non-registered account, selling for more than your adjusted cost base creates a capital gain. The CRA's capital gain calculation page says to subtract the ACB and selling costs from the proceeds of disposition. One-half of the gain is taxable, at your marginal rate. The CRA's Guide T4037 explains the rules.

Illustrative example: selling a winner
200 shares bought at $50 (ACB, including commission)$10,000
Sold at $80, after commission$16,000
Capital gain$6,000
Taxable capital gain (one-half)$3,000
Tax at an assumed 30% marginal rateabout $900

The 30% rate is an assumption for illustration; your rate depends on your income and province. Inside a TFSA or RRSP, this sale would trigger no tax now.

What's left of $16,000 after selling, by account (illustrative; 30% marginal rate assumed)

TFSA: $16,000, no tax
RRSP: $16,000 stays in the plan; taxed when withdrawn
Non-registered: $15,100 after about $900 tax

Our calculations. The non-registered figure assumes a $10,000 ACB.

Compare $900 with the risk you're avoiding. If you think the stock could fall 25%, that is $4,000 of a $16,000 position. The tax is the smaller cost.

How do you sell at a loss without losing the deduction?

A capital loss in a non-registered account can offset capital gains this year, the three previous years or any future year. The CRA's capital losses page explains how. But Guide T4037 says that if you or an affiliated person, such as your spouse, buy the same or identical property in the period from 30 calendar days before to 30 calendar days after the sale, and still own it 30 days after, the loss is superficial. You can't deduct it; if you are the one who bought the shares back, you can usually add it to their cost base instead.

Selling inside a TFSA or RRSP at a loss gives you no deduction at all. Our guides to the superficial loss rule and tax-loss harvesting cover the details.

When do sales count for this tax year?

For tax, what counts is the settlement date, not the trade date. Since the CSA's move to T+1 on May 27, 2024, Canadian equity trades settle one business day after the trade. To count in 2026, a sale must settle by December 31, 2026, which is a Thursday. That means trading by Wednesday, December 30, at the latest. Check your broker's year-end cut-off, which may be earlier.

Has a thesis breaker, valuation ceiling or size limit been hit?
No: hold; review at the next report
Yes: is it in a TFSA or RRSP?
Registered: sell now; no tax on the sale
Non-registered: sell; if a large gain and not urgent, consider splitting across December and January

Should you sell all at once or in stages?

If the thesis is broken, sell it all. Waiting for a better price is hoping, and hoping isn't a rule. If you're trimming because of size or valuation, stages can make sense. For example, sell a third now and a third after each of the next two quarterly reports.

In a non-registered account, splitting a large gain across two tax years can keep more of it in a lower bracket. Selling half in late December and half in early January spreads the taxable gain over two returns. It also means more exposure for a few extra weeks. Decide which matters more to you.

How would Andre apply his rules?

Illustrative example: Andre, 45, Edmonton

Andre owns three stocks in a non-registered account. His rules: sell if a thesis breaker happens; trim any stock above 8% of his portfolio back to 5%.

Stock A: dividend cut, debt rising (thesis breaker)Sell all, accept a $2,000 loss
Stock B: up 60%, now 11% of portfolio (size limit)Trim to 5%: half in December, half in January
Stock C: down 15%, business unchangedHold; no rule triggered
Tax effectStock A's loss offsets part of Stock B's December gain

Andre doesn't buy Stock A back for at least 31 days, to keep the loss claimable. Holdings and amounts are illustrative.

Does your province change anything?

Not the rules for when to sell. Your province sets part of your marginal rate on the taxable half of any gain, so the tax cost of selling varies across Canada. Quebec residents also report the gain on their Quebec return. If you're near a bracket edge, splitting sales across years helps more.

Checklist

  • Thesis, thesis breakers, valuation ceiling and size limit written for each stock
  • Rules reviewed after each annual or quarterly report
  • ACB known for every non-registered holding
  • Losses checked against the 30-day superficial loss window
  • Year-end trades placed in time to settle by December 31
  • Large gains split across tax years where it makes sense

Frequently asked questions

Should I sell a stock that has dropped 20%?

Not because of the drop alone. Check whether the business has changed. If your thesis still holds, the stock is cheaper than when you bought it.

Should I sell a stock that has doubled?

Only if it has passed your valuation ceiling or size limit, or the thesis has changed. Trimming back to your target weight is a middle path.

How much tax do I pay when I sell a stock?

In a non-registered account, half of the capital gain is added to your income and taxed at your marginal rate. In a TFSA or RRSP, nothing at the time of sale.

What is the last day to sell for a tax loss this year?

The trade must settle by December 31. With T+1 settlement, that means trading at least one business day earlier. For 2026, December 30 at the latest.

Can I sell at a loss and buy back right away?

Not if you want to claim the loss. Buying the same stock within 30 days before or after makes it a superficial loss.

Should I use stop-loss orders?

They sell automatically on price alone, which can mean selling in a brief dip. They suit traders more than long-term investors.

Do ETFs need sell rules too?

Broad index ETFs mostly need rebalancing rules instead. See how to rebalance.

Sources

Related reading

Selling this year? Know the tax before you click.

The 2026 tax guide covers capital gains, losses, ACB and timing sales across tax years.

Get the 2026 Tax Guide — $49 CAD
Buying US Stocks from Canada: FX Costs, Accounts, Tax
Investing

Buying US Stocks from Canada: FX Costs, Accounts, Tax

Which account should hold US stocks, what FX conversion can cost at a broker, and how the Canada-US treaty treats dividends inside an RRSP versus a TFSA.

Andrew·2026-10-24
Are You Beating the Index? Measuring Your Real Return
Investing

Are You Beating the Index? Measuring Your Real Return

CIRO requires money-weighted returns on your annual report. How that differs from time-weighted fund returns, with a worked example of labelled cash flows.

Andrew·2026-10-24
Stock Research Tools for DIY Canadians: Free vs Paid
Investing

Stock Research Tools for DIY Canadians: Free vs Paid

SEDAR+, issuer IR pages and broker tools versus paid screeners. What each layer can and cannot do for a DIY Canadian stock picker who is building a process.

Andrew·2026-10-24