Pendant le premier millénaire de son histoire Datong portait de nom de Píngchéng. Le nom actuel n’a été adopté qu’en 1048.