Long before it was Vietnamese, this riverbank belonged to other peoples. A Funan temple stood here in the 4th century, on the spot now taken by Phụng Sơn pagoda at the edge of Cholon. The Cham founded a settlement called Baigaur in the 11th century, and after the Khmer Empire took it around 1145 it became Prey Nokor, a fishing village among forest. Vietnamese settlers later bent that Khmer name into Saigon.
Vietnamese settlers began drifting south in the early 1600s, helped by a royal marriage in 1620 between a Nguyễn princess and the Cambodian king Chey Chettha II. In 1679 the Nguyễn lords let Chinese refugees fleeing the Qing settle here. Then in 1698 the noble Nguyễn Hữu Cảnh arrived by sea to set up a Vietnamese administration, and Cambodia was too weak to stop him. The town was renamed Gia Định, a name that lasted until the French came.
In 1788 Nguyễn Ánh made the town his base against the Tây Sơn rebels, and two years later a French mercenary built him a European-style citadel known as the Eight Diagrams. It did not last. After Lê Văn Khôi's revolt of 1833 to 1835 the emperor Minh Mạng had it torn down, and the French destroyed its replacement in 1859. Giác Lâm pagoda, built in 1744, ranks among the city's oldest Buddhist temples.
France took the city under the 1862 Treaty of Saigon and made it capital of Cochinchina. The French laid out the centre you walk through today: the botanical garden, Notre-Dame, the Hotel Continental, Ben Thanh Market and the Norodom Palace. The first newspaper in Vietnam came out here in 1865. The city became known as the Pearl of the Orient, and between 1930 and 1950 the population grew from about 256,000 to 1.2 million.
After the 1954 partition Saigon became capital of South Vietnam under Ngô Đình Diệm, and the city filled with American aid money. Diệm's Catholic-led government clashed with the Buddhist majority. On 11 June 1963 the monk Thích Quảng Đức burned himself to death at a crossroads that now carries his monument, and that November Diệm was killed in a coup. By 1970 the city held 3.3 million people. American officers and war reporters hung out at the Rex and the Caravelle, both still hotels.
Communist forces failed to take the city in the 1968 Tet Offensive, then captured it on 30 April 1975. In 1976 it merged with surrounding Gia Định and was renamed for Ho Chi Minh, though the old name never left daily speech, and since 2025 Saigon has been the official name of the central ward. The city keeps spreading. A 2025 merger absorbed Bình Dương and Bà Rịa–Vũng Tàu provinces, which puts factories and a stretch of beach inside the city limits.