Long before it was Vietnamese, this coast belonged to Champa, a kingdom founded in 192 AD whose people took their religion from Indian Hinduism. Around 875 Indrapura, at today's village of Dong Duong some 50 km away, became the Cham capital; another of their cities, Singhapura, lay at Trà Kiệu, and their temples rose in the valley of Mỹ Sơn. Even the city's name probably comes from Cham. One reading is da nak, the opening of a large river, which is exactly where Da Nang sits.
Champa and the Vietnamese kingdom of Đại Việt came into open conflict. In 982 the Cham held three envoys of Emperor Lê Hoàn, who answered by sacking Indrapura and killing King Parameshvaravarman I. The Cham gave up the city around 1000. The Vietnamese pushed into the region in the 17th century, and by 1650 Alexandre de Rhodes was drawing the area on his maps as Cua han.
For a long time the trade went to Hoi An, not here. Portuguese ships followed António de Faria, who anchored at Da Nang in 1535, but they sailed on to Hoi An. Things changed in 1835, when Emperor Minh Mạng ordered that European ships could land and trade only at Da Nang. Its port overtook Hoi An as the biggest in the central region. Minh Mạng had already rebuilt the Điện Hải fortress on a mound in 1823, and in 1835 he upgraded it to a citadel.
That port made Da Nang the door the French kicked in. Their ships shelled it in 1847, and in August 1858 Admiral Rigault de Genouilly landed troops on the orders of Napoleon III, claiming to answer religious persecution. A Vietnamese army under Nguyễn Tri Phương besieged them until they withdrew in March 1860, so the French took Saigon instead. They came back. By 1889 the city was Tourane, under the governor general of French Indochina, and a tram line ran from here past the Marble Mountains to Hoi An until 1915. Many French-era buildings still stand.
American combat troops first came ashore in Vietnam here, and the airfield became one of the busiest on earth, averaging 2,595 flights a day. Another air facility was built by the Marble Mountains in 1965, and the city was a rest-and-leave stop for American troops. Many monuments and buildings were destroyed in the fighting. Old helicopter hangars are still easy to spot from the airport, which handles military as well as civil flights.
From the early 1990s the government chased foreign money and built roads, and in 1997 Da Nang split from Quảng Nam to become a city run directly from Hanoi. It hosted APEC in 2017. Then, on 1 July 2025, it took Quảng Nam back in, so Hoi An now sits inside the city limits.