In this paper we document the stylized facts about the relationship between international oil price swings, sovereign risk and macroeconomic performance of oil-exporting economies. We show that even though being a bigger oil producer decreases sovereign risk–because it increases a country’s ability to repay–having more oil reserves increases sovereign risk by making autarky more attractive. We develop a small open economy model of sovereign risk with incomplete international financial markets, in which optimal oil extraction and sovereign default interact. We use the model to understand the mechanisms behind the empirical facts.