Foreign investment in port terminal operations and in some miscellaneous port services is allowed subject to partnership with Tanzanian nationals holding at least 10% of the share capital in the port operating company or 25% in the port services company.
"PART II - APPLICATION FOR PORT TERMINAL OPERATOR’S LICENCE [...]
6. Any person or body corporate intending to carry out port terminal operations shall apply to the Corporation for a licence.
7. Subject to the provisions of regulation 6, the Corporation shall issue the following categories of licence- (a) petroleum product, edible oils, natural or liquefied gases licence; (b) general and containerized cargo licence; (c) general cargo licence; (d) containerized cargo licence; (e) fishing port licence; (f) passenger services licence; and (g) any other category of port operations licence as may be determined by the Corporation.
8. A body corporate shall be eligible for a licence where it-
(a) is incorporated under the Companies Act or established by any other legal instrument;
(b) has a minimum share capital of ten percent held by a citizen;[...]" ( TANZANIA SHIPPING AGENCIES (PORT TERMINAL OPERATORS) REGULATIONS, 2020)
------------
"Part III - Application, Grant and Conditions of Licence […]
5. Functions of miscellaneous port services shall be:
(a) in case of category A licence:
(i) watchmanship (ii) hatch sweeping and cleaning; (iii) cargo lining; (iv) cargo separation; [...]; (vii) container or cargo lashing on board ship; (viii) container or cargo unlashing on board ship[...]
(a) in case of category B licence:
(i) supply a labour gangs to port operator for stevedoring in order ot load and unload cargo on board ship, truck, trailer, wagon or other equipment used to deliver cargo in or out of a port terminal;
(ii) provision of gear, tools and facilities necessary for performance of stevedoring work in a port terminal;
(iii) cargo trimming inside a ship hatch during loading and unloading;[...]
(c) in case of category C licence:
(i) provision of pre-shipment cargo inspection;
(ii) conducting cargo or ship survey in order to establish the chemistry, technical composition, value, quality, quantity, measurement or other aspects necessary to determine apporpriateness of cargo or ship for requisite commercial need in consideration;
(iii) provision of supercargo service;
[...]
7.(1) A company shall be eligible for a licence under these Regulations if that company-
(a) is incorporated or registered in Mainland Tanzania;[...]
(2) Notwithstanding the provisions of sub-regulation (1), an applicant shall be eligible for -
(a) Category A or B licence if is a local company; or
(b) Category C licence if twenty five per cent or more of its share capital is owned by a Tanzanian citizen.
 ;[...]" (Miscellaneous Ports Sevices Regulations - 2018 GN NO. 343)
 TANZANIA SHIPPING AGENCIES (PORT TERMINAL OPERATORS) REGULATIONS, 2020
Miscellaneous Ports Sevices Regulations - 2018 GN NO. 343
[<a href="https://www.tasac.go.tz/uploads/publications/sw1590584749-(PORT%20TERMINAL%20OPERATORS)%20REGULATIONS,%202020%20(1)GN%20NO%208%2010%20JANUARY%202020%20THE%20TANZANIA%20SHIPPING%20AGENCIES.pdf">Reg</a>],[<a href="https://www.tasac.go.tz/uploads/publications/sw1537429376-MISCELLANEOUS%20PORT%20SERVICES%20REGULATIONS-2018_GN.NO%20343.pdf">Reg</a>]