UNLABELLED: Commodity booms generally induce real exchange rate appreciation in commodity-rich economies and make other tradable sectors less competitive. This Dutch disease phenomenon has been blamed for leading to structures of production with low diversification and undermining sustainable growth. In this paper, we explore whether capital controls can mitigate the transmission of commodity price changes to the real exchange rate and shield manufactured exports. Examining a panel of 37 commodity-abundant countries over the period 1980-2020, we find that a steeper commodity currency appreciation indeed has a more detrimental impact on manufactured exports. Restrictions on capital flows tend to reduce real appreciation pressures and the severity of the Dutch disease. Countercyclical capital controls seem to help foster economic diversification in commodity-dependent developing countries. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1007/s00181-023-02423-9.