Tanzania’s shift from the village-based socialism of Ujamaa to a liberalised, open-market economy has been decades in the making, and the making has never been clean. Today, GDP growth is projected at 5.4 per cent for 2024, FDI inflows are approaching $3.5 billion, and Dar es Salaam speaks the language of global markets. What that language does not always carry, and what the growth figures cannot on their own communicate, is the question of who designs the rules of the market into which Tanzania is opening, and whether a country’s sovereign capacity to shape its own economic terms survives the integration on terms largely set by others.
From Ujamaa to Adjustment
The Ujamaa project, Julius Nyerere’s attempt to build a post-colonial Tanzanian economy organised around collective self-reliance, failed in its own terms. Agricultural collectivisation did not produce the food security it promised. Industrial development stalled without the capital or technical base to sustain it. By the 1980s, Tanzania was accepting structural adjustment conditions from the International Monetary Fund that dismantled the policy architecture Nyerere had spent two decades constructing. The irony was stark: a philosophy built on self-determination ended in a set of economic conditions imposed from Washington.
That irony is the hinge of the whole story, and it is worth holding still for a moment. Ujamaa failed at producing prosperity, but it failed while attempting to answer a real question: on whose terms does a poor country join the world economy? Its collapse did not retire the question; it handed the answer to others. The structural adjustment that followed did not merely change Tanzania’s policies; it relocated the authorship of those policies from Dar es Salaam to creditor capitals. Every liberalising government since has governed inside that relocation, which is why the experiment is better understood not as a choice between socialism and markets but as a long argument over who gets to write the rules of the market Tanzania trades in.
What followed was not simply liberalisation. It was a long and contested process of institutional redefinition, privatisation of state enterprises, removal of agricultural marketing boards, currency liberalisation, reduction of trade barriers, each measure contested internally between those who saw global market integration as the path to development and those who argued that integration without bargaining power was a different kind of dependency. That contest has not been resolved. It has simply moved to a new phase under President Samia Suluhu Hassan, Tanzania’s first female president, who inherited the policy direction of her predecessor John Magufuli but has moved it in notably different directions.
Magufuli and Samia
Magufuli’s tenure was defined by resource nationalism, renegotiating mining contracts, confronting foreign investors, asserting state control over extractive sector revenues, alongside authoritarian restrictions on political space and the press. Samia has recalibrated external engagement, reopening diplomatic relationships, attracting FDI with a warmer investment climate, and pursuing the kind of macroeconomic stability that international financial institutions reward with positive assessments. The growth projections reflect that recalibration. The question the growth projections do not answer is whether the governance terms of the new investment flows are sufficiently scrutinised to prevent the repeat of earlier extractive arrangements that left host communities and government revenues behind.
The two presidencies are usually narrated as opposites, the nationalist and the liberaliser, but they are better read as two answers to the same constraint. Magufuli tried to force better terms by confrontation and paid for it in investor flight. Samia restores the capital flows by lowering the temperature and risks paying in terms. The pendulum is not ideology. It is a small economy testing, from both directions, how much sovereignty the market will price in.
The Gas Test
Tanzania’s natural gas sector is the test case. The discovery of significant offshore reserves has created the conditions for the country to become an LNG exporter, with contracts involving Shell, Equinor, and other majors under negotiation for years. The infrastructure required- coastal LNG terminals, pipelines, processing facilities- represents capital investment at a scale that no Tanzanian government could self-finance. But the revenue-sharing terms, the local content requirements, the governance of national company participation, the timeline for benefit flows to public revenues, these are precisely the variables where Tanzania’s negotiating position is strongest before first gas is extracted and weakest after dependency on the infrastructure is established.
That asymmetry of timing is the whole game, and it is the same trap that has caught resource states across the continent. Before the terminal is built, Tanzania holds the asset and the investor holds only an interest; the leverage sits in Dar es Salaam. Once the capital is sunk and the export revenue is flowing, the positions invert, because a government that has built its budget around the gas cannot easily threaten the project that funds it. The window for setting sovereign terms is open now and closes the moment the concrete is poured. A seed is bargained over before it is planted, not after the harvest is already sold, and the terms agreed in the planting season govern the field for a generation.
Africa’s great market experiment, the post-Cold War opening to global capital on terms that prioritised macro stability and FDI attraction over industrial policy and productive sector development, has produced uneven results at the continental level. Countries that have grown fastest have not always been those that integrated most thoroughly. Countries that retained the capacity to deploy state-directed industrial policy, Ethiopia and Rwanda in specific sectors, have in some cases achieved structural transformation that pure market integration did not deliver. Tanzania’s turning point is not the question of whether to be open to the world. That question was settled decades ago. The current question is whether openness can be organised on terms that Tanzania sets, rather than terms Tanzania accepts because the alternative is the isolation that the global financial system makes prohibitively expensive.



