Denmark–Slovenia relations refers to the current and historical relations between Denmark and Slovenia. Denmark have an embassy in Ljubliana. Slovenia have an embassy in Copenhagen. Both countries are members of the European Union and NATO. Diplomatic relations were established on 20 January 1992. There have been few ties between Denmark and Slovenia before the independence of Slovenia. In 2001, Queen Margrethe II visited Slovenia. In 2002, Danish prime minister Anders Fogh Rasmussen visited Slovenia, to support Slovenia in the European Union. There is a small Slovenian community in Denmark, With the accession of Slovenia in the European Union, more Slovenians moved to Denmark.