In the Xia Dynasty, the capital was established in Yangcheng, which is now Dengfeng, Henan.
The Shang Dynasty had its capital in Yin for the longest time, which is today’s Anyang.
In the Western Zhou Dynasty, the capital was established in Hao, which is today's Xi'an.
In the Eastern Zhou Dynasty, the capital was established in Luo, which is today's Luoyang.
The Qin Dynasty established its capital in Xianyang.
The Western Han Dynasty established its capital in Chang'an, which is today's Xi'an.
The Eastern Han Dynasty established its capital in Luoyang.
During the Three Kingdoms period, Wei established its capital in Luoyang, Shu established its capital in Chengdu, and Wu established its capital in Jiankang.
The Western Jin Dynasty established its capital in Luoyang.
In the Eastern Jin Dynasty, the capital was established in Jianye.
The Sui Dynasty established its capital in Chang'an.
The Tang Dynasty established its capital in Chang'an.
In the Northern Song Dynasty, the capital was built in Tokyo, which is today's Kaifeng.
The Southern Song Dynasty was equivalent to Lin'an, which is today's Hangzhou.
The Yuan Dynasty established its capital in Dadu, which is today’s Beijing.
In the Ming Dynasty, the capital was first established in Nanjing, which lasted for two dynasties. When the Ming Dynasty became the founder of the Ming Dynasty, the capital was moved to Beijing, where it remained until the fall of the Ming Dynasty.
The Qing Dynasty established its capital in Beijing.