Tax & TRA

Tax Residence Tanzania: Who Is Resident and What It Costs

Cover: tax residence in Tanzania for individuals and companies under section 86 of the Income Tax Act, Cap. 332 R.E. 2023
Section 86 of the Income Tax Act decides who is resident; the First Schedule decides what each status pays. As at 20 October 2026.
Direct answer

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

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:

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.

TestOperative words of s.86(1)What it means in practice
(a) Permanent homeHas a permanent home in the United Republic and is present here during any part of the yearOne day of presence can be enough if a permanent home is kept here
(b) 183 daysPresent for a period or periods amounting in aggregate to 183 days or more in the yearDays are added up across separate visits in the calendar year
(c) Three-year averagePresent in the year and in each of the two preceding years, for periods averaging more than 122 days in each such yearCatches regular visitors who never reach 183 days in one year
(d) Government postingAn employee or official of the Government of the United Republic posted abroad during the yearDiplomats 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:

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.

ItemResidentNon-residentRegister ID and basis
Income that is taxedWorldwide incomeTanzanian-source income onlyCap. 332 s.6(1)(a) and (b)
Employment incomeMonthly PAYE bands: nil to TZS 270,000, then 8%, 20%, 25% and 30% above TZS 1,000,00015% of gross employment income, finalF0176 to F0180; F0182; First Schedule paras 1(1) and 4(a)(ii)
Other income of an individualResident bands30% of total incomeF0183; First Schedule para 1(4)
Service fees received5% withholding15% withholdingF0212; First Schedule para 4(c)
Gain on land or buildings10% of the gain30% of the gainF0234; s.115(1)(a) and (d)
Gain on shares in a resident entity10% of the gain30% of the gainF0236; s.115(1)(a) and (d)
Dividends, ordinary10%10%F0207
Interest10%10%F0208
Foreign tax creditAvailableNot availableCap. 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.

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:

  1. the state where a permanent home is available;
  2. if there is a home in both, the state with which personal and economic relations are closer;
  3. then the state of habitual abode;
  4. 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.

PointMainland TanzaniaZanzibar
Residence testsCap. 332 s.86Same section (Union tax, s.2)
Who administers income tax and PAYETRATRA, revenue remitted to the Zanzibar Treasury
PAYE ratesFirst 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 bothCredit under s.99 for tax paid on business or investment income in the other partSame credit under s.99
VAT and other domestic taxesTRA, 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.

YearDays presentTest (b): 183 daysTest (c): present in each of three years, average over 122Result
20250Not metNot metNot relevant
2026245 days from 1 May, less 21 days leave = 224Met (224)Not met: no presence in 2024 or 2025Resident
20271 January to 31 May = 151Not met (151)Not met: no presence in 2025, even though (0 + 224 + 151) / 3 = 125Non-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.

LineResident (F0180)Non-resident (F0182)
Monthly salaryTZS 12,000,000TZS 12,000,000
Computation128,000 + 30% x (12,000,000 minus 1,000,000)15% x 12,000,000
Monthly PAYETZS 3,428,000TZS 1,800,000
Months in this status8 (May to December 2026)5 (January to May 2027)
PAYE for the periodTZS 27,424,000TZS 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

  1. Keep a day log. Record every arrival and departure for each expatriate and each frequent visitor, by calendar year.
  2. Test every year separately. Apply the four tests at the start of an assignment, at mid-year and before the final payslip.
  3. Check the three-year history. Ask new joiners about any earlier visits, because one short trip can activate the 122-day test.
  4. Set the PAYE basis. Apply the resident bands or the 15% rate on the expected status, and correct with TRA if the facts change.
  5. Review board practice. For a foreign company, record where directors sit when decisions are taken, including by video.
  6. Collect foreign tax evidence. Residents claiming a credit under section 98 need foreign assessments and payment receipts.
  7. Prepare the residence file. Before a treaty claim, assemble the TIN, returns and day counts, and ask TRA how it issues the certificate.
  8. Diarise the return. A resident with income beyond PAYE files within six months after 31 December.

Key dates

WhenWhatSource
1 January to 31 DecemberYear of income for residence testsCap. 332 s.20(1)
183rd day of presence in the yearTest (b) met; 30 October 2026 for a 1 May arrival with no absencesCap. 332 s.86(1)(b)
Within 7 days after each month endPayer remits tax withheld on service feesTRA withholding tax page
MonthlyEmployer remits PAYE; confirm the current due date with TRACap. 332 s.104; TRA PAYE page
Within six months after year endReturn of income, 30 June 2027 for 2026Cap. 332 s.117(1)
Since 1 July 202530% on non-resident gains; residence ruling to come with a certificateFinance Act 2025 ss.57 and 106
Within 30 days of an assessmentObjection, with the admission depositTAA 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.

Figures to confirm before you act

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.

Brief the desk

This Insights page is orientation. Tax advisory and planning is the commercial desk for the same facts. Zatra’s fee stays on its own line, separate from government, bank and regulator charges. Approvals are not guaranteed.

Book a 20-minute file check PAYE and net salary in Tanzania

+255 788 466 212 · [email protected] · WhatsApp +255 747 912 965

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/.

Office Line +255 788 466 212
Ask Senior Desk on WhatsApp