In the current multilateral trade regime, members often negotiate under the shadow of WTO law. This article develops a formal explanation of the way in which the credible threat to resort to and the actual use of WTO litigation can influence multilateral trade negotiations. We contend that the ability to impose costs on a defendant by way of litigation increases the complainant's bargaining power, opening a bargaining window and ultimately increasing the chances for cooperation in multilateral trade negotiations. On the other hand, the complainant's preference for loss-mitigation over gains from retaliation and its expectations about the likelihood that the defendant will not comply with an adverse ruling can augment the defendant's bargaining leverage. Thus, contrary to conventional wisdom, increased enforcement does not necessarily make actors shy away from further cooperation, although the credibility of the defendant's non-compliant threats crucially affects the location of any potential negotiated agreement. Empirically, we show that the argument can account for how Brazil, a potential complainant, and the EU and the US, two potential defendants, approached and bargained agricultural negotiations in the Doha Round.