structural:expansion, information:highlighting, quality:correction, information:extraction
North Korea, officially the Democratic People's Republic of Korea (DPRK), is a country in East Asia. It constitutes the northern half of the Korean Peninsula and borders China and Russia to the north at the Yalu (Amnok) and Tumen rivers, and South Korea to the south at the Korean Demilitarized Zone. The country's western border is formed by the Yellow Sea, while its eastern border is defined by the Sea of Japan. North Korea, like its southern counterpart, claims to be the sole legitimate government of the entire peninsula and adjacent islands. Pyongyang is the capital and largest city.

The Korean Peninsula was first inhabited as early as the Lower Paleolithic period. Its first kingdom was noted in Chinese records in the early 7th century BCE. Following the unification of the Three Kingdoms of Korea into Silla and Balhae in the late 7th century, Korea was ruled by the Goryeo dynasty (918–1392) and the Joseon dynasty (1392–1897). The succeeding Korean Empire (1897–1910) was annexed in 1910 into the Empire of Japan. In 1945, after the Japanese surrender at the end of World War II, Korea was divided into two zones along the 38th parallel, with the north occupied by the Soviet Union and the south occupied by the United States. In 1948, separate governments were formed in Korea: the socialist and Soviet-aligned Democratic People's Republic of Korea in the north, and the capitalist, Western-aligned Republic of Korea in the south. The Korean War began when North Korean forces invaded South Korea in 1950. In 1953, the Korean Armistice Agreement brought about a ceasefire and established a demilitarized zone (DMZ), but no formal peace treaty has ever been signed. Post-war North Korea benefited greatly from economic aid and expertise provided by other Eastern Bloc countries. However, Kim Il Sung, North Korea's first leader, promoted his personal philosophy of Juche as the state ideology. Pyongyang's international isolation sharply accelerated from the 1980s onwards as the Cold War came to an end. The fall of the Soviet Union in 1991 then brought about a sharp decline to the North Korean economy. From 1994 to 1998, North Korea suffered a famine with the population continuing to suffer from malnutrition. In 2024, the DPRK formally abandoned efforts to peacefully reunify Korea.

North Korea is a totalitarian dictatorship with a comprehensive cult of personality around the Kim family. Amnesty International considers the country to have the worst human rights record in the world. Officially, North Korea is an "independent socialist state " which holds democratic elections; however, outside observers have described the elections as unfair, uncompetitive, and pre-determined, in a manner similar to elections in the Soviet Union. The Workers' Party of Korea is the ruling party of North Korea. According to Article 3 of the constitution, Kimilsungism–Kimjongilism is the official ideology of North Korea. The means of production are owned by the state through state-run enterprises and collectivized farms. Most services — such as healthcare, education, housing, and food production — are subsidized or state-funded.

North Korea follows Songun, a " military first " policy which prioritizes the Korean People's Army in state affairs and the allocation of resources. It possesses nuclear weapons. Its active-duty army of 1.28 million soldiers is the fourth-largest in the world. In addition to being a member of the United Nations since 1991, North Korea is also a member of the Non-Aligned Movement, G77, and the ASEAN Regional Forum.