1. Home
  2. Leaving Canada
  3. Section 217 calculator
Free tool · Leaving Canada

Section 217 calculator: get back non-resident tax on Canadian pensions

When you live outside Canada, payers keep 25% of your Canadian pension and benefits, unless a tax treaty sets a lower rate. A section 217 election lets you file a Canadian return and pay tax at the normal federal rates instead. Enter your income to see whether that lowers your tax for 2026.

Your 2026 Canadian income (in Canadian dollars)

The age amount needs 65 or older. RRIF payments count for the pension income amount only at 65 or older.
Do not include the Guaranteed Income Supplement: it is not section 217 income.
25% with no tax treaty. If a treaty sets different rates for different income, enter the average: total tax required ÷ total income above × 100.
Leave blank to assume the payers withheld the required amount.
This income stays taxed by withholding, but it counts in your world income.
Pensions, wages, interest and other income from your new country or elsewhere.

Section 217 estimate

Enter your details to see the result.

2026 federal rates and amounts from the CRA, checked November 18, 2026. Line logic of the 2025 Schedules A, B and C. Covers only the income types listed and three credits: basic personal, age and pension income amounts.

Runs in your browser. Nothing you enter is sent to us.

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:

  1. 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).
  2. Schedule A: adds your other Canadian income and your foreign income to get your net world income (line 14).
  3. 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).
  4. 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%.
  5. Schedule B: checks the 90% test (next section) to see how much of those credits you can use.
  6. Surtax: adds 48% of basic federal tax. The CRA guide says non-residents pay this instead of provincial or territorial tax.
  7. 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).
  8. 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?

WhatDeadline (for 2026 income)CRA rule
Section 217 returnJune 30, 2027The CRA cannot accept the election if you file after June 30.
Balance owingApril 30, 2027Interest 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 taxFor 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?
No, it is a choice. You must file one only for each year covered by a Form NR5 the CRA approved. Otherwise, the tax withheld is usually your final Canadian tax on this income.
What if the election does not lower my tax?
The CRA applies the election only if it is beneficial. If it is not, the non-resident tax required on the income stays your final tax. If a payer withheld more than the correct rate, you can ask for the extra back with Form NR7-R.
Can I include rent or dividends on a section 217 return?
No. Rent has its own election under section 216. Dividends and interest are not section 217 income, but they still count in your net world income on Schedule A.
Why does my foreign income matter if Canada does not tax it?
Foreign income is part of your net world income. It can bring your share below 90%, which limits your credits. It can also raise the amount taxed on line 71, although the section 217 tax adjustment then reduces the tax.
Do I pay provincial tax on a section 217 return?
Not if you were a non-resident all year with no Canadian employment or business income. You pay a 48% federal surtax instead, according to the CRA’s 5013 guide. Part-year residents pay provincial or territorial tax instead of the surtax.

Sources

Checked against these sources on November 18, 2026. Spotted something out of date? Tell us.

General information, not tax advice. Tax rules depend on your situation and change every year. Check the CRA or speak with a tax professional.