French Indochina
In the 1500s, the Portuguese explored the Vietnamese coast and reportedly erected a stele on the Chàm Islands to mark their presence.[82] By 1533, they began landing in the Vietnamese delta but were forced to leave because of local turmoil and fighting. They also had less interest in the territory than they did in China and Japan.[82] After they had settled in Macau and Nagasaki to begin the profitable Macau–Japan trade route, the Portuguese began to involve themselves in trade with Hội An.[82] Portuguese traders and Jesuit missionaries under the Padroado system were active in both Vietnamese realms of Đàng Trong (Cochinchina or Quinan) and Đàng Ngoài (Tonkin) in the 17th century.[83] The Dutch also tried to establish contact with Quinan in 1601 but failed to sustain a presence there after several violent encounters with the locals. The Dutch East India Company (VOC) only managed to establish official relations with Tonkin in the spring of 1637 after leaving Dejima in Japan to establish trade for silk.[84] Meanwhile, in 1613, the first English attempt to establish contact with Hội An failed following a violent incident involving the East India Company. By 1672 the English did establish relations with Tonkin and were allowed to reside in Phố Hiến.[85]

Between 1615 and 1753, French traders also engaged in trade in Vietnam.[86][87] The first French missionaries arrived in 1658, under the Portuguese Padroado. From its foundation, the Paris Foreign Missions Society under Propaganda Fide actively sent missionaries to Vietnam, entering Cochinchina first in 1664 and Tonkin first in 1666.[88] Spanish Dominicans joined the Tonkin mission in 1676, and Franciscans were in Cochinchina from 1719 to 1834. The Vietnamese authorities began[when?] to feel threatened by continuous Christianisation activities.[89] After several Catholic missionaries were detained, the French Navy intervened in 1843 to free them, as the kingdom was perceived as xenophobic.[90] In a series of conquests from 1859 to 1885, France eroded Vietnam's sovereignty.[91] At the siege of Tourane in 1858, France was aided by Spain (with Filipino, Latin American, and Spanish troops from the Philippines)[92] and perhaps some Tonkinese Catholics.[93] After the 1862 Treaty, and especially after France completely conquered Lower Cochinchina in 1867, the Văn Thân movement of scholar-gentry class arose and committed violence against Catholics across central and northern Vietnam.[94]
Between 1862 and 1867, the southern third of the country became the French colony of Cochinchina.[95] By 1884, the entire country was under French rule, with the central and northern parts of Vietnam separated into the two protectorates of Annam and Tonkin. The three entities were formally integrated into the union of French Indochina in 1887.[96][97] The French administration imposed significant political and cultural changes on Vietnamese society.[98] A Western-style system of modern education introduced new humanist values.[99] Most French settlers in Indochina were concentrated in Cochinchina, particularly in Saigon, and in Hanoi, the colony's capital.[100]