The Edinburgh Agreement or Edinburgh Decision is a December 1992 agreement reached at a European Council meeting in Edinburgh, Scotland, that granted Denmark four exceptions to the Maastricht Treaty so that it could be ratified by Denmark. This was necessary because, without all member states of the European Union ratifying it, it could not come into effect. Denmark had first rejected the Maastricht treaty, but with the addition of the Edinburgh Agreement, ratified the treaty in a 1993 referendum. The member states that had already ratified the Maastricht Treaty did not have to do so again.
Denmark obtained four opt-outs from the Maastricht Treaty following the treaty's initial rejection in a 1992 referendum. The opt-outs are outlined in the Edinburgh Agreement and concern the Economic and Monetary Union (EMU), the Common Security and Defence Policy (CSDP), Justice and Home Affairs (JHA) and the citizenship of the European Union. With these opt-outs the Danish people accepted the treaty in a second referendum held in 1993. On 1 June 2022, Denmark abolished its opt-out from the CSDP.