We lay down a standard macroeconomic model of a small open economy with a fixed exchange rate and study optimal capital controls (defined as maximizing the utility of a representative household). We provide sharp analytical and numerical characterizations for a variety of shocks. We find that...