In one of its working papers, the International Monetary Fund (IMF) warns that if global liquidity tightens, the dollar strengthens, or frontier market risk appetite shifts, capital could exit as quickly as it arrived. That warning is written about places like Uganda. Through most of 2025, foreign investors were piling into its government bonds.
By September, they held around $2.2b (Shs8.1 trillion) worth, about 12 percent of all government debt. By December, that had grown to $2.8b (Shs10.3 trillion). Foreign reserves had doubled to $6b (Shs22.2 trillion). The shilling was strengthening. For a country that global financial markets had largely ignored for decades, it felt like a turning point. There was real substance behind the confidence. Uganda had risen to third place in the 2025 Absa Africa Financial Markets Index, behind only South Africa and Mauritius, with marks on legal enforceability and macroeconomic fundamentals among the strongest on the continent.
The government had issued its first-ever 25-year bond, a sign that investors were willing to bet on the country over the long haul. Then in early 2026, the United States and Israel struck Iran. Within days, the same investors began selling their Ugandan bonds, converting shillings back into dollars and leaving. The 25-year bond gave back all its gains in roughly a week. Nothing had gone wrong in Uganda. Inflation was at three percent, growth was solid at 6.5 percent, and the central bank had been careful and credible. None of it mattered. The investors leaving were not responding to Uganda. They were responding to the world. Uganda simply happened to be where some of their money was.
To understand why this keeps happening, you have to go back to 2008, when the global financial system nearly collapsed and regulators set about rebuilding it. Before the crisis, money moved across borders mainly through banks. Banks had one useful quality that is easy to overlook in hindsight: relationships. Banks held debt patiently, often until it matured. There was inertia, and that inertia was a form of stability. After 2008, regulators made banks hold more capital and take fewer risks.
The effect was that capital had to find somewhere else to go—into mutual funds, hedge funds, exchange-traded funds, and nonbank financial intermediaries. The IMF calculates that these nonbank investors now account for roughly 80 percent of all portfolio debt investment in emerging markets, double their share two decades ago. In Uganda, banks, pension funds, and the central bank together held nearly two-thirds of the bond market in September 2025—patient, largely immovable hands. Offshore investors held 17 percent. By December, that had shifted. The patient holders were retreating. The flighty ones were growing.
A mutual fund promises its investors that they can have their money back on any given day. But the assets the fund holds, including government bonds in frontier markets, can take days or weeks to sell without crashing the price. This gap is called a liquidity mismatch. When something frightening happens, investors ask for their money back. The fund must sell, and the selling becomes simultaneous and self-reinforcing. Exchange-traded funds make it worse, selling everything in their index at once. Hedge funds accelerate the decline further by selling into a falling market when their lenders demand repayment.
The IMF has measured that a one-percentage-point increase in the share of these investors in a country’s bond market is associated with a 28 percent decline in the government’s ability to borrow during a crisis. In the quarter following a major global shock, countries heavily reliant on such investors see GDP growth fall by an additional six percentage points. An investment analyst from the NSSF said when geopolitics strikes and inflation expectations rise, offshore investors reprice everything at once.
“It comes in quick and it goes out quick,” the analyst said of offshore capital.
“That is why it is seen as money that is not reliable.” Uganda, however, carries an unusual advantage: its domestic institutional investors have nowhere else to go. Equity listings are thin, corporate bond issuance is sparse, and the range of investable instruments remains narrow.
So when a bank, insurer, or pension fund builds a portfolio, government bonds are almost the only option. Uganda’s National Treasury has long been cash-hungry, and that hunger has kept yields high, reaching 14 percent in nominal terms as recently as early 2026. For a domestic institution managing liabilities in shillings, those yields are nearly irresistible. The result is a captive domestic base that is structurally committed to the market in a way that no offshore mutual fund ever is.
The same conditions that make a country vulnerable to flighty capital are also the conditions that make it unable to attract stable capital instead. Patient capital requires things that take decades to build: strong institutions, transparent legal systems, credible governments. The IMF notes that nonbank investors pull back less during stress from countries with stronger institutions and ample reserves. Uganda’s pension assets amount to roughly 12 percent of GDP, against Namibia’s 100 percent and South Africa’s 57 to 63 percent. These differences describe a different financial ecosystem entirely. Bank of Uganda Governor Michael Atingi-Ego called it “the sophistication paradox at the heart of our current position.”
Uganda had, he said, “constructed sophisticated legal and regulatory infrastructure”, placing it among only five African countries with clean legal opinions recognised by international trade bodies. And yet the domestic market remained thin. Private sector credit stands at just 12.5 percent of GDP.
“Our primary constraint,” Atingi-Ego said, “is no longer regulatory sophistication but capital mobilisation and market depth. Without long-term institutional investors, even the most sophisticated infrastructure remains underutilised.”
So Uganda, with a credible central bank and solid growth, ends up attracting the most volatile segment of global capital. Not because it is badly managed, but because the deep pension systems and diverse investor base that patient capital requires have not yet developed. The hot money arrives first.
The patient money arrives later, or not at all. This is not a Uganda problem. It is an African problem. Only 9.6 percent of Africa’s working population contributes to a pension scheme, against 26 percent in Asia. The continent’s pension funds, insurance companies and sovereign funds hold roughly $165b (Shs610.7 trillion) in combined assets. But much of it sits in government securities, meaning even the patient domestic money that does exist is already committed. Africa’s capital markets are not shallow because African countries are badly governed. They are shallow because the institutions that fill deep capital markets take decades to build. The post-crisis reforms made the banking system safer, shifted risk toward funds with no government backstop, and left countries still building institutions to absorb the most volatile capital.
Uganda is not standing still. The Public Service Pension Act 2025 will, in Atingi-Ego’s words, “reduce fiscal liabilities, create massive pools of patient domestic capital, and institutionalise a new class of long-term investors.” The Bank of Uganda has signed the Global Master Repurchase Agreement with all commercial banks, meaning borrowing against government securities now follows a single, internationally recognised legal framework. The 25-year bond, though bruised by geopolitics, remains a structural achievement.
The investment analyst points to retail participation as the most under-appreciated part of Uganda’s market story. A decade ago, it barely existed. Today, the bond market has grown from roughly $100m (Shs370.1b) during the pandemic to over a billion dollars. Offshore capital, in his view, is not the problem, but a signal that Uganda’s fundamentals are attracting global attention.
The goal is to build enough domestic depth that when it leaves, the market does not leave with it. Africa’s demographic trajectory adds a longer-term dimension: more than half the continent’s population is of working age, expected to reach 1.6 billion people by 2050. As more of that workforce enters formal employment and pension systems, the patient domestic capital Uganda currently lacks will accumulate. Uganda did not design this system. It is one that concentrates the benefits of global capital in the countries that need it least, and concentrates the risks in the countries least equipped to absorb them. The infrastructure is there. The capital that should follow it is not.