Tax Residence Tanzania: Who Is Resident and What It Costs

When is a person resident for tax in Tanzania? Under section 86 of the Income Tax Act, Cap. 332 R.E. 2023, an individual is resident for a calendar year if they have a permanent home here and are present during the year, spend 183 days or more here, or average more than 122 days over three years. A company is resident if incorporated here or managed and controlled here.
This guide sets out the tax residence Tanzania rules for individuals and companies, and what they change: worldwide or source-only income, PAYE bands or a flat 15%, and the withholding rate on fees and gains. It covers arrival and departure years, short-term residents, permits, treaties, residence certificates, Zanzibar and a worked example for an expatriate engineer.
Who should read this
- Expatriate employees starting or ending an assignment in Tanzania, and their payroll teams.
- Tanzanian employers deciding whether to apply the resident PAYE bands or the flat non-resident rate.
- Foreign companies with directors, board meetings or decision makers in Tanzania.
- Tanzanian companies and individuals earning income abroad and paying foreign tax on it.
- Investors claiming a treaty rate who need proof of residence in one country only.
- Businesses in Zanzibar that want to know which authority applies the rules there.
Residence is a tax status, fixed year by year. It is not citizenship, and it is not the immigration status on a permit. A foreign national can be resident for tax, and a Tanzanian citizen working abroad can be non-resident.
What the law says: section 86 of the Income Tax Act
The governing text is the Income Tax Act, Cap. 332 R.E. 2023, as published by the Tanzania Revenue Authority (TRA). Part VI, Division I, headed "Residence and Source", opens with section 86, "Resident persons". Section 2 applies the Act to Mainland Tanzania as well as Tanzania Zanzibar.
The Revised Edition renumbered the Act. Section 86 was section 66 in the R.E. 2019 text on the Ministry of Finance site, and many guides still cite that number. Foreign tax relief moved from section 77 to section 98, and international agreements from section 128 to section 154.
Three other provisions give residence its effect:
- Section 6(1) taxes a resident person on income "irrespective of the source", and a non-resident only on income with "a source in the United Republic".
- Section 6(2) treats a short-term resident individual like a non-resident for the scope of income.
- Section 20(1) makes the year of income "the calendar year" for every person, so each test runs from 1 January to 31 December.
How do the four individual tests work?
Section 86(1) makes an individual resident for a year of income if any one of four tests is met. Meeting one is enough.
| Test | Operative words of s.86(1) | What it means in practice |
|---|---|---|
| (a) Permanent home | Has a permanent home in the United Republic and is present here during any part of the year | One day of presence can be enough if a permanent home is kept here |
| (b) 183 days | Present for a period or periods amounting in aggregate to 183 days or more in the year | Days are added up across separate visits in the calendar year |
| (c) Three-year average | Present in the year and in each of the two preceding years, for periods averaging more than 122 days in each such year | Catches regular visitors who never reach 183 days in one year |
| (d) Government posting | An employee or official of the Government of the United Republic posted abroad during the year | Diplomats and posted officials stay resident while abroad |
PwC Worldwide Tax Summaries, last reviewed on 9 September 2026, describes the same tests. So does the RSM Tanzania Tax Guide 2025/26.
Three points in the wording catch people out. First, test (c) needs presence in each of the three years; a year with no presence at all breaks it, whatever the average. Second, the Act does not define "permanent home". Whether a rented flat or company housing counts depends on the facts, so treat that as an open question. Third, the Act does not say how arrival and departure days are counted. Keep passport stamps and travel records and count conservatively.
When is a company resident in Tanzania?
Section 86(4) makes a corporation resident for a year of income in either of two cases:
- it is "incorporated or formed under the laws of the United Republic"; or
- "at any time during the year of income" the management and control of its affairs are exercised in the United Republic, "whether physically or through any electronic means".
The second limb matters for foreign companies. A company registered abroad whose directors meet in Dar es Salaam, or take board decisions from Tanzania by video call, risks becoming resident. The words "at any time" mean a single year of control here can be enough. A resident company is then taxed at 30% on its worldwide income (F0196), not only on Tanzanian profit.
Section 86 also covers other bodies. A partnership is resident if any partner is resident at any time in the year (s.86(2)). A trust is resident if it was established here, has a resident trustee, or is directed by a resident person (s.86(3)).
Corporate residence is a different question from a permanent establishment. A foreign company can have a branch here without being resident; the branch is then taxed on its Tanzanian profit. Our guide to permanent establishment in Tanzania covers that test.
What does residence change?
Residence decides both the base and the rate. A resident is taxed on worldwide income, with credit for foreign tax. A non-resident is taxed only on Tanzanian-source income, often through final withholding by the payer.
| Item | Resident | Non-resident | Register ID and basis |
|---|---|---|---|
| Income that is taxed | Worldwide income | Tanzanian-source income only | Cap. 332 s.6(1)(a) and (b) |
| Employment income | Monthly PAYE bands: nil to TZS 270,000, then 8%, 20%, 25% and 30% above TZS 1,000,000 | 15% of gross employment income, final | F0176 to F0180; F0182; First Schedule paras 1(1) and 4(a)(ii) |
| Other income of an individual | Resident bands | 30% of total income | F0183; First Schedule para 1(4) |
| Service fees received | 5% withholding | 15% withholding | F0212; First Schedule para 4(c) |
| Gain on land or buildings | 10% of the gain | 30% of the gain | F0234; s.115(1)(a) and (d) |
| Gain on shares in a resident entity | 10% of the gain | 30% of the gain | F0236; s.115(1)(a) and (d) |
| Dividends, ordinary | 10% | 10% | F0207 |
| Interest | 10% | 10% | F0208 |
| Foreign tax credit | Available | Not available | Cap. 332 s.98 |
The non-resident rate on gains rose from 20% to 30% under section 57 of the Finance Act, 2025, effective 1 July 2025. The TRA consolidated text of the Act still prints "twenty percent" in section 115(1)(d), so do not rely on it for that rate. EY's analysis of 4 August 2025 reports the same change.
TRA's withholding tax page lists the 5% and 15% service fee rates. The payer remits within seven days after the end of each calendar month. For payments abroad, see our page on withholding tax on cross-border payments, and for share disposals, capital gains tax on shares.
What is a short-term resident?
Section 6(2) gives new arrivals a useful relief. It covers a resident individual who, at the end of a year of income, "has been resident in the United Republic for two years or less in total during the whole of the individual's life". That person is taxed only on income with a Tanzanian source.
In practice, an expatriate in the first two resident years pays Tanzanian tax on salary for work here. Foreign rent, foreign bank interest and foreign dividends stay outside the Tanzanian base. From the third resident year, worldwide income comes in, with credit for foreign tax under section 98.
The relief applies to the scope of income, not the rate. A short-term resident employee still pays PAYE at the resident bands, not the 15% non-resident rate.
What happens in the arrival and departure years?
Tanzanian law has no split-year rule. Residence is tested for the whole calendar year, and the result applies to the whole year. An expatriate who arrives in May and stays 183 days is resident for that whole year.
The arrival year usually turns on test (b). Someone arriving after early July cannot reach 183 days before 31 December. Test (c) also fails in a first year, because there was no presence in the two preceding years. Without a permanent home here, a late arrival is non-resident for that year.
The departure year is where errors happen. An employee leaving in May or June will usually be under 183 days. Whether test (c) applies depends on presence in each of the two previous years, so one short visit before the assignment can tip the result. Payroll should test the departure year early, not after the final payslip.
Permits run on a different clock. A residence permit usually ends with the assignment, but tax residence is decided only at the end of the calendar year.
Do work and residence permits decide tax residence?
No. A residence permit is an immigration document under the Immigration Act; tax residence is a status under section 86 of the Income Tax Act. Neither decides the other.
- A Class B residence permit holder who leaves after four months may be non-resident for tax that year.
- A business visitor with no permit can become tax resident by spending 183 days here across several trips.
- A citizen posted abroad by the Government stays resident under test (d), whatever the host country's permit says.
Permits still matter for tax. TRA sees them, and they show when the holder was authorised to work here. A Class B residence permit filed directly costs USD 2,000 (F0406). Our guides to the Class B residence permit and the Zanzibar work permit explain the immigration side.
How do tax treaties break a tie between two countries?
A person can be resident in Tanzania under section 86 and in another country under its own law. Section 154 of the Act provides that, where the terms of an international agreement are inconsistent with the Act, the agreement prevails, subject to the limits in that section.
Most treaties settle dual residence in their Article 4. The South Africa and Tanzania agreement, published by the South African Revenue Service, applies these tests in order for an individual:
- the state where a permanent home is available;
- if there is a home in both, the state with which personal and economic relations are closer;
- then the state of habitual abode;
- then nationality, and finally mutual agreement between the two tax authorities.
For a company resident in both states, Article 4(3) of that treaty looks to the place of effective management. The employment article then decides who taxes salary. Under Article 14(2) of the same treaty, the work country gives up its right only if three conditions are all met. The employee is present 183 days or less in a twelve-month period, is paid by a non-resident employer, and the cost is not borne by a local permanent establishment.
An expatriate paid by a Tanzanian employer fails the second condition, so Tanzania keeps the right to tax the salary. Our guide to Tanzania double tax treaties explains how to use a treaty and what TRA asks for. Each treaty is worded differently, so read the one that applies.
How do you prove Tanzanian residence for a treaty claim?
A treaty partner will usually ask for a certificate from TRA confirming that the person is resident in Tanzania. The Finance Act, 2025 added a related rule. Section 106 amended section 11(1) of the Tax Administration Act, Cap. 438, effective 1 July 2025.
Where the Commissioner General issues a private ruling in favour of a person on tax residence status, the ruling "shall be accompanied with a tax residency certificate in a manner determined by the Commissioner General".
We could not find a published TRA procedure, form or service standard for a stand-alone residence certificate. Treat the documents, timing and any charge as unknown until TRA confirms them. In practice, prepare a file showing the person's TIN, filed returns, day counts or incorporation and board records, and ask TRA well before the foreign deadline.
How does the foreign tax credit work for residents?
Section 98 lets a resident person, other than a partnership, claim a foreign tax credit for foreign income tax paid on its taxable foreign income. The credit is calculated separately for each year. It cannot exceed the person's average rate of Tanzanian income tax applied to that foreign income.
Foreign tax that cannot be credited because of that cap becomes unrelieved foreign income tax, which section 98(3) allows against foreign income in later years. Section 98(4) lets a person give up the credit and deduct the foreign tax instead. No other deduction is allowed for foreign income tax.
A non-resident gets no credit, because Tanzania taxes only its Tanzanian-source income. Any relief for that person comes from the home country, often under a treaty.
What is the position in Zanzibar?
Income tax is a Union matter. Section 2 applies the Income Tax Act to Tanzania Zanzibar, and section 86 counts presence anywhere "in the United Republic". Days in Zanzibar and on the Mainland are added together, and the same tests apply.
The sources show that TRA administers income tax in Zanzibar, including PAYE. The Zanzibar Revenue Authority (ZRA) describes itself as responsible for "all domestic non-union taxes in Zanzibar" and does not list income tax or PAYE among them. A UNU-WIDER working paper (2020) states that income taxes in Zanzibar are "administered and collected by the TRA". It adds that the revenue is remitted to the Zanzibar Treasury.
The UM Advisory Zanzibar compliance calendar also lists PAYE as administered by TRA. We found no source showing ZRA collecting PAYE from Zanzibar employers.
| Point | Mainland Tanzania | Zanzibar |
|---|---|---|
| Residence tests | Cap. 332 s.86 | Same section (Union tax, s.2) |
| Who administers income tax and PAYE | TRA | TRA, revenue remitted to the Zanzibar Treasury |
| PAYE rates | First Schedule para 1(1) bands (F0176 to F0180) | Para 1(7) lets the Minister, with the Zanzibar finance minister, set the Zanzibar rate; confirm with TRA |
| Business in both | Credit under s.99 for tax paid on business or investment income in the other part | Same credit under s.99 |
| VAT and other domestic taxes | TRA, VAT 18% (F0239) | ZRA, VAT 15% (F0246) |
Our guide to Union and non-Union taxes explains the wider split between TRA and ZRA.
Worked example: an expatriate engineer arriving on 1 May 2026
A foreign engineer joins a Tanzanian mining services company in Dar es Salaam on 1 May 2026. The monthly salary is TZS 12,000,000, paid by the Tanzanian employer. The family home stays abroad, and the company provides a serviced apartment. We assume that apartment is not a permanent home, so test (a) does not apply. The engineer takes 21 days of home leave in December 2026 and leaves Tanzania for good on 31 May 2027.
Step 1: count the days.
| Year | Days present | Test (b): 183 days | Test (c): present in each of three years, average over 122 | Result |
|---|---|---|---|---|
| 2025 | 0 | Not met | Not met | Not relevant |
| 2026 | 245 days from 1 May, less 21 days leave = 224 | Met (224) | Not met: no presence in 2024 or 2025 | Resident |
| 2027 | 1 January to 31 May = 151 | Not met (151) | Not met: no presence in 2025, even though (0 + 224 + 151) / 3 = 125 | Non-resident |
With continuous presence from 1 May, the 183rd day falls on 30 October 2026. From that date, residence for 2026 is settled.
Step 2: monthly PAYE in each status.
| Line | Resident (F0180) | Non-resident (F0182) |
|---|---|---|
| Monthly salary | TZS 12,000,000 | TZS 12,000,000 |
| Computation | 128,000 + 30% x (12,000,000 minus 1,000,000) | 15% x 12,000,000 |
| Monthly PAYE | TZS 3,428,000 | TZS 1,800,000 |
| Months in this status | 8 (May to December 2026) | 5 (January to May 2027) |
| PAYE for the period | TZS 27,424,000 | TZS 9,000,000 |
On this salary, the resident bands cost TZS 1,628,000 a month more than the flat 15%. The difference is a result of the law, not a planning choice. Residence follows the facts, and an employer that applies 15% to a resident employee will face a PAYE assessment for the shortfall.
Step 3: the variant that flips 2027. Suppose the engineer had made a 10-day site visit in March 2025. Now there is presence in 2025, 2026 and 2027, and the average is (10 + 224 + 151) / 3 = 128.3 days, above 122. Under test (c) the engineer is resident for 2027. PAYE for January to May 2027 becomes 5 x 3,428,000 = TZS 17,140,000, which is TZS 8,140,000 more than the non-resident figure.
Step 4: the short-term rule. At the end of 2026, the engineer has been resident for one year in total. Section 6(2) applies, so foreign rent or interest earned abroad in 2026 is outside the Tanzanian base. The same holds for 2027 in the variant. Housing and other benefits provided by the employer are part of employment income in either status; our guide to benefits in kind covers their values. The PAYE and net salary guide shows the full payslip, including pension and levies.
What to do now
- Keep a day log. Record every arrival and departure for each expatriate and each frequent visitor, by calendar year.
- Test every year separately. Apply the four tests at the start of an assignment, at mid-year and before the final payslip.
- Check the three-year history. Ask new joiners about any earlier visits, because one short trip can activate the 122-day test.
- Set the PAYE basis. Apply the resident bands or the 15% rate on the expected status, and correct with TRA if the facts change.
- Review board practice. For a foreign company, record where directors sit when decisions are taken, including by video.
- Collect foreign tax evidence. Residents claiming a credit under section 98 need foreign assessments and payment receipts.
- Prepare the residence file. Before a treaty claim, assemble the TIN, returns and day counts, and ask TRA how it issues the certificate.
- Diarise the return. A resident with income beyond PAYE files within six months after 31 December.
Key dates
| When | What | Source |
|---|---|---|
| 1 January to 31 December | Year of income for residence tests | Cap. 332 s.20(1) |
| 183rd day of presence in the year | Test (b) met; 30 October 2026 for a 1 May arrival with no absences | Cap. 332 s.86(1)(b) |
| Within 7 days after each month end | Payer remits tax withheld on service fees | TRA withholding tax page |
| Monthly | Employer remits PAYE; confirm the current due date with TRA | Cap. 332 s.104; TRA PAYE page |
| Within six months after year end | Return of income, 30 June 2027 for 2026 | Cap. 332 s.117(1) |
| Since 1 July 2025 | 30% on non-resident gains; residence ruling to come with a certificate | Finance Act 2025 ss.57 and 106 |
| Within 30 days of an assessment | Objection, with the admission deposit | TAA s.62; NEW-02-19 |
How Zatra helps
Zatra tests residence for expatriates, frequent visitors and foreign companies year by year, and sets the PAYE and withholding basis to match. We prepare the day-count file, the treaty position and the residence certificate request, and we model the cost of each status before an assignment starts.
Our tax advisory and planning desk leads the work. Our TRA audit and dispute team handles PAYE assessments and objections.
Costs come in two separate buckets. Government charges, such as permit fees or Tax Revenue Appeals Board filing fees, are paid at the official rate against the authority's control number. Zatra's professional fee is quoted on its own line and never mixed with them. Zatra prepares and files, but does not decide or guarantee any authority's outcome. Prosecution, seizure, disputes before the Board or the courts, and formal legal opinions on residence go to an advocate.
Sources and status
Accurate as at 20 October 2026.
- Income Tax Act, Cap. 332 R.E. 2023: TRA copy; ss.2, 6, 20, 86, 98, 99, 104, 115, 117, 154 and First Schedule paras 1 and 4 read. Accessed 20 Oct 2026.
- Finance Act, 2025: TRAB copy, 2025; ss.57 and 106. Accessed 20 Oct 2026.
- TRA Pay As You Earn page: TRA, 2026; 15% final for non-resident employees. Accessed 20 Oct 2026.
- TRA withholding tax page: TRA, 2026. Accessed 20 Oct 2026.
- South Africa and Tanzania tax agreement: SARS, Government Gazette 30039 of 4 Jul 2007; Arts. 4 and 14. Accessed 20 Oct 2026.
- PwC Worldwide Tax Summaries, Tanzania individual residence: PwC, last reviewed 9 Sep 2026. Accessed 20 Oct 2026.
- UNU-WIDER Working Paper 2020/15: UNU-WIDER, 2020; TRA collection in Zanzibar. Accessed 20 Oct 2026.
- Zatra fee register lines F0176 to F0180, F0182, F0183, F0196, F0207, F0208, F0212, F0234, F0236, F0239, F0246, F0406, NEW-02-19: fees at 26 Sep 2026. Accessed 20 Oct 2026.
Figures to confirm before you act
- Permanent home: whether rented or employer-provided housing is a permanent home under s.86(1)(a)
- Day counting: how TRA counts arrival and departure days and transit stays
- Residence certificate: TRA's documents, timing and any charge for a tax residency certificate (unknown at publication)
- PAYE due date: the current monthly remittance date for PAYE
- Mid-year change of status: how TRA expects an employer to correct PAYE when residence changes
- Zanzibar PAYE rate: whether a separate rate has been set under First Schedule para 1(7)
- Zanzibar companies: confirm with TRA that a company formed under Zanzibar law is resident under s.86(4)(a)
- Treaty status: whether the treaty you rely on is in force and how its Article 4 is worded
This article is general information based on official sources available at the date of publication. It is not legal, tax or financial advice. Laws and notices change. Verify with the issuing authority or consult Zatra before acting.
Frequently asked questions
Does a Tanzanian citizen working abroad stay resident for tax?
Not automatically. Citizenship is not a test under section 86. A citizen who keeps a permanent home in Tanzania and visits during the year stays resident under test (a). One who moves the home abroad and spends fewer than 183 days here may become non-resident, unless posted abroad by the Government.
Can a person be resident in Tanzania and another country at the same time?
Yes. Each country applies its own law, so dual residence is common in assignment years. Where a treaty exists, its residence article settles the tie by looking at permanent home, closer personal and economic relations, habitual abode and nationality. Without a treaty, both countries may tax, with relief limited to the foreign tax credit.
Is a non-resident employee required to file a Tanzanian return?
For employment income, TRA describes the 15% withheld by a resident employer as a final tax on that income. A non-resident with other Tanzanian-source income, such as a gain on land or shares, has separate obligations. Check whether any non-final income needs a return.
Does owning a house in Tanzania make a foreigner resident?
It can. Test (a) applies where a person has a permanent home here and is present during any part of the year. A house kept available for the owner's use may count, even if the owner visits for a few weeks. A house let out to tenants is less likely to be a permanent home.
Are days spent in Zanzibar counted for the 183-day test?
Yes. The Income Tax Act applies to the whole United Republic, and section 86 counts presence in the United Republic. Days on Unguja or Pemba are added to days on the Mainland for each residence test.
Can a foreign company become resident because one director lives in Tanzania?
It depends on where management and control are exercised. One resident director does not decide it alone. The risk rises where the board meets here, where key decisions are taken from Tanzania, or where directors in Tanzania join meetings electronically and direct the company. Keep minutes that show where decisions are made.
What happens if payroll used the wrong residence status?
TRA can assess the PAYE shortfall against the employer, with penalties and interest under the Tax Administration Act. Where too much was withheld, the excess may be recoverable through the employee's return or a refund claim. Correct the position as soon as the day count shows the status has changed.
Can Zatra give a formal opinion on someone's tax residence?
Zatra prepares the analysis, the day-count file and the treaty position. A formal legal opinion that a bank, foreign tax authority or TRA will rely on is issued through an advocate. TRA decides the Tanzanian position, and disputes go to the Tax Revenue Appeals Board.
Sources & regulators
Verify before filing: Rates, forms and thresholds move by Finance Act, Government Notice and portal revision. Confirm the live schedule on the mandate-holder portal before you budget or submit. Law-firm alerts and Big Four notes are discovery only.
- The Income Tax Act, Cap. 332 R.E. 2023: Tanzania Revenue Authority, Revised Edition 2023; ss.2, 6, 20, 86, 98, 99, 104, 115, 117, 154 and First Schedule paras 1 and 4 read 20 Oct 2026; primary source. Accessed 2026-10-20.
- The Income Tax Act, Cap. 332 R.E. 2019: Ministry of Finance, Revised Edition 2019; former numbering s.66 (residence), s.77, s.128; primary source. Accessed 2026-10-20.
- The Finance Act, 2025: Tax Revenue Appeals Board copy, Act of 2025, in force 1 July 2025; s.57 (non-resident gains twenty to thirty percent) and s.106 (TAA s.11 residence ruling and tax residency certificate); primary source. Accessed 2026-10-20.
- TRA: Pay As You Earn: Tanzania Revenue Authority, live page 2026, read 20 Oct 2026; non-resident employees 15% of gross employment income, final; primary source. Accessed 2026-10-20.
- TRA: Withholding tax: Tanzania Revenue Authority, live page 2026, read 20 Oct 2026; service fees 5% resident and 15% non-resident, remittance within 7 days after month end; primary source. Accessed 2026-10-20.
- Agreement between South Africa and Tanzania for the avoidance of double taxation: South African Revenue Service, Government Gazette 30039 of 4 Jul 2007; Arts. 4(2), 4(3) and 14(2) read; primary source. Accessed 2026-10-20.
- ZRA: Zanzibar Revenue Authority: Zanzibar Revenue Authority, live site 2026, read 20 Oct 2026; administers domestic non-union taxes, income tax and PAYE not listed; primary source. Accessed 2026-10-20.
- PwC Worldwide Tax Summaries: Tanzania, Individual residence: PwC, last reviewed 9 Sep 2026; independent source on the permanent home, 183-day and 122-day tests and the short-term resident rule. Accessed 2026-10-20.
- RSM Tanzania: Tanzania Tax Guide 2025/26: RSM Tanzania, 2025 (2025/26 edition); independent source on the four residence tests, 15% non-resident employees and 30% non-resident gains. Accessed 2026-10-20.
- EY: Tanzanian Finance Act, 2025 analysis: EY Global Tax Alert, 4 Aug 2025; independent source on the 30% non-resident gains rate and the residence ruling certificate. Accessed 2026-10-20.
- UNU-WIDER Working Paper 2020/15: Tax-benefit microsimulation modelling in Zanzibar: UNU-WIDER, 2020; independent source that income taxes in Zanzibar are administered and collected by TRA and remitted to the Zanzibar Treasury. Accessed 2026-10-20.
- UM Advisory: Zanzibar compliance calendar: UM Advisory, live page 2026, read 20 Oct 2026; independent source listing PAYE in Zanzibar as administered by TRA. Accessed 2026-10-20.
Disclaimer
This article is informational orientation. It is not legal, tax or investment advice and not a government decision. Tanzanian instruments move by Act, Government Notice, Finance Act and portal revision. If a sentence here disagrees with the live mandate-holder, the mandate-holder wins. Zatra Consultants Limited does not issue licences, permits, tax clearances or approvals, and gives no assurance of any regulatory or banking outcome. Professional fees are published only on /pricing/.
