History and culture

From Humen to Nanjing: the Opium War and the treaty ports

Follow the distinction between the 1839 anti-opium campaign, the settlement of 1842 and the later war that reached Beijing in 1860.

1839–1860 CEAbout 3 min read
Thematic artwork for the related period
From Humen to Nanjing: the Opium War and the treaty ports · Thematic illustration

Trade and the illegal opium economy

European demand for tea, silk and porcelain expanded in the eighteenth century, while foreign trade at Canton—today’s Guangzhou—operated under close regulation. Opium produced in British-controlled India entered China through private smuggling networks despite Qing prohibition. Revenue, silver flows, addiction and corruption became entangled.

China was not a country without foreign commerce. The conflict concerned an existing trading order and expanding commercial and imperial interests, while Qing officials also disagreed about enforcement. Calling the war merely a clash of civilisations hides practical questions: who profited, who bore the costs, and whose authorities could enforce restrictions on the trade?

The anti-opium campaign of 1839

In 1839 Lin Zexu was sent to Guangdong to suppress the opium trade and destroyed confiscated stocks at Humen. Enforcement threatened substantial merchant interests. The British government chose military pressure to obtain compensation and improved trading conditions; escalation involved political decisions, not an inevitable consequence of prohibition.

British and Qing forces clashed near Kowloon in September 1839. A British expedition arrived off the Chinese coast in June 1840, opening a larger phase of operations. Some English histories therefore use 1839–1842, while Chinese surveys generally use 1840–1842. The former include the earlier fighting; the latter begin with the expedition. The ranges mark different stages in the development of war.

A war that moved along the coast

British forces used naval mobility, artillery and organisational advantages to carry the conflict beyond Canton. Operations along the coast and lower Yangtze threatened routes and revenue on which Qing government depended. By 1842 British forces were near Nanjing, and negotiations took place under military pressure.

Hardware alone does not explain the result: intelligence, command, supply and coordination between theatres also mattered. For residents, the war meant interrupted work, displacement and danger. The later history of treaty ports and their new buildings began with an unequal military settlement, not simply with the arrival of commercial opportunity.

What the settlement changed

The Treaty of Nanjing in 1842 opened Canton, Xiamen, Fuzhou, Ningbo and Shanghai to British trade, ceded Hong Kong Island and imposed indemnities, among other provisions. Supplementary agreements and treaties obtained by other powers subsequently extended the changes to jurisdiction, tariffs and diplomacy. Those later rights should not all be attributed to this one document.

Hong Kong Island was not the whole territory of present-day Hong Kong; other areas involved later arrangements. Opening five ports likewise did not transform every part of China in the same way. Foreign merchants, local officials and residents developed different relationships in each city.

A second war, not a continuation without an interval

The first settlement did not resolve disputes over treaty enforcement, commercial expansion or diplomatic relations. During the Second Opium War of 1856–1860, British and French forces intensified pressure. Fighting reached Beijing in 1860; the Yuanmingyuan was looted and burned, and further agreements expanded foreign privileges.

Nanjing, Tianjin and the later Beijing conventions belong to distinct stages, not one signing ceremony. Meanwhile the Qing faced major internal conflicts, including the Taiping war. External defeat and domestic upheaval together made questions of military production, shipbuilding and trained interpreters increasingly urgent.

From ports to factories and political debate

Treaty ports later acquired banks, newspapers, shipping businesses and industrial facilities. Some residents found opportunities, while unequal sovereignty and social divisions generated new conflicts. Their history is neither a display of prosperity nor merely a list of treaties. Changes at the coast also influenced the inland movement of goods, people and ideas.

The next connections lead to Zeng Guofan, the Jiangnan Arsenal and the war of 1894–1895. Why build modern military industries? What role did regional officials play, and why did those efforts leave serious organisational problems unresolved? Change had begun, but no single path guaranteed success.

READING PATH6 perspectives · about 21 min

Six connected late-Qing turning points

Connect war, education, political reform and the end of imperial rule.

  1. From Humen to Nanjing: the Opium War and the treaty portsYou are here

    Begin with coastal trade and the treaty order.

  2. The war of 1894–1895: why modern warships were not enough →

    Ask why military modernisation left organisational problems.

  3. The Hundred Days Reform: why decrees did not become lasting power →

    Examine reform, implementation and political authority.

  4. Beijing in 1900: the Boxers, the siege and the costs of war →

    Follow the crisis of 1900 and its human consequences.

  5. From examination abolition to Wuchang: the Qing’s final decade of reform →

    Connect schools, armies and political participation.

  6. The abdication of 1912 →

    Finish with abdication and changes at the court in 1912.