Tax & TRA

Foreign Exchange Gains Tax Tanzania: Realised, Unrealised and USD Books

Cover: foreign exchange gains tax in Tanzania, realised and unrealised differences, shilling conversion and USD books
Shilling conversion, realised and unrealised differences, the 70% cap, USD books, VAT, transfer pricing and Zanzibar.
Direct answer

How are foreign exchange gains taxed in Tanzania? The Income Tax Act converts every foreign-currency amount into shillings at the Bank of Tanzania rate on the day it is taken into account. Gains and losses are adjusted when a receivable is paid or a debt is settled. Year-end revaluations follow the accounts but are usually reversed in the tax computation. Realised losses on interest-free loans are capped at 70%.

Foreign exchange gains tax in Tanzania is not a separate tax. It is the income tax treatment of the differences that appear whenever a company earns, borrows, pays or holds money in a currency other than the shilling. The rules sit in a handful of sections of the Income Tax Act, and most disputes start because the audited accounts and the tax return treat the same difference in different years.

This guide covers the conversion rate, when gains become taxable and losses deductible, interest-free parent loans, VAT, transfer pricing and Zanzibar. A worked example in shillings and dollars follows the rules.

What the law says

We read the Income Tax Act, Cap. 332 R.E. 2023 published by TRA, and checked earlier wording against the TanzLII consolidation as at 30 November 2019. Sections 1 to 57 kept their numbers in the 2023 revised edition, so both copies cite the same sections below.

Provision (Cap. 332)What it does for foreign exchange
s.21(1) and (7)Income is accounted for under generally accepted accounting principles, meaning those adopted by the National Board of Accountants and Auditors (NBAA).
s.23(5)Where an amount included or deducted on accrual is later paid or received in a different quantity, including because of a change in currency valuations, an adjustment is made when the payment is made or received.
s.28(1)Tax payable, income and amounts included or deducted are quantified in Tanzania shillings.
s.28(2)A foreign-currency amount is converted at the exchange rate quoted by the Bank of Tanzania at the time the amount is taken into account.
s.28(3)With the Commissioner's written permission, a person may use the average rate for the year of income, as determined by the Commissioner.
s.28(4)The Commissioner may, by written notice, for a set period and on conditions, permit an entity to quantify income in a convertible foreign currency.
s.3, s.39(g)A "foreign currency debt claim" is a debt claim not denominated in shillings. It is treated as realised when the debt is paid.
s.40Liabilities follow the asset rules and are realised when transferred, satisfied, cancelled, released or expired.
s.12(6)A deductible realised foreign exchange loss on an interest-free debt obligation is limited to the loss attributable to not more than 70% of that obligation.
s.33Dealings between associates must be priced and allocated as if at arm's length.

The Tax Administration Act, Cap. 438 supplies the machinery. Section 37 makes Kiswahili and English the official languages. Section 43 requires documents to be kept in the United Republic for five years. Since 1 January 2024, electronic records must sit on a primary data server located in the country. We read both in the TRA copy of the Tax Administration Act.

Who should read this

How are foreign exchange gains and losses taxed in Tanzania?

Start with the transaction, not the exchange difference. Each sale, purchase, loan drawdown or repayment is converted into shillings under section 28(2) on the day it is taken into account. That shilling figure becomes the amount included in income or deducted.

A difference appears when the money moves at another rate. If an export invoice was recorded at one rate and the dollars arrive at a higher rate, the extra shillings are included when the payment is received. If they arrive at a lower rate, the shortfall is deducted at that time.

Debts follow the realisation rules. A foreign-currency debt claim is realised when the debt is paid, under section 39(g). A liability is realised when it is satisfied or otherwise discharged, under section 40. Gains and losses on business assets and liabilities enter the income calculation through sections 8 and 18.

The result is a realised basis for tax. A gain or loss counts in the year the item settles, measured against the rate used when it was first recorded.

Trading differences usually pass through section 23(5). Loan differences pass through the realisation rules and, for interest-free loans, the 70% cap. Our guide to deductible expenses in Tanzania shows where these items sit in the wider computation.

Are unrealised exchange gains taxable?

Under IFRS, monetary items such as receivables, payables, loans and bank balances are retranslated at the closing rate, and the difference goes to profit or loss. IAS 21 sets that rule. The audited profit therefore includes gains and losses on balances that nobody has paid.

The Income Tax Act takes those balances into account at the rate on the transaction date and adjusts them on payment or realisation. A year-end revaluation is not a payment, a receipt or a realisation. For that reason, the common practice is to remove unrealised exchange gains and losses from the computation, then bring in the realised figure when the item settles.

Treat this as the working position, not a guaranteed outcome. The Act has no single sentence that says "unrealised differences are ignored". The position is built from sections 23(5), 28(2), 39(g) and 40. An independent commentary by Hanif Habib & Co. (February 2024) reports that TRA auditors have sometimes added back exchange differences more widely than the realisation rules support. Keep a schedule that proves which items were settled and when.

The add-back works both ways. Removing unrealised losses but keeping unrealised gains is the pattern auditors look for first.

Which exchange rate must be used for TRA returns?

Section 28(2) points to "the exchange rate quoted by the Bank of Tanzania" at the time the amount is taken into account. It does not name a buying, selling or mean rate. The Bank publishes an official indicative mean rate every business day. Its weekly financial markets report for 24 to 28 August 2026 closed the week at TZS 2,643.26 per US dollar.

SituationRate to useSource
Sale, purchase or expense in dollarsBoT rate on the date the amount is taken into accounts.28(2)
Settlement of a dollar receivable or payableBoT rate on the payment date, compared with the original rates.23(5)
Repayment of a dollar loanBoT rate on the repayment date, compared with the rate at drawdownss.39(g), 40
Many small transactions through the yearAverage rate for the year, only with written permissions.28(3)
Books kept in a foreign currencyConversion terms set in the Commissioner's notices.28(4)

Our working practice is to use the BoT mean rate and keep a dated download of each rate used. Where the bank converts at its own rate, the shillings received or paid are the settlement figure.

The average rate in section 28(3) is not automatic. Without written permission, an ERP monthly average is a convenience for the accounts, not a basis TRA must accept.

Can a company keep its books in US dollars?

For accounting, yes, if the dollar is its functional currency under IAS 21. Many mining, oil and gas, logistics and tourism companies earn and borrow in dollars, and their auditors sign dollar accounts. The NBAA adopts IFRS, and section 21 ties the tax accounts to those principles.

For tax, the default answer is no. Section 28(1) quantifies income and tax payable in shillings. A company with dollar books must still translate each item into shillings for the return, transaction by transaction, unless the Commissioner has issued a notice under section 28(4).

Section 28(4) permission covers a stated period and carries the Commissioner's conditions. We found no published TRA form for it. Apply in writing and treat the reply as the operative document.

Three practical rules apply either way:

Separate law governs which currency a domestic contract may use. The Bank of Tanzania public notice of 2 May 2025 explains the Foreign Currency Usage Regulations, 2025, GN No. 198 of 2025. They require goods and services supplied inside the country to be priced and paid in shillings, with narrow exceptions. Our note on USD contracts and the shilling rule covers what may still be invoiced in dollars. Fewer domestic dollar invoices mean fewer domestic exchange differences, but export, import and loan balances remain.

What is the 70% rule on interest-free loans?

Section 12(6) was added by the Finance Act 2020. EY's alert of 19 June 2020 describes the change as limiting the deduction of a realised exchange loss on an interest-free debt obligation to 70%. PwC's Tanzania deductions summary, last reviewed 9 September 2026, states the same limit.

The wording is "the amount of loss attributable to not more than seventy percent of such obligation". In practice, the deductible loss is 70% of the realised loss on the whole loan. The other 30% is never deductible, even when the loan is repaid in full.

Three points follow:

For example, charging interest would remove the cap but add other costs. Interest paid to a non-resident attracts 10% withholding tax (register F0208), interest limits apply, and section 33 requires an arm's-length rate. Our guide to thin capitalisation in Tanzania explains the interest limits.

How does VAT handle invoices in foreign currency?

VAT is charged on the value of a supply in shillings. We read the Value Added Tax Act, Cap. 148 R.E. 2023 and the 2019 TanzLII consolidation. Neither contains a specific foreign-currency conversion section. The tax invoice must come from an electronic fiscal device, be serially numbered, and show the consideration and the VAT included.

Three consequences matter for exchange differences:

For a permitted dollar invoice to a local customer, convert at the BoT rate on the date VAT becomes payable. A later payment at another rate changes income tax, not VAT. Confirm this practice with your TRA office, because the Act is silent on the rate.

The standard Mainland rate is 18% (register F0239). Returns and payment are due by the 20th of the following month (register F0245). Our VAT return guide covers the monthly filing.

How do withholding tax and exchange rates interact?

Withholding is calculated on the gross shilling amount of the payment. Where a service fee, interest or royalty is payable in dollars, convert the gross dollar amount at the BoT rate on the date the payment is made or the amount is credited, then apply the rate.

The rates for non-residents include 15% on service fees (register F0212) and 10% on interest (register F0208). An exchange difference on the underlying payable does not change the withholding already due. It is an income tax adjustment for the payer under section 23(5).

See our guide to withholding tax on cross-border payments for treaty relief and certificates.

Where does transfer pricing come in?

Large exchange differences often arise on related-party balances such as shareholder loans and intercompany payables. Section 33 requires those dealings to reflect arm's-length terms. The Commissioner may adjust, re-characterise or apportion where they do not.

The Tax Administration (Transfer Pricing) Regulations, 2018 set the documentation duties. EY's alert of 6 December 2018 reports that taxpayers with related-party transactions above TZS 10 billion a year file documentation with the return. Others keep it ready and produce it within 30 days of a request.

TRA's Transfer Pricing Guidelines of May 2014 list currency risk as part of financial risk, and treat intra-group loans as controlled transactions. Three questions follow:

A transfer pricing adjustment carries a penalty of the higher of 30% of the adjustment or 100% of the tax shortfall (register NEW-02-12). Our transfer pricing compliance guide and our note on management fees paid to a parent cover the documents TRA asks for.

Mainland and Zanzibar: what changes?

Income tax is a Union matter. A Zanzibar company computes exchange gains and losses under the same Income Tax Act and files with TRA. Section 99 of Cap. 332 gives a credit where a business operates in both parts of the Union.

VAT is not a Union matter. The Zanzibar Value Added Tax Act No. 4 of 1998, consolidated to June 2025, charges 15% under section 8(1), with 18% on some listed services. We found no currency conversion provision in that consolidation either. GN No. 198 of 2025 applies across the Union, because currency and legal tender are Union matters.

ItemMainland TanzaniaZanzibar
Income tax on exchange differencesCap. 332, TRASame Act, TRA
Conversion rate for income taxBoT rate, s.28(2)Same rule
Permission for foreign-currency booksCommissioner General, s.28(4)Same, through TRA
VAT authority and rateTRA, 18% (F0239)ZRA, 15% standard (F0246), 18% on some listed services
VAT conversion ruleNo specific section found; confirm with TRANo specific section found; confirm with ZRA
Domestic pricing currencyShillings, GN No. 198 of 2025Shillings, same notice

Our page on Union and non-Union taxes sets out which authority handles which tax.

Worked example: a dollar loan and a dollar receivable

Pwani Freight Ltd is an illustrative Mainland company with a 31 December year-end, shilling functional currency and IFRS accounts. All exchange rates below are illustrative, chosen near the BoT mean rate reported in August 2026.

On 1 March 2026 its foreign parent lends USD 500,000 free of interest. The BoT rate is 2,450, so the loan is recorded at TZS 1,225,000,000. On 15 November 2026 Pwani invoices a non-resident shipper USD 100,000 for zero-rated services at 2,620, recording income of TZS 262,000,000.

ItemAccountsTax computation
Loan retranslated at 31 Dec 2026, rate 2,640Unrealised loss TZS 95,000,000Added back: nothing realised
Receivable retranslated at 31 Dec 2026, rate 2,640Unrealised gain TZS 2,000,000Deducted: nothing received
Net 2026 adjustmentNet loss TZS 93,000,000 in profitTaxable income TZS 93,000,000 higher than profit
Receivable collected 20 Jan 2027, rate 2,600Loss TZS 4,000,000 against 2,640Realised loss TZS 2,000,000 against 2,620
USD 200,000 of loan repaid 30 Jun 2027, rate 2,600Gain TZS 8,000,000 against 2,640Realised loss TZS 30,000,000 against 2,450
Section 12(6) cap on the loan lossNot applicableDeductible TZS 21,000,000; TZS 9,000,000 never deductible

The 2026 add-back costs Pwani TZS 27,900,000 of tax at 30% (register F0196), compared with tax on accounting profit. That is a timing difference, mostly reversed when the loan is repaid. It is also cash out of the business in 2026, so it belongs in the provisional tax estimate.

In 2027 the two systems point in opposite directions on the loan. The accounts show a gain of TZS 8,000,000 because the rate fell from the year-end level. The tax computation shows a realised loss of TZS 30,000,000 because the rate is higher than at drawdown. Section 12(6) then allows TZS 21,000,000, worth TZS 6,300,000 of tax at 30%.

The lesson is the schedule. Each dollar balance needs its original rate, every settlement and the realised figure, or the computation cannot be reproduced at audit.

What are the penalties and how are disputes handled?

A rejected exchange adjustment becomes a tax shortfall. The penalty for a false or misleading statement is 50% of the shortfall, or 75% where the statement was made knowingly or recklessly (register NEW-02-11). Late filing or payment carries the higher of 2.5% a month or a fixed amount based on the TZS 20,000 currency point (registers NEW-02-06 and NEW-02-05).

An objection must be filed within 30 days of service. It is admitted only after paying the greater of the tax not in dispute or one third of the assessed tax (register NEW-02-19). Our guide to tax objections in Tanzania explains the steps.

Appeals to the Tax Revenue Appeals Board and the Tribunal, and any formal legal opinion a bank or auditor will rely on, belong with an advocate. Zatra prepares the computation, the schedules and the evidence file, and works alongside the advocate on the record. Zatra does not decide or guarantee any authority's outcome.

What to do now

  1. List every foreign-currency balance: loans, receivables, payables and bank accounts, with currency, counterparty and whether it bears interest.
  2. Record the original rate: note the BoT rate on the date each balance was first taken into account, with a dated rate download.
  3. Split realised from unrealised: build a year-end schedule that removes revaluations and brings in settled differences.
  4. Apply the 70% cap: identify interest-free obligations and limit realised losses on them under section 12(6).
  5. Decide on permissions: if you use an average rate or dollar books for tax, apply in writing under section 28(3) or (4) and keep the notice.
  6. Check currency of contracts: confirm that domestic invoices are in shillings under GN No. 198 of 2025.
  7. Align transfer pricing: document who bears currency risk on intra-group loans and invoices, and test the terms.
  8. Update the provisional estimate: include the expected exchange add-backs when revising quarterly instalments.

Key dates

Date or periodWhat happensBasis
Each transaction dateConvert the dollar amount at the BoT rateCap. 332 s.28(2)
Each settlement dateRecognise the realised gain or lossCap. 332 s.23(5), s.39(g), s.40
20th of the following monthVAT return and paymentRegister F0245
Quarterly through the yearProvisional tax instalmentsCap. 332 s.113
Six months after year-endReturn of income, with transfer pricing documentation above TZS 10 billionCap. 332 s.117; TP Regulations 2018
30 days from an assessmentObjection deadline and depositRegister NEW-02-19
1 January 2024Electronic records on a local primary serverCap. 438 s.43(7), (10)
28 March 2025GN No. 198 of 2025 in forceBoT notice, 2 May 2025

The timetable for the return and instalments is in our guides to the corporate income tax return and provisional tax.

How Zatra helps

Zatra builds the foreign-exchange schedule behind the return, from original rates to the reconciliation with audited profit. Our tax compliance service files the returns, and our accounting and bookkeeping service keeps a shilling ledger beside dollar books. Our tax advisory service reviews shareholder loan terms and section 28 applications.

Where TRA has already raised an assessment, our tax audit and dispute service prepares the objection file with an advocate. Government charges, tax, interest and penalties are paid to TRA or ZRA at the official rate against a control number. Zatra's professional fee is quoted separately on our pricing page and is never mixed with those charges.

Sources and status

Accurate as at 19 November 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

Is a gain on a dollar bank balance taxable before I convert it?

On the usual reading, no. A revaluation of cash held in dollars is unrealised. The gain is recognised when the dollars are converted or spent, measured against the rate at which they were first taken into account. Keep bank statements and rate evidence for each conversion.

Can I deduct an exchange loss on a supplier invoice that I have not paid yet?

Not until you pay it. The purchase was deducted at the rate on the invoice date. The difference between that rate and the rate on the payment date is adjusted when the payment is made, under section 23(5).

Does the 70% cap apply to a loan from a local bank?

Only if the loan is interest-free, which is rare for bank lending. Section 12(6) targets interest-free debt obligations. An interest-bearing bank loan follows the ordinary realisation rules and the interest limits in section 12.

Can I pay my TRA tax in US dollars?

Tax payable is quantified in shillings under section 28(1), and the control number states the amount due. Our guide to paying TRA tax online covers bill currency and channels. Do not assume a dollar transfer settles a shilling bill at your bank's rate.

What happens if the shareholder loan is forgiven?

A forgiven liability is realised under section 40, so any accumulated exchange difference crystallises then. The forgiveness itself may have further income tax consequences. Take advice before the board approves the waiver.

Does a Zanzibar company file its exchange adjustments with ZRA?

No. Income tax is a Union tax administered by TRA, so exchange gains and losses go into the return filed with TRA. ZRA handles Zanzibar VAT, where exchange differences on collection do not change the VAT already charged.

Is a section 28(4) permission the same as a functional currency election?

No. Functional currency is an accounting determination under IAS 21 that the company and its auditors make. Section 28(4) is a tax permission issued by the Commissioner General by written notice, for a set period and on stated conditions.

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 and Regulatory Compliance in Tanzania 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 Talk to Zatra

+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