We analyze how trade openness matters for interstate conflict over productive resources. Our analysis features a terms-of-trade channel that makes security policies trade-regime dependent. Specifically, trade between two adversaries reduces each one's incentive to arm given the opponent's arming. If these countries have a sufficiently similar mix of initial resource endowments, greater trade openness brings with it a reduction in resources diverted to conflict and thus wasted, as well as the familiar gains from trade. Although a move to trade can otherwise induce greater arming by one country and thus need not be welfare improving for both, aggregate arming falls. By contrast, when the two adversaries do not trade with each other but instead trade with a third (friendly) country, a move from autarky to trade intensifies conflict between the two adversaries, inducing greater arming. With data from the years surrounding the end of the Cold War, we exploit the contrasting implications of trade costs between enemies versus trade costs between friends to provide some suggestive evidence in support of the theory.