Ireland’s four-week rule for shares: matching and losses, worked
Sell shares within four weeks of buying the same shares and Revenue matches the sale with the newest ones: in our example that is €226.30 of capital gains tax instead of €3,326.30. Sell at a loss and buy back within four weeks and the loss is held back for those shares: buy them all back and a €3,000 loss saves nothing against other gains this year. Both examples are computed below.
Rule 1: a sale within four weeks of a purchase
Normally, when you hold the same shares bought on different dates, the oldest are treated as sold first. But shares sold within four weeks of a purchase are treated as the shares bought in those four weeks (last in, first out). Anything sold beyond those recent purchases goes back to oldest first.
Example: you buy 1,000 shares on 4 January 2027 at €20 and 2,000 more on 1 March 2027 at €30. On 15 March you sell 2,000 at €31, so €62,000.
| Cost matched | Gain | Taxable after €1,270 | CGT at 31% | |
|---|---|---|---|---|
| Four-week rule (the 1 March shares) | €60,000 | €2,000 | €730 | €226.30 |
| If oldest first applied instead | €50,000 | €12,000 | €10,730 | €3,326.30 |
Cite this table
Source: DecisionsCalc, "Ireland's Four-Week Rule for Shares: Matching and Losses, Worked", https://decisionscalc.com/articles/ireland-four-week-rule-shares/. Free to reuse under CC BY 4.0 with this credit.
You still hold the 1,000 shares bought at €20, and their gain is taxed when you sell them. The rule changes when the gain is taxed, not whether it is.
Rule 2: a loss on shares you buy back within four weeks
If you sell shares at a loss and buy the same shares back within four weeks, the loss can only be set against a gain on a later sale of the shares you bought back. If you buy back only part, the same fraction of the loss is held back.
Example: on 1 November 2027 you sell 3,000 shares at a €3,000 loss. You also have a €5,000 gain on other shares in 2027.
CGT on a €5,000 gain after a €3,000 loss, 2027
- Not bought back: €226.30
- Half bought back: €691.30
- All bought back: €1,156.30
Use this chart
Free to reuse under CC BY 4.0 with this credit: Source: DecisionsCalc, "Ireland's Four-Week Rule for Shares: Matching and Losses, Worked", https://decisionscalc.com/articles/ireland-four-week-rule-shares/
| Shares bought back within four weeks | Loss held back | Loss used now | CGT |
|---|---|---|---|
| Not bought back (0) | €0 | €3,000 | €226.30 |
| Half bought back (1,500) | €1,500 | €1,500 | €691.30 |
| All bought back (3,000) | €3,000 | €0 | €1,156.30 |
Cite this table
Source: DecisionsCalc, "Ireland's Four-Week Rule for Shares: Matching and Losses, Worked", https://decisionscalc.com/articles/ireland-four-week-rule-shares/. Free to reuse under CC BY 4.0 with this credit.
The held-back loss is not lost: it reduces the gain when you later sell the shares you bought back.
Frequently asked questions
What is the four-week rule for shares in Ireland?
There are two. If you sell shares within four weeks of buying the same shares, Revenue treats the shares sold as the ones bought in those four weeks (last in, first out), not your oldest. And if you sell shares at a loss and buy them back within four weeks, the loss can only be set against a gain on a later sale of the shares you bought back.
Can I sell at a loss and buy back to cut my CGT?
Not within four weeks. In our example a €3,000 loss set against a €5,000 gain leaves €226.30 of CGT. Buy all the shares back within four weeks and the loss is held back for those shares, so the bill is €1,156.30. Buy back half and half the loss is held back: €691.30.
Does the rule stop me using the €1,270 exemption?
Revenue’s four-week restriction is about losses. Its rule for gains is the matching rule: a sale within four weeks of a purchase is matched with that recent purchase first. Check the full rules, or ask an adviser, before selling and buying back to use the exemption.
Does this apply to ETFs?
No. Most ETFs and investment funds are taxed under the exit tax rules (with deemed disposal every eight years), not capital gains tax, so these share rules do not apply to them.
Related
- Broker guides for Irish investors: Trading 212 · Interactive Brokers · Revolut · Lightyear: what each deducts and what you declare.
- Share options tax: what you keep when you exercise, worked.
- Shares, ETFs or the Investment Account: €5k to €50k compared.
- Exit tax on ETFs for PAYE workers: filing Form 11, step by step.
- Irish CGT calculator: your gain, the €1,270 exemption and the deadlines.
- The €1,270 CGT exemption: using it every year.
- Capital gains tax in Ireland · Irish CGT rates by year.
Sources
- Revenue: Selling or disposing of shares (oldest first; shares sold within four weeks of a purchase; shares sold and repurchased within four weeks; examples 1 to 3)
- Revenue: How to calculate CGT (rates and the €1,270 exemption)
Read 14 November 2026. Prices in the examples are made up to show the rules; the tests behind this page also reproduce Revenue’s three examples. Not covered: bonus and rights issues, shares of different classes, and shares held through a fund. General information, not tax advice: check your own case with Revenue or a tax adviser.
Cite or link to this article
DecisionsCalc (2026). Ireland's Four-Week Rule for Shares: Matching and Losses, Worked. https://decisionscalc.com/articles/ireland-four-week-rule-shares/
You are welcome to quote our figures with a link. Each figure on the page names its official source and the date we checked it.
Get an email when Irish rules change
Tax bands, allowances and benefit rates change every year. We email you when a rule our Irish calculators use changes, usually a few times a year. Confirm by email; unsubscribe in one click.
Was this page useful?
Thank you.