Key takeaways
- Section 217 is a choice for non-residents. You file a Canadian return for pensions, CPP/QPP, OAS, RRSP/RRIF payments, EI and some other benefits.
- The CRA uses the election only if it lowers your tax. If not, the tax withheld stays your final tax on that income.
- If less than 90% of your world income is on the return, your personal tax credits are limited.
- Non-residents pay a 48% federal surtax instead of provincial tax.
- File by June 30 of the next year (June 30, 2027 for 2026). A late return means the election is not accepted.
Who can make a section 217 election?
Who this page is for: people who were non-residents of Canada for all of 2026 and received Canadian pensions or benefits with non-resident tax taken off. If you left Canada during 2026, you are a part-year resident. You report world income for your months as a resident. You also pay provincial or territorial tax instead of the surtax. This calculator does not cover that case.
Canadian payers must withhold non-resident tax (also called Part XIII tax) on many payments to people who live abroad. For most people, that tax is the end of it. Under section 217 of the Income Tax Act, you can instead file a Canadian return for certain income and pay tax at the same rates as a Canadian resident. The CRA says you may then get back all or part of the tax withheld.
The election makes sense when your Canadian income is modest and most of your income comes from Canada. Personal tax credits and the lower tax brackets then cut the tax well below a flat 25%. If you are not sure whether you are a non-resident, start with Canadian tax residency when you leave.
Which income counts for section 217?
CRA Guide T4145 lists the income you can include. As of November 18, 2026, it is:
- Old Age Security (OAS) pension
- Canada Pension Plan (CPP) and Quebec Pension Plan (QPP) benefits
- most pension and superannuation benefits
- most RRSP, RRIF and pooled registered pension plan (PRPP) income
- Employment Insurance (EI) benefits, death benefits and certain retiring allowances
- most deferred profit-sharing plan (DPSP) income, and some other listed benefits
Do not include the Guaranteed Income Supplement or other supplements under the Old Age Security Act. Dividends, interest and rent are not section 217 income. They stay taxed by withholding, but they still count in your world income. Rent has its own election: see renting out your Canadian home (section 216 and NR6).
This calculator handles only pensions, CPP/QPP, OAS, RRSP/RRIF and EI. It assumes you have no Canadian employment or business income and no taxable gain on Canadian property.
How does the calculator work out the tax?
It follows the lines of the CRA forms for non-residents, in this order:
- Schedule C, Part 1: adds your eligible income (line 13300). It multiplies it by the non-resident rate to get the tax required to be withheld (line 44300).
- Schedule A: adds your other Canadian income and your foreign income to get your net world income (line 14).
- Line 71 of the return: takes the larger of your taxable income and your net world income. It applies the 2026 federal rates: 14% up to $58,523, then 20.5%, 26%, 29% and 33% (as of the 2026 rates the CRA published).
- Credits: the basic personal amount ($16,452 for 2026), the age amount ($9,208 at 65 or older, reduced by 15% of net world income over $46,432) and the pension income amount (up to $2,000). The total is multiplied by 14%.
- Schedule B: checks the 90% test (next section) to see how much of those credits you can use.
- Surtax: adds 48% of basic federal tax. The CRA guide says non-residents pay this instead of provincial or territorial tax.
- Schedule C, Part 2: if line 71 used your net world income, it reduces the tax by the share of world income that is not on the return (the section 217 tax adjustment).
- Compare: if the tax on the return is lower than the tax required on line 44300, the election helps. The refund is the tax withheld minus the tax on the return.
For the pension income amount, the CRA counts registered pension plan payments at any age and RRIF payments at 65 or older. CPP, QPP, OAS, EI and RRSP withdrawals do not count.
What is the 90% rule for tax credits?
Schedule B compares your net income on the return with your net world income.
- 90% or more on the return: you can use all the federal credits you would get as a resident.
- Less than 90%: your credits are limited to the smaller of your normal credits and 14% of your eligible section 217 income (for 2026; the 2025 form uses 14.5%).
The CRA’s own example in Guide T4145: an $18,000 Canadian pension, $500 of Canadian dividends and $500 of US interest give a net world income of $19,000. The pension is 95% of that, so all credits count. Add $12,000 of US bond interest and the share falls to 58%, so credits are capped. For someone 65 or older, our calculator puts the tax on that second return at $1,564.03 for 2026, against $4,500 withheld at 25%. Foreign income that Canada does not tax can still shrink your credits and push you into a higher bracket on line 71. The tax adjustment in Part 2 then takes part of that back.
Worked example: a retiree living abroad
Maria is 68 and lives in a country with no tax treaty with Canada. In 2026 she receives a $12,000 workplace pension, $9,000 of CPP and $8,500 of OAS. She has no other income. Each payer withholds 25%.
| Step (form line) | Amount |
|---|---|
| Eligible income (Schedule C line 13300) | $29,500.00 |
| Tax required at 25% (line 44300) | $7,375.00 |
| Federal tax: $29,500 × 14% (line 78) | $4,130.00 |
| Credits: ($16,452 + $9,208 + $2,000) × 14% (line 35000) | $3,872.40 |
| Basic federal tax (line 42900) | $257.60 |
| Surtax: 48% (line 132) | $123.65 |
| Tax on the section 217 return (line 43500) | $381.25 |
| Estimated refund: $7,375.00 − $381.25 | $6,993.75 |
All of Maria’s income is on the return, so she passes the 90% test. She would also check the OAS recovery tax rules, since that is a separate filing. Her numbers are an example only. A treaty country often has lower withholding rates, which shrinks the possible refund.
When is the return due, and how do refunds work?
| What | Deadline (for 2026 income) | CRA rule |
|---|---|---|
| Section 217 return | June 30, 2027 | The CRA cannot accept the election if you file after June 30. |
| Balance owing | April 30, 2027 | Interest runs on any balance after April 30. |
| Form NR5 (lower withholding in advance) | On or before October 1, or before the first payment is due (CRA guide T4145) | If approved, it covers five tax years, and you must file a section 217 return for each of them. Service Canada’s page on taxes for OAS and CPP paid abroad gives October 31 for pension recipients in countries without a tax treaty; sending it by October 1 meets both dates. |
| Form NR7-R (refund of over-withholding without an election) | Generally two years after the end of the year the payer sent the tax | For tax withheld above the correct rate, for example when a treaty rate was not applied. |
If you file on time and the election helps, the CRA refunds the tax withheld that is more than the tax on your return. If a payer withheld too little, you can still owe a balance. If you file late, the tax withheld becomes your final tax on that income. If June 30 falls on a Saturday, Sunday or public holiday, the CRA treats the return as on time if it receives it, or it is postmarked, on or before the next business day. If April 30 falls on one of those days, a payment is on time if the CRA receives it on the first business day after. The CRA states this rule only for the return and payment due dates. The return can be due earlier if it also reports Canadian employment or business income or a gain on Canadian property.
How does this fit with the OAS recovery tax?
The OAS recovery tax is separate. The CRA says you may have to file Form T1136, the Old Age Security Return of Income, even if you do not file a section 217 return. The 5013 guide also tells section 217 filers not to enter an OAS repayment on line 42200 of the return. So this calculator leaves the recovery tax out. If your world income is high, read the OAS recovery tax for non-residents before you rely on the OAS part of the result.
Whether you can get OAS abroad at all is a different question. See the OAS abroad checker.
What this calculator does not include
- Credits other than the basic personal, age and pension income amounts (for example spouse, disability, medical or donation credits).
- Canadian employment or business income, partnership income and gains on Canadian property.
- Deductions on the return, and Schedule A line 15 adjustments.
- Part-year residents, deemed residents and residents of Quebec before leaving, who also deal with Revenu Québec.
- The OAS recovery tax and the EI benefit repayment.
- Foreign tax: your new country may tax the same income and give its own credit.
The 2026 forms are not out yet. The CRA publishes them in January 2027, and the result may change slightly when it does. For the flat rates on each type of income, use the non-resident withholding tax calculator. For how withdrawals are taxed in the first place, see your RRSP and RRIF when you leave Canada.
This is not tax advice; speak to a cross-border tax professional for your case.
Common questions
Do I have to file a section 217 return?
What if the election does not lower my tax?
Can I include rent or dividends on a section 217 return?
Why does my foreign income matter if Canada does not tax it?
Do I pay provincial tax on a section 217 return?
Sources
- CRA: Guide T4145, Electing under Section 217 of the Income Tax Act
- CRA: Electing under section 217
- CRA: Section 217 return and payment due dates
- CRA: Schedule C (5013-SC), Electing under Section 217, 2025
- CRA: Schedule A (5013-SA), Statement of World Income, 2025
- CRA: Schedule B (5013-SB), Allowable Amount of Federal Non-Refundable Tax Credits, 2025
- CRA: Income Tax and Benefit Return for Non-Residents and Deemed Residents (5013-R), 2025
- CRA: Federal Worksheet for Non-Residents and Deemed Residents (5013-D1), 2025
- CRA: Income Tax and Benefit Guide for Non-Residents and Deemed Residents (5013-G), 2025
- CRA: Tax rates and income brackets for 2026
- CRA: Indexation adjustment for personal income tax and benefit amounts
- CRA: Line 31400, Pension income amount
- CRA: Guide T4058, Non-Residents and Income Tax
- CRA: Form NR5, Application by a Non-Resident for a Reduction in the Amount of Non-Resident Tax Required to be Withheld
- CRA: Form NR7-R, Application for Refund of Part XIII Tax Withheld