The prospects of expansionary monetary policies in the advanced countries for the foreseeable future have renewed the debate over policy options to cope with large capital inflows that are, at least partly, driven by low interest rates in the financial centers. Historically, capital flow bonanzas have often fueled sharp credit expansions in advanced and emerging market economies alike. Focusing primarily on emerging markets, we analyze the impact of exchange rate flexibility on credit markets during periods of large capital inflows. We show that bank credit grows more rapidly and its composition tilts to foreign currency in economies with less flexible exchange rate regimes, and that these results are not explained entirely by the fact that the latter attract more capital inflows than economies with more flexible regimes. Our findings thus suggest countries with less flexible exchange rate regimes may stand to benefit the most from regulatory policies that reduce banks' incentives to tap external markets and to lend/borrow in foreign currency; these policies include marginal reserve requirements on foreign lending, currency-dependent liquidity requirements, and higher capital requirement and/or dynamic provisioning on foreign exchange loans.