Denmark occupies a modest but strategically significant position at the junction of Northern Europe, where the Scandinavian peninsula meets the European mainland. It is both a nation in the conventional sense and the metropolitan core of a broader constitutional entity called the Kingdom of Denmark, which also encompasses the autonomous territories of the Faroe Islands in the North Atlantic and Greenland, the world's largest island, situated between the Arctic and Atlantic oceans. Denmark proper consists of the Jutland peninsula, which it shares geographically with Germany to the south, and an archipelago of 406 islands, of which 78 are inhabited. Sweden lies to its northeast and Norway to its north, making Denmark the southernmost of the Scandinavian countries. To its west lies the North Sea; to its east, the Baltic Sea. The total population of Denmark surpassed 6 million as of May 2025, with roughly 40 percent living on Zealand, the country's largest island, where Copenhagen, the capital and largest city of the entire Danish Realm, is situated along with the smaller islands of Amager and Slotsholmen.
The physical character of Denmark is defined by low elevation, flat and fertile arable land, and sandy coastlines shaped by millennia of North Sea and Baltic weather. The country has no mountains. Its temperate climate, moderated by its maritime position, produces mild winters and cool summers. The broader Danish Realm, including the Faroe Islands and Greenland, contains roughly 1,400 islands with an area greater than 100 square meters; 443 of these have been formally named.
Denmark's documented history as a unified political entity stretches back to the eighth century, when a unified Kingdom of Denmark began to emerge as a maritime power contending for control of the Baltic Sea. The Viking Age brought Danish expansion across the North Sea into Britain, northern France, and beyond. By the medieval period, Denmark had become one of the most powerful kingdoms in Northern Europe. In 1397, it formed the Kalmar Union with Norway and Sweden under Danish leadership, an arrangement that brought the three Scandinavian kingdoms under a single crown. This union endured until Sweden's secession in 1523, after which the Kingdom of Denmark-Norway continued as a significant European power through the following centuries, though it sustained costly territorial losses to Sweden in a series of seventeenth-century wars.
The nineteenth century brought nationalist ferment and constitutional transformation. A surge in Danish national consciousness culminated in the First Schleswig War of 1848, in which the Danes successfully resisted a German-speaking challenge to their control over the southern duchies. More consequential was the Second Schleswig War in 1864, in which Denmark lost Schleswig-Holstein to Prussia and Austria, a traumatic reduction of territory that profoundly shaped Danish political culture thereafter, directing national energies inward toward social cohesion, agricultural improvement, and what might be called a productive acceptance of diminished circumstances. The Danish Constitution was adopted on June 5, 1849, ending the absolute monarchy and establishing a constitutional framework that has been revised but never fundamentally abandoned. North Schleswig was returned to Denmark in 1920 following a referendum held as part of the Versailles peace settlement after World War One.
The economic transformation of Denmark from an agricultural society to an industrialized modern state began in the mid-nineteenth century and accelerated through the early twentieth. The country developed a distinctive approach to the relationship between market economics and social provision, introducing progressive social and labor market reforms in the early twentieth century that laid the foundation for the comprehensive welfare state model for which Denmark became internationally known. Today Denmark possesses an advanced high-income economy, a high standard of living, and social welfare policies that are among the most extensive in the world. Danish society is broadly described as egalitarian, socially liberal, and progressive in its cultural norms. Denmark was the first country in the world to legally recognize same-sex partnerships, doing so in 1989.
Denmark remained neutral during World War One, but its neutrality was violently overridden in World War Two when Germany invaded in April 1940. The occupation lasted until the liberation of May 1945. A Danish resistance movement emerged in 1943, operating clandestinely against the occupiers. During the occupation, in 1944, Iceland declared independence, dissolving the final element of what had remained of the old union between Denmark and its North Atlantic dependency. The Faroe Islands had been occupied by Britain during the war to prevent German use of the strategic archipelago; home rule was established there in 1948 under the postwar Danish constitutional settlement. Greenland achieved home rule in 1979 and gained further autonomy in 2009, though it remains part of the Danish Realm.
In 1973, Denmark joined what was then the European Community, bringing Greenland along with it, though the Faroe Islands did not join and have remained outside the organization. Greenland later withdrew from the Community in 1985. Denmark negotiated specific opt-outs from some of the deepest elements of European integration, most notably retaining its own currency, the krone, rather than adopting the euro, though the krone is pegged to the euro through the ERM II mechanism. Denmark is a founding member of NATO, having been among the signatories of the North Atlantic Treaty in 1949, and is also a founding member of the Nordic Council, the OECD, the OSCE, the Council of Europe, and the United Nations. The country participates in the Schengen Area, which abolished passport controls at most European internal borders. Despite its modest size, Denmark's combination of institutional memberships, democratic stability, high living standards, and cultural soft power gives it an influence in international affairs well beyond what its population of 6 million might suggest.