Long ago, a group ruled northern China. 
Long ago, a group ruled northern China. 

New ideas came to the land. One big idea was Buddhism. People made beautiful art to show it.
Leaders made big changes too. They moved the capital city. This helped them rule better.
Later, the group split in two. This happened because people disagreed.
Even after they were gone, their ideas stayed. They changed history forever.
The Northern Wei was a ruling family in China. They ruled northern China from 386 to 535 AD. 
For many years, northern China was split into many small states. This was a time of much fighting. In 439 AD, Emperor Taiwu unified the north. This brought peace to the region. 
During this time, new ideas arrived. Buddhism became a very important religion. People made beautiful art to honor it. They carved more than 30,000 images into stone.
Leaders also made big changes to how they ruled. Empress Dowager Feng and Emperor Xiaowen helped the state grow. They moved the capital city to Luoyang in 494 AD. This helped the leaders stay in control.
Near the end, the group had many fights inside. In 534 AD, the empire split into two parts. These were called the Eastern Wei and the Western Wei. Even after they split, their ideas changed China for a long time.
The Northern Wei was a powerful dynasty that ruled northern China. It lasted from 386 to 535 AD. This era was a time of great change and social shifts. 

Building this empire took many years of hard work and war. Early on, the Tuoba leaders had to fight many neighbors. They first had to deal with the Later Yan dynasty. In 395 AD, the Yan sent a large army to attack them. However, the Wei won a big victory at the Battle of Canhe Slope. 
Life in the Northern Wei was also shaped by new ideas. Buddhism became a very important religion during this time. People built amazing things to show their faith. They created the Yungang Grottoes near the city of Datong. Later, they built the Longmen Grottoes near the capital of Luoyang. 
Leaders also made big changes to how the land was run. Empress Dowager Feng and Emperor Xiaowen were very important leaders. They introduced reforms to help the government control the countryside better.
Even great empires can face hard times. Toward the end, the Northern Wei had many internal arguments. In 534 to 535 AD, the empire split into two parts. These were the Eastern Wei and the Western Wei. 
The Northern Wei was a major imperial dynasty that ruled northern China from 386 to 535 AD. 

The rise of the Northern Wei began with Tuoba Gui, also known as Emperor Daowu. He reasserted Tuoba independence in 386 AD after the collapse of the Former Qin state. To grow, the Wei had to navigate complex alliances and intense military conflicts. Early on, they fought the Later Yan dynasty, a powerful group led by the Murong-Xianbei clan. A turning point occurred in 395 AD at the Battle of Canhe Slope, where Tuoba Gui defeated a massive Yan army. Following this victory, the Wei expanded into the Central Plains. By 398 AD, Tuoba Gui moved the capital to Pingcheng and took the title of Emperor. 
Unification of the north was a long process led by successive rulers. Emperor Taiwu ascended the throne in 423 AD with the goal of reunifying the northern territories. He launched military campaigns against the Helian Xia dynasty and the Northern Yan state. In 439 AD, Emperor Taiwu successfully conquered the Northern Liang. This victory finally brought an end to the Sixteen Kingdoms period and unified northern China under one rule. The dynasty then spent years managing its borders and interacting with southern powers. 
The Northern Wei also engaged in frequent wars with southern dynasties, such as the Liu Song. These conflicts often centered on control of territory south of the Yellow River. In 423 AD, the Wei captured the cities of Luoyang and Hulao, which changed the border between the north and south. Later, in 450 AD, Emperor Wen of the Liu Song attempted a massive invasion to destroy the Wei. Although the campaign saw initial success, it ended in a disaster for the southern forces. These wars were not just about land, but about the struggle for dominance between different political systems. 
During the Taihe period between 477 and 499 AD, the dynasty underwent deep social changes. Empress Dowager Feng and Emperor Xiaowen introduced sweeping reforms to strengthen imperial control. They focused on the Han hinterland to deepen the government's reach into the rural landscape. Emperor Xiaowen also led a process of Sinicization, which means adopting Chinese culture and customs. As part of this, the Tuoba clan adopted the surname Yuan. In 494 AD, Xiaowen moved the capital from Datong to Luoyang to further integrate the dynasty into Chinese society.
Religion and art flourished during these transformative years. Buddhism was introduced as a foreign idea and became firmly established as a major religion. This spiritual shift led to the creation of massive, beautiful monuments. In the mid-to-late 5th century, workers constructed the Yungang Grottoes near Datong. Later, the Longmen Grottoes were built near the new capital of Luoyang. 
Despite its successes, the dynasty eventually faced internal collapse. Significant internal dissension grew toward the end of the 6th century. In 534–535 AD, the empire split into two separate states: the Eastern Wei and the Western Wei. These two branches were ruled by the same imperial house but functioned independently. Eventually, these states were replaced by the Northern Qi and Northern Zhou dynasties. Even though the Tuoba rule ended, their policies of ethnic integration and political centralization left a lasting legacy on later Chinese history.
🖼️ Images & Media (18)
+ 6 more
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.