Japan is an island country in East Asia. Located in the Pacific Ocean off the northeast coast of the Asian mainland, it is bordered to the west by the Sea of Japan, the Sea of Okhotsk in the north, and the East China Sea in the south. The Japanese archipelago consists of four major islands alongside over 14,000 smaller islands. Japan is divided into 47 administrative prefectures and eight traditional regions, and around 75% of its terrain is mountainous and heavily forested, concentrating its agriculture and highly urbanized population along its eastern coastal plains. With a population of almost 123 million as of 2026, it is the world's 11th most populous country. Tokyo is the country's capital and largest city.

The first known habitation of the archipelago dates to the Upper Paleolithic, with the beginning of the Japanese Paleolithic dating to . Between the 4th and 6th centuries, its kingdoms were united under an emperor in Nara and later in Heian-kyō. From the 12th century, actual power was held by military aristocrats known as and feudal lords called , enforced by warrior nobility named samurai. After rule by the Kamakura and Ashikaga shogunates and a century of warring states, Japan was unified in 1600 by the Tokugawa shogunate, which implemented an isolationist foreign policy. In 1853, an American fleet forced Japan to open trade to the West, which led to the end of the shogunate and the restoration of imperial power in 1868.

The Meiji period saw Japan pursue rapid industrialization, modernization, militarism, and overseas colonization. Declaring itself an imperial power in 1889 with the promulgation of the Meiji Constitution, it annexed Taiwan in 1895, followed by Korea in 1910. In 1937, Japan invaded China and attacked the U.S. and European colonial powers in 1941, thus entering World War II as an Axis power. After being defeated in the Pacific War and suffering the U.S. atomic bombings of Hiroshima and Nagasaki, Japan surrendered in 1945 and came under Allied occupation until 1952. It underwent rapid economic growth in the following decades and became one of the first major non-NATO allies of the U.S. Since the collapse of the Japanese asset price bubble in the early 1990s, it has experienced a prolonged period of economic stagnation referred to as the Lost Decades.

Japan is a constitutional monarchy with a bicameral legislature known as the National Diet. Widely considered a great power and the only Asian member of the G7, it maintains one of the world's strongest militaries but has constitutionally renounced its right to declare war. A developed country with one of the world's largest economies by nominal GDP, it is a global leader in the automotive, electronics, and robotics industries, in addition to making significant contributions to science and technology. It has one of the world's highest life expectancies, but is undergoing a population decline. The culture of Japan is well known around the world, particularly its popular culture as expressed in animation, art, comics, cuisine, fashion, films, music, television, theater, and video games.

Etymology

The name for Japan in Japanese is written using the kanji and is pronounced or . Before was adopted in the early 8th century, the country was known in China as (, changed in Japan around 757 to ) and in Japan by the endonym . , the original Sino-Japanese reading of the characters, is favored for official uses, including on Japanese banknotes and postage stamps. is typically used in everyday speech and reflects shifts in Japanese phonology during the Edo period. The characters mean , which is the source of the popular Western epithet "Land of the Rising Sun".

The name "Japan" is based on Min or Wu Chinese pronunciations of and was introduced to European languages through early trade. In the 13th century, Marco Polo recorded the Early Mandarin Chinese pronunciation of the characters as . The old Malay name for Japan, or , was borrowed from a southern coastal Chinese dialect and encountered by Portuguese traders in Southeast Asia, who brought the word to Europe in the early 16th century. The first version of the name in English appears in a book published in 1577, which spelled the name as Giapan in a translation of a 1565 Portuguese letter.

History

Prehistoric to classical history

Modern humans arrived in Japan around 38,000 years ago (~36,000 BC), marking the beginning of the Japanese Paleolithic. Around 14,500 BC (the start of the Jōmon period), a Mesolithic to Neolithic semi-sedentary hunter-gatherer culture characterized by pit dwelling and rudimentary agriculture emerged. Clay vessels from the period are among the oldest surviving examples of pottery. The Japonic-speaking Yayoi people later entered the archipelago from the Korean Peninsula, intermingling with the Jōmon people. The Yayoi period saw the introduction of innovative practices including wet-rice farming, a new style of pottery, and metallurgy from China and Korea. According to legend, Emperor Jimmu (descendant of Amaterasu) founded a kingdom in central Japan in 660 BC, beginning a continuous imperial line.

Japan first appears in written history in the Chinese Book of Han, completed in 111 AD, where it is described as having a hundred small kingdoms. A century later, the Book of Wei records that the kingdom of Yamatai (which may refer to Yamato) unified many of these kingdoms. Buddhism was introduced to Japan from Baekje (a Korean kingdom) in 552, but the development of Japanese Buddhism was primarily influenced by China. Despite early resistance, Buddhism was promoted by the ruling class, including figures like Prince Shōtoku, and gained widespread acceptance beginning in the Asuka period (592–710).

In 645, the government led by Prince Naka no Ōe and Fujiwara no Kamatari devised and implemented the far-reaching Taika Reforms. The Reform began with land reform, based on Confucian ideas and philosophies from China. It nationalized all land in Japan, to be distributed equally among cultivators, and ordered the compilation of a household registry as the basis for a new system of taxation. The true aim of the reforms was to bring about greater centralization and to enhance the power of the imperial court, which was also based on the governmental structure of China. Envoys and students were dispatched to China to learn about Chinese writing, politics, art, and religion.

The Jinshin War of 672, a bloody conflict between Prince Ōama and his nephew Prince Ōtomo, became a major catalyst for further administrative reforms. These reforms culminated with the promulgation of the Taihō Code, which consolidated existing statutes and established the structure of the central and subordinate local governments. These legal reforms created the state, a system of Chinese-style centralized government that remained in place for half a millennium.

The Nara period (710–784) marked the emergence of a Japanese state centered on the Imperial Court in Heijō-kyō (modern Nara). The period is characterized by the appearance of a nascent literary culture with the completion of the (712) and (720), as well as the development of Buddhist-inspired artwork and architecture. A smallpox epidemic in 735–737 is believed to have killed as much as one-third of Japan's population. In 784, Emperor Kanmu moved the capital, settling on Heian-kyō (modern-day Kyoto) in 794. This marked the beginning of the Heian period (794–1185), during which a distinctly indigenous Japanese culture emerged. Murasaki Shikibu's The Tale of Genji and the lyrics of Japan's national anthem "" were written during this time.

Feudal era

Japan's feudal era was characterized by the emergence and dominance of a ruling class of warriors, the samurai. In 1185, following the defeat of the Taira clan by the Minamoto clan in the Genpei War, samurai Minamoto no Yoritomo established a military government at Kamakura. After Yoritomo's death, the Hōjō clan came to power as regents for the . The Zen school of Buddhism was introduced from China in the Kamakura period (1185–1333) and became popular among the samurai class.

The Kamakura shogunate repelled Mongol invasions in 1274 and 1281 but was eventually overthrown by Emperor Go-Daigo. Go-Daigo was defeated by Ashikaga Takauji in 1336, beginning the Muromachi period (1336–1573). The succeeding Ashikaga shogunate failed to control the feudal warlords () and a civil war began in 1467, opening the century-long Sengoku period ().

During the 16th century, Portuguese traders and Jesuit missionaries reached Japan, initiating direct commercial and cultural exchange between Japan and the West . Oda Nobunaga used European technology and firearms to conquer many other ; his consolidation of power began the Azuchi–Momoyama period. After the death of Nobunaga in 1582, his successor, Toyotomi Hideyoshi, unified the nation in the early 1590s and launched two unsuccessful invasions of Korea in 1592 and 1597.

Tokugawa Ieyasu served as regent for Hideyoshi's son Toyotomi Hideyori within the Council of Five Elders and used his position to gain political and military support. When open war broke out, Ieyasu defeated rival clans in the Battle of Sekigahara in 1600. He was appointed by Emperor Go-Yōzei in 1603 and established the Tokugawa shogunate at Edo (modern Tokyo). The shogunate enacted measures including , as a code of conduct to control the autonomous , and in 1639 the isolationist () policy that spanned the two and a half centuries of tenuous political unity known as the Edo period (1603–1868). Modern Japan's economic growth began in this period, resulting in roads () and water transportation routes, as well as financial instruments such as futures contracts, banking and insurance of the Osaka rice brokers. The study of Western sciences () continued through contact with the Dutch enclave in Nagasaki. The Edo period gave rise to (), the study of Japan by the Japanese.

Modern era

The United States Navy sent Commodore Matthew C. Perry to force the opening of Japan to the outside world. Arriving at Uraga with four "Black Ships" in July 1853, the Perry Expedition resulted in the March 1854 Convention of Kanagawa. Subsequent similar treaties with other Western countries brought economic and political crises. The resignation of the led to the Boshin War and the establishment of a centralized state nominally unified under the emperor (the Meiji Restoration). Adopting Western political, judicial, and military institutions, the Cabinet organized the Privy Council, introduced the Meiji Constitution (November 29, 1890), and assembled the Imperial Diet.

During the Meiji period (1868–1912), the Empire of Japan emerged as the most developed state in Asia and as an industrialized world power that pursued military conflict to expand its sphere of influence. After victories in the First Sino-Japanese War (1894–1895) and the Russo-Japanese War (1904–1905), Japan gained control of Taiwan, Korea and the southern half of Sakhalin, and annexed Korea in 1910. The Japanese population doubled from 35 million in 1873 to 70 million by 1935, with a significant shift to urbanization.

The early 20th century saw a period of Taishō democracy (1912–1926) overshadowed by increasing expansionism and militarization. World War I allowed Japan, which joined the side of the victorious Allies, to capture German possessions in the Pacific and China in 1920. The 1920s saw a political shift towards statism, a period of lawlessness following the 1923 Great Tokyo Earthquake, the passing of laws against political dissent, and a series of attempted coups.