Evidence suggests that sovereign defaults disrupt international trade. As a consequence, countries that are more open have more to lose from a sovereign default and are less inclined to renege on their debt. In turn, lenders should trust more open countries and charge them with lower interest rate. In most cases, the country should also borrow more debt as it gets more open. This paper formalizes this idea in a sovereign debt model à la Eaton and Gersovitz (1981), proves these theoretical relations, and quantifies them in a calibrating model. We also provide evidence suggesting a causal relationship between trade and debt or CDS spreads, using gravitational instrumental variables from Frankel and Romer (1999) and Feyrer (2019) as a source for exogenous variation in trade openness.