The Treaty of Whampoa was an unequal treaty between the Kingdom of France and the Qing dynasty of China, which was signed by Qiying and Théodore de Lagrené on October 24, 1844, aboard the warship L’Archimède.
China was to grant the same privileges to the Kingdom of France as to Britain in the Treaty of Nanking and subsequent treaties. The privileges included the opening of five harbours to French merchants, extraterritorial privileges French citizens in China, a fixed tariff on Sino-French trade and the right of France to station consuls in China.
Although French Prime Minister François Guizot had given Lagrené only a mandate to negotiate a commercial treaty with France, Lagrené decided that he wanted to enhance France's international prestige by securing a rescission of Yongzheng Emperor's prohibition of Christianity in China from 1724. France could thus become the protectorate of Catholics in China, like France in the Levant. After protracted negotiations with Qiying, most of which Lagrené entrusted to his interpreter Joseph-Marie Callery, the Daoguang Emperor issued an edict in February 1846 that legalized the practice of Christianity in China.