IT WAS wonderful while it lasted. For much of this century Latin America saw robust economic growth, a big fall in poverty and a swelling of the middle classes. Now the good times are over.

Emerging markets everywhere are subsiding like a cooling soufflé. But Latin America has gone stone cold. The IMF expects growth of just 0.9% in 2015, which would be the fifth successive year of deceleration. Many economists are talking of a new normal of growth of only 2% or so a year—less than half the region’s pace during the boom.

What has gone wrong? The short answer is that the great commodity supercycle triggered by the industrialisation of China is over. Rising exports of minerals, soya beans and fuels lifted many South American economies. Without that fillip the region has converged downwards to the 2.4% long-term growth rate of Mexico, which is not a big commodity exporter.

Worse, the commodity bonanza prompted distortions that may limit new sources of growth. Many Latin currencies became overvalued, wounding the competitiveness of non-commodity firms. Consumption soared; investment sagged. While Asia built factories, Latin America erected shopping centres.

The net result is not wholly negative. Past Latin American commodity booms ineluctably ended in financial busts. This time only countries, such as Venezuela, that have repeated old mistakes—fiscal populism, protectionism and government meddling—face a crisis. Most of the region has become more resilient after years of responsible macroeconomic policies, with stronger banks and lower public debt.

For a boom-bust continent, resilience is not to be sniffed at. But it will not ensure faster growth that endures. To get rich, Latin America must boost its abysmally low rate of productivity growth and diversify its economies. That, in turn, means moving beyond the tired ideological debate between market and state that still bedevils the region’s politics. Latin America needs both better-functioning markets, with more competition, and much smarter government.

Start with productivity. In 1960 the efficiency with which Latin America combined capital and labour was three-quarters that of the United States. Now it is just over half. The obvious causes of this gap are the lack of transport, the paucity of innovation and of skills; and a swollen informal sector.

Dealing with this requires more than just education and infrastructure. The lack of appropriate housing and urban-planning policies, for instance, means that many workers must spend hours a day commuting. Many don’t bother, preferring to set up subsistence businesses in their own back yards. Similarly, improving child care or tackling violent crime would boost growth (by letting women seek more productive work and reducing the extortion that deters businesses from expanding).

A golden opportunity
 
The second priority is to take regional integration seriously. Economies become more diversified and sophisticated when their businesses join regional supply chains. That process has powered East Asia’s growth, and that of northern Mexico (though not its south) thanks to its ties to the United States. In South America too many leaders talk about unity while practising protectionism. A good start would be to turn Mercosur, based on Brazil and Argentina, from a largely fictional customs union into a proper rules-based free-trade area.

None of these reforms will pay off quickly. None will be easy to get through, especially since many of the region’s presidents are unpopular and their governments tarnished by corruption. But without the easy pickings of the boom, the hard work of structural reforms is the only way to boost growth and welfare. The sooner its leaders realise that, the better the region’s prospects.