The 19th century marked a decisive turning point in Japanese history, as a deeply insular feudal society confronted the overwhelming force of Western expansionism. Out of that confrontation emerged a potent nationalist consciousness that not only overthrew a centuries-old shogunate but also launched a rapid program of modernization. The Meiji Restoration of 1868, far from a simple coup, was a nationalist revolution that redefined Japan's political structure, cultural identity, and global standing. Understanding how nationalism rose and functioned during this era is essential to grasping both Japan’s dramatic transformation and the contradictory legacies it bequeathed to the 20th century.

Seeds of Nationalism Before the Foreign Storm

While the arrival of Commodore Matthew Perry's fleet in 1853 is often treated as the starting point, Japanese nationalism did not spring from a vacuum. The Tokugawa shogunate had maintained peace and relative stability since 1603, but by the early 19th century, internal fissures were widening. Economic pressures, including recurrent famines and the impoverishment of the samurai class, generated widespread discontent. Many samurai, once warriors, became idle stipendiaries, and their frustration fueled a search for new political and moral purpose.

Intellectual currents, particularly the Kokugaku (National Learning) school, provided a cultural foundation for nascent nationalism. Scholars like Motoori Norinaga and Hirata Atsutane emphasized the uniqueness of Japan’s eternal imperial line and the spiritual essence of the Japanese people, often in opposition to Chinese Confucian influences. This scholarly movement glorified an idealized past centered on the emperor as a divine figure, laying a conceptual framework that later nationalists would weaponize. Meanwhile, Rangaku (Dutch Learning) kept a small window open to Western science and technology, allowing some Japanese intellectuals to recognize the military and economic gaps separating Japan from the industrializing West. Together, these currents meant that by the time the “black ships” appeared, a segment of Japanese society was already primed to think in terms of national survival and cultural defense.

The External Catalyst: Gunboat Diplomacy and Unequal Treaties

The arrival of Commodore Perry in Edo Bay in 1853 with a squadron of steam-powered warships shattered any illusion of Japan’s invulnerability. The shogunate, unable to mount an effective military response, reluctantly signed the Treaty of Kanagawa in 1854, opening the ports of Shimoda and Hakodate to American ships. This was followed by the Harris Treaty of 1858, which established formal diplomatic relations and fixed low tariff rates on imports, effectively placing Japan in a semi-colonial position similar to China after the Opium Wars.

These agreements, widely viewed as humiliating concessions, galvanized a wide cross-section of society. The slogan “Sonno Joi” (Revere the Emperor, Expel the Barbarians) became a rallying cry, blending respect for the ancient imperial institution with a fierce anti-foreign stance. The perceived weakness of the shogunate in bowing to foreign demands directly undermined its legitimacy. For many, restoring direct imperial rule appeared as the only path to regain national sovereignty and dignity. The historian Marius Jansen noted that the unequal treaties “provided the shock that made the Japanese nation aware of its predicament” and set the stage for revolutionary change.

The Architecture of Nationalist Ideology

Nationalist thought in the 19th century was not monolithic; it evolved from a xenophobic reaction into a sophisticated blueprint for state-building. Key figures and ideas shaped this transformation.

The Mito School and Imperial Loyalty

The Mito domain, under the influence of Tokugawa Mitsukuni and later scholars like Aizawa Seishisai, produced works that stressed Japan’s sacred geography and the emperor’s centrality. Aizawa’s Shinron (New Theses, 1825) warned of foreign threats and argued for a spiritual and military renewal anchored in imperial reverence. This text, though pro-shogunate in intent, inadvertently provided a vocabulary that anti-shogunate activists would later adopt to demand a unified national state under the emperor.

Visionary Educators and the Fusion of East and West

Thinkers like Yoshida Shoin and Sakuma Shozan pushed nationalism beyond simple expulsion. Shozan’s dictum “Eastern ethics, Western science” captured a pragmatic nationalism that sought to preserve Japan’s spiritual essence while mastering Western military and industrial techniques. Yoshida Shoin, a charismatic teacher at the Shoka Sonjuku academy, trained many future Meiji leaders. His vision combined fierce national pride with a willingness to learn from abroad, and he advocated for a meritocratic, centralized state that could mobilize the entire population. Shoin’s short life ended in execution for anti-shogunate plotting, but his students—including Ito Hirobumi and Yamagata Aritomo—became architects of modern Japan.

The Power of Slogans

The language of nationalism crystallized into memorable slogans that guided policy. “Fukoku Kyohei” (Rich Country, Strong Army) became the Meiji government’s primary goal, linking economic development directly to military capability. Another influential phrase, “Wakon Yosai” (Japanese Spirit, Western Technology), illustrated the selective adaptation that allowed rapid modernization without the wholesale abandonment of tradition. These slogans were not mere rhetoric; they were operational directives that shaped industrial policy, educational reform, and military conscription.

The Meiji Restoration: Nationalism in Action

By the mid-1860s, the Tokugawa shogunate’s authority had eroded beyond repair. Two powerful domains in western Japan, Satsuma and Choshu, had already been experimenting with military modernization and were increasingly hostile to the shogunate’s fumbling diplomacy. Despite a long history of mutual rivalry, these domains forged a secret alliance in 1866, united by the nationalist goal of restoring the emperor and securing Japan against Western domination.

The political maneuver culminated on January 3, 1868, when a coup d’état in Kyoto abolished the shogunate and proclaimed the restoration of imperial rule under the young Emperor Meiji. The ensuing Boshin War (1868–1869) was a civil conflict in which pro-imperial forces, waving banners of national unity, defeated shogunate loyalists. Throughout the conflict, nationalist rhetoric proved indispensable. The new government framed the war not as a power grab by ambitious domains but as a patriotic struggle to reclaim Japan’s sovereignty from a failed regime. The emperor, previously secluded in Kyoto and politically symbolic, was suddenly positioned as the living embodiment of the nation, a role that would define Japanese identity for decades.

Forging a Modern Nation-State: Nationalism in Meiji Reforms

Once in power, the Meiji leaders translated nationalist sentiment into a systematic overhaul of Japanese society. Their goal was nothing less than to create a unified, industrial nation capable of standing as an equal among Western powers.

Centralization and the Dismantling of Feudalism

In 1871, the government abolished the feudal domains, replacing them with centrally administered prefectures. Samurai stipends were commuted into government bonds, and the class privileges that had defined Tokugawa society were legally erased. This radical restructuring, though painful for many ex-samurai, created a single national framework where all Japanese were subjects of the emperor, not vassals of a local lord. A national conscription law in 1873 further reinforced the idea of a shared national duty, mandating military service for men of all classes. The new army’s loyalty was to the emperor and the nation, not to any domain.

Education as a Nationalist Tool

The Meiji leaders understood that national unity had to be cultivated in the minds of the young. The 1872 Education Order established a national school system, and the rescript of 1890 on education explicitly tied moral instruction to filial piety, loyalty to the emperor, and patriotic sacrifice. History textbooks actively promoted national myths, portraying the emperor as the descendant of the sun goddess Amaterasu and emphasizing an unbroken imperial line. Through compulsory education, the state propagated a standard national language, a shared historical narrative, and the values of diligence and obedience. The resulting sense of national consciousness cut across regional and class lines, making possible the intense collective efforts of industrialization and war.

Industrialization Under a Nationalist Banner

Economic modernization was pursued with a sense of national emergency. The government built model factories in shipbuilding, mining, textiles, and armaments, often then selling them at low prices to private entrepreneurs who shared the nationalist vision. The slogan “Fukoku Kyohei” was no abstraction; it translated into heavy investment in railway networks, telegraph lines, and a modern steel industry. The Meiji Restoration thus produced an industrial infrastructure that, within a few decades, enabled Japan to compete with Western powers. The completion of the first transcontinental railway in 1889 and the establishment of the Yokosuka Naval Arsenal were tangible symbols of a nation building itself anew.

The Constitution and the Emperor System

The Meiji Constitution, promulgated in 1889, encoded the nationalist ideology in legal form. The emperor was declared “sacred and inviolable,” the supreme commander of the armed forces, and the source of sovereignty. While the constitution created a Diet and offered limited representative participation, the real power structures remained with the emperor and his oligarchic advisors. This arrangement effectively sacralized the state, making any dissent not merely a political offense but a moral transgression against the national family headed by the emperor. The constitution, together with the Imperial Rescript on Education, completed the ideological edifice: a nation united under a divine monarch on a mission to achieve full equality with the West.

The Dual Edges of Nationalism: Triumph and Tragedy

The 19th-century rise of Japanese nationalism delivered spectacular results. In 1895, Japan defeated Qing China in the Sino-Japanese War, winning Taiwan and a huge indemnity that financed further industrial growth. In 1905, Japan’s victory in the Russo-Japanese War stunned the world—it was the first time an Asian nation had defeated a European great power in modern warfare. Nationalist fervor reached a zenith, and the slogan “Fukoku Kyohei” appeared vindicated.

However, the same nationalist current that energized reform also contained seeds of later catastrophe. The ideology that sanctified the emperor and demanded absolute loyalty eventually suppressed liberal and democratic movements. Political dissent was increasingly equated with national betrayal. The military, commanded in the emperor’s name, acquired enormous prestige and gradually operated beyond civilian control. Imperial expansionism, justified as a mission to protect Japan’s security and spread its enlightened rule, led to the annexation of Korea (1910) and deeper involvement in Manchuria. The nationalism that began as a defensive reaction to Western imperialism mutated into an aggressive expansionism that would culminate in the Pacific War.

The historian John Dower has observed that the Meiji system’s success “created an institutional and ideological momentum that proved difficult to alter,” and the same nationalistic education that built a modern workforce also instilled a martial ethos that later generations could not easily discard. Thus, the nationalism of the 19th century, while essential for Japan’s survival and modernization, became a double-edged sword—its energies could be harnessed for creation and destruction alike.

Legacy in Historical Perspective

The 19th century rise of Japanese nationalism fundamentally reshaped the country’s trajectory. It provided the psychological and political energy needed to overthrow a decaying feudal order and to construct a unified modern state in a remarkably short time. Without this powerful national sentiment, the Meiji Restoration might have failed, and Japan could have fallen into the colonial orbit of Western powers. The institutions, infrastructure, and national identity forged in those decades laid the groundwork for Japan’s subsequent role as a major industrial and military power.

Yet the legacy is ambivalent. The same tools that liberated Japan also forged a culture of authoritarian nationalism that, in the early 20th century, propelled the nation into disastrous militarism. Modern Japanese identity remains deeply informed by this history, as the country continues to navigate the tension between national pride and international responsibility. Understanding the origins and development of 19th-century nationalism is thus not merely an academic exercise; it is key to grasping the complexities of Japan’s relationship with its own past and with the world.

Further reading on the intellectual underpinnings of the movement can be found at Britannica’s entry on sonno joi. For an overview of the broader economic policy, see the discussion of fukoku kyohei.

References and Related Topics:

  • The Treaty of Kanagawa and its political aftermath
  • Kokugaku and the construction of imperial ideology
  • Comparative nationalism in 19th-century Asia
  • The role of samurai in the Meiji bureaucracy
  • Constitutional monarchy and military independence