In 1780, one gate in the Forbidden City had the wrong number of doornails. Every major entrance had eighty-one, nine rows of nine, the number of the emperor. The Donghua Gate had only seventy-two. That's an even number, a yin number, the number of darkness and the dead.
This is the story of the Ghost Gate, the only door through which emperors and empresses left the palace for the last time. We look at how death was managed inside the world's largest imperial court under the Qianlong Emperor, and how differently it treated people depending on their rank.
In this video:
⚫ Why the Donghua Gate was built to signal death ⚫ What happened when an emperor died, from months of daily ceremonies to a funeral procession stretching over a hundred kilometers ⚫ How concubines were selected, confined, and sometimes sacrificed, from the Ming burial tradition to the Cold Palace ⚫ The brutal reality of life and death for the eunuchs who kept the palace running ⚫ The poisoning of the Guangxu Emperor and the fate of the Pearl Concubine ⚫ Why the Forbidden City was designed with such obsessive symbolic precision, from the color white to the number nine
The gate still stands today, and most visitors walk right through without knowing what it was for.
00:00 Intro 00:40 The Forbidden City And Its Walls Of Control 02:00 A Day In The Emperor's Life 03:40 The Ghost Gate And Its Seventy-Two Doornails 05:07 Symbolism And Cosmic Order In The Palace 06:16 Imperial Funerals And The Long Procession 10:02 How Women Entered The Forbidden City 12:06 Ming Dynasty Sacrifices And The Cold Palace 14:45 The Eunuchs Behind The Walls 18:11 Poison, Cixi, And The Pearl Concubine 21:39 The Qianlong Emperor In 1780 25:34 Outro
0:00 The Forbidden City's gate with 72 doornails
3:29 The Donghua Gate and the symbolism of death
5:07 Rituals and ceremonies for the death of an emperor
7:57 The stark contrast in death for the powerless
10:02 The fate of concubines and the tradition of sacrificial burial
13:36 The lives and deaths of eunuchs in the Forbidden City
17:47 The hidden history of death in the Forbidden City
This video examines the ritualistic and symbolic management of death in the Forbidden City during the Ming and Qing Dynasties. It explores how imperial power, cosmology, and rigid hierarchies shaped the transition from life to death, contrasting the lavish ceremonies of emperors with the brutal isolation and suffering endured by concubines and eunuchs.
In 1780, there was a gate inside the Forbidden City in Beijing
that had the wrong number of doornails.
Every other major gate in the palace had 81.
Nine rows of nine. A perfect yang number.
The number of the emperor and the heavens.
But the Donghua Gate, the East Prosperity Gate, only had 72.
Eight rows of nine. An even number.
A yin number. And in Chinese cosmology,
yin represented one thing above everything else.
Darkness. The dead.
That gate was different because it had a purpose the others did not.
It was the gate where the dead came out.
The Forbidden City, in 1780,
was 45 years into the reign of the Qianlong Emperor,
one of the longest-ruling monarchs in Chinese history.
Inside those red walls and beneath those golden roofs,
somewhere around 980 buildings,
spread across roughly 180 acres of fortified land
at the absolute center of Beijing.
This was the seat of the largest empire on earth.
And the people living inside it included the emperor,
his empress and dowager empress.
Dozens of concubines ranked across eight formal tiers of hierarchy.
Thousands of castrated male servants, known as eunuchs.
Hundreds of palace maids, cooks, guards, scholars,
and an entire bureaucracy that ran the country from behind those walls.
The name tells you everything you need to know.
The Forbidden City in Mandarin, Zijin Cheng.
The Purple Forbidden City. Ordinary people could not enter.
If you were caught inside without the Emperor's explicit permission,
the penalty was death.
The walls stood 10 meters high.
A moat 52 meters wide surrounded the entire perimeter,
and once you entered, especially if you were a woman,
you were unlikely to ever walk out again.
Not on your own feet, anyway. For the emperor himself,
daily life was more regimented than most people imagine.
He rose at four in the morning.
Eunuchs escorted him by palanquin,
four guards at the front and several eunuchs to the rear.
Through the courtyards
to reach whichever audience hall was needed for the day,
officials supervised nearly every hour
of his schedule. He often ate alone,
since court protocol required that everyone except
a dowager empress stand in his presence at all
times. Even the Qianlong Emperor,
who occasionally invited a consort to dinner,
could not change that rule. The consort stood while he sat.
Food tasters checked every dish for poison before
the emperor touched it, and at night,
a eunuch presented a tray of wooden name tablets,
each one engraved with the name of a concubine.
The emperor would flip one tablet face down,
and the chief of the imperial bedchamber would go to
that woman's quarters,
strip her of all clothing to confirm she carried no weapons or poison,
wrap her in a silk quilt, and carry her on his back through
the courtyards to the emperor's chambers.
That was the protocol. Every single night it was needed.
This was a palace built on absolute control.
Control over territory, over ritual,
over the bodies and lives of every person inside.
And control, more than anything,
over the boundary between life and death.
Because inside those walls, in 1780,
death was not rare, it was constant,
and the way the palace managed it tells you more about Imperial China
than any story of its wars or its trade routes ever could.
So back to that gate.
The Donghua Gate sat on the eastern wall of the Forbidden City,
and during the Qing Dynasty, it served a few practical functions.
Senior cabinet officials entered the palace through it.
The crown prince used it regularly because his residence was nearby,
but its most important function
was the one nobody wanted to think about.
When an emperor died, when an empress died,
when an empress dowager died,
their coffin left the Forbidden City through the Donghua Gate,
every single time, no exceptions.
That is why people called it the Ghost Gate.
And that is why its doornails were counted differently
from every other gate in the palace.
In traditional Chinese numerology,
odd numbers belong to yang, light, life, the heavens.
Nine was the supreme yang number, the number reserved for the emperor.
So 81 doornails, nine multiplied by nine,
decorated every major gate in the complex.
But the Donghua Gate carried coffins through its doors.
It belonged to the realm of Yin,
the realm of darkness, of the earth, of the dead.
So the builders reduced it to 72 doornails,
eight rows of nine, and even total, a deliberate
architectural signal hammered in gilded bronze right
into the face of the door, telling everyone
exactly what this gate was for.
The Forbidden City was designed with that level of obsessive
symbolic precision.
Every color, every number, every compass direction carried meaning.
Red walls stood for good fortune and vitality.
Yellow roofs symbolized the earth element
and the emperor's supreme authority.
White was almost entirely absent from the palace,
because white was the color of mourning and death.
The number nine appeared everywhere.
Nine dragon screens, nine roof beasts on the ridgelines,
nine rows of doornails on the gates,
because nine meant the emperor, and the emperor meant life.
Death disrupted that cosmic order.
The Forbidden City was supposed
to be the physical center of Heaven's mandate on Earth,
the place where the Son of Heaven governed the mortal world.
When someone died inside those walls, an elaborate system of rituals,
processions, and ceremonies kicked in immediately
to manage the disruption and restore balance.
But what those rituals looked like depended entirely on who had died.
If you were the emperor, the whole empire mourned with you.
If you were a eunuch found floating in the moat,
your name might not even be written down.
When the Qianlong Emperor's father, the Yongzheng Emperor,
died in October of 1735 at the age of 56,
what followed was a chain of events refined across
centuries of dynastic rule.
The body was washed by attendants inside the Forbidden City.
It was dressed in full ceremonial robes,
and it was placed inside a gilded coffin,
which was then moved to one of the great halls of the palace.
The Palace of Heavenly Purity, the largest building in the inner court,
was the traditional resting place.
The Qing dynasty specifically followed the practice of placing the
emperor's coffin in that hall for extended commemorative ceremonies.
Regardless of where in the palace, the emperor had actually died,
and the coffin did not leave quickly.
Sometimes it remained in the palace for weeks, sometimes for months.
The intervals between the initial encoffining ceremony and the final
burial at the imperial tombs could stretch on for a very long time,
and during that entire period,
daily libation ceremonies took place in front of the coffin.
Three times a day, every day.
The new emperor, members of the imperial family, and senior officials
all participated in formal mourning rituals
that followed an exact calendar dictated by the Board of Rites
The court also issued mourning regulations
that applied to the entire empire.
These regulations specified what people could wear,
what music could or could not be played,
which celebrations were suspended,
and how long the period of mourning would last.
For an emperor, the whole country was expected to observe restrictions.
Officials put on white mourning garments.
The machinery of court life slowed to a crawl.
When the coffin was finally ready to leave the Forbidden City,
the funeral vehicles and mourners were assembled in precise formation
outside the Wumen Gate, the Great Southern Entrance. The Crown Prince
and the deceased emperor's wives gathered
for a farewell ceremony in the mourning hall.
Then, the coffin was draped in a silk pall and lifted onto a hearse.
It was carried through the palace grounds
to the Donghua Gate, the Ghost Gate, with
its 72 doornails, and from there,
through the outer city to begin its long journey.
For Ming Dynasty emperors,
the destination was the tombs near Changping, north of Beijing.
For Qing emperors, the coffin traveled either
to the Eastern Qing tombs or the Western Qing
Both located well over a hundred kilometers from the capital.
Memorial altars were erected along the entire route.
Hereditary nobles, government officials, Buddhist monks,
Taoist priests, and local gentry assembled at their stations to bow as
the funeral procession passed.
The whole sequence, from death to burial,
could take months. During the funeral of Empress Dowager
Cixi In 1908, her coffin remained inside the Forbidden City itself.
Until the final entombment,
an arrangement that was considered unprecedented even by
Qing standards. And during that entire stretch,
the corpse of a ruler lay in state inside a palace
supposedly devoted to life and cosmic harmony,
while the machinery of succession quietly
transferred power to whoever came next.
That was the protocol when the ruler of the empire died.
Mourning that could last half a year.
Ceremonies that involved thousands.
A procession visible for miles,
but that was the emperor, the son of heaven.
His death mobilized an empire.
What happened when someone less important died inside those walls
was a very different story, and often a much darker one.
To understand what death looked like
for the women of the Forbidden City,
you first need to understand how they arrived there.
During the Qing Dynasty,
the imperial household selected young women from Manchu
Mongol banner families at regular intervals.
Girls were brought on appointed days to the Shenwu Gate,
the gate of divine prowess, on the northern wall of the Forbidden City,
for formal inspection. They were examined for skin problems,
body odor, unwanted body hair, and overall physical health.
The ones who passed went through additional rounds of evaluation.
Some spent several days serving the Emperor's mother
to demonstrate their temperament and obedience.
If you were selected, you entered the forbidden city
and were assigned a rank within the harem
system. The hierarchy ran from empress at the top,
through imperial noble consort, noble consort,
consort, concubine, noble lady, first class female attendant,
and all the way down to the lowest
ranks. Where you landed on that ladder determined your living quarters,
your food budget, the size
of your staff, your clothing allowance,
and most importantly, your access to the emperor.
Most concubines never spent a single private moment with the emperor.
If your wooden name tablet was never flipped on that nightly tray,
your life inside the Forbidden City was one of quiet confinement.
You lived in the same small palace you
were assigned to on your first day.
You could not leave the inner court.
You could not venture outside the northern section of the complex.
All females in the Forbidden City
were carefully sequestered in the imperial quarters
deep inside the palace.
You might share a courtyard with a handful of other women in
similar situations, your days filled with embroidery,
religious devotion, and waiting.
Some concubines of the Qing Dynasty never even learned
the layout of the palace beyond their
own corridor. You grew old behind those walls
and you died there, with no children.
No legacy, and in many cases,
no one outside the palace who even knew your name.
But during the Ming Dynasty, the period before the Qing took power,
the deaths of concubines
were not simply matters of illness and old age,
they were matters of imperial policy.
When the Hongwu Emperor, the founder of the Ming Dynasty,
died in 1398, he started a tradition that endured for generations.
His favorite concubines were
killed so they could accompany him into the afterlife.
Some were forced to hang themselves,
according to multiple historical accounts, were buried alive.
His successor continued the
practice. The Yongle Emperor,
the man who actually built the Forbidden City between 1406 and 1420,
took it even further.
When he died in 1424, 16 of his favorite concubines and their personal
servants were taken to a hall inside the palace
and hung from nooses made of white silk.
One of them, a Korean woman named Lady Han from the Cheongju Han clan
was only 30 years old,
and years earlier, in 1421,
the same emperor had ordered the execution of roughly 2,800 concubines,
servant girls, and eunuchs in a single purge after a scandal,
threatened to humiliate him during
the opening ceremonies of his new palace.
That tradition of sacrificial burial
was not officially abolished until the reign of the
Zhengtong Emperor in the mid-1400s.
But the violence against women inside the Forbidden City
did not stop. It changed form.
By 1780, during the Qianlong Emperor's long reign, concubines who lost
imperial favor faced a fate that was slower but no less devastating.
They were banished to what
what people called the cold palace.
There was no building inside the Forbidden City
that actually carried that name.
The Cold Palace was a concept, not a location.
Any remote, neglected or undesirable palace
building could become a Cold Palace if the Emperor
or the Empress Dowager decided to
confine a woman there.
The Palace of Great Brilliance, in the northeast corner of the
complex, earned the nickname
because of the disgraced concubines who were imprisoned in
it over the centuries. Once sent there,
a woman was cut off from the court entirely, no visitors,
No communication with the outside world.
In some documented cases, food was shoved through cracks in the door.
Some women starved slowly, others went mad from isolation.
Many simply vanished from the historical record,
their deaths unmarked by any ceremony
or any mention in the imperial archives.
Then there were the eunuchs,
the men who made the Forbidden City function.
During the Ming Dynasty,
As many as 20,000 eunuchs lived
and worked inside the palace complex at one time.
The Qing dynasty reduced that number significantly,
but thousands still served
throughout the palace grounds during the Qianlong era.
To enter the Forbidden City as a male servant,
castration was mandatory. And it was total.
Not just the testicles, everything was removed.
The procedure took place in a small building near the palace walls.
During the late Qing period,
The only anesthetic available was hot chili sauce applied to the area.
After the cutting, a metal plug was inserted into the wound
and left in place for three days.
If urine flowed cleanly when the plug was removed,
the operation was declared a success.
If the wound sealed shut and urine could not pass,
the man usually died. Some men
chose this willingly.
Poverty drove entire families to present their sons for castration.
because a position inside the Forbidden City offered steady meals
and a roof over their heads.
Others were coerced, and some adult men,
desperate enough to escape starvation,
castrated themselves
and then turned up at the palace gates seeking positions as servants.
The men who survived the procedure entered
a world of extreme hierarchy,
constant labor, and brutal discipline.
Corruption among eunuchs was rampant throughout the centuries.
They stole treasures from the palace storerooms
and sold them on the black market,
They took bribes, they formed factions
and conspired against each other for access to the emperor.
Palace rules prohibited eunuchs from leaving
the capital without written authorization,
on penalty of execution.
This rule existed specifically to prevent eunuchs from accumulating
political connections or personal wealth outside the palace.
In 1869, a eunuch named An Dehai
The personal favourite of Empress Dowager Cixi,
violated this rule by traveling on the Grand Canal
with a conspicuous display of imperial authority.
The governor of Shandong province reported him back
to the Forbidden City.
He was executed on the spot.
Inside the palace, eunuchs did everything.
They managed the emperor's daily schedule.
They served his meals.
They guarded the concubines.
They cleaned the halls.
They carried messages between the inner court and the outer court,
where government officials worked.
They were the connective tissue of the entire operation,
present in every room and every corridor.
But when a eunuch died, there was no ceremony worth noting,
no coffin through the ghost gate,
no procession to a distant tomb, no daily libations for weeks on end.
Some eunuchs, who could no longer bear their lives inside the palace,
took their own lives in the moats that surrounded it.
Others died of illness, exhaustion, or punishment,
and their bodies were simply removed.
When the last emperor, Pu Yi,
was expelled from the Forbidden City in 1924,
the final 1,500 eunuchs were banished alongside him.
Witnesses described them filing out through the palace gates,
carrying their belongings in cloth sacks,
Weeping in high-pitched voices.
Death inside the Forbidden City was not always a matter of illness
or old age or ritual sacrifice.
Sometimes it was straightforward murder,
hidden behind palace walls thick enough to keep any secret.
The Guangxu Emperor, who reigned in the final decades
of the Qing Dynasty, died on November 14, 1908.
His official cause of death was chronic illness.
But a century later, in 2008,
Scientists exhumed strands of hair from his tomb
and ran toxicology tests.
They found arsenic levels 261 times higher than normal.
The emperor had been poisoned.
The leading suspect was Empress Dowager Sixi,
the most powerful political figure in late
Qing China, and a woman
who had effectively controlled the empire from behind a silk curtain
for nearly half a century.
She was gravely ill herself at the time.
and had reason to believe
the Guangxu emperor would reclaim full authority the moment she was
gone and punish everyone who had supported her.
She had just enough time to name a two-year-old
boy called Puyi as the next emperor,
and then she died the very next day on November 15th.
Some historians believe the head eunuch,
Li Lianying, administered the fatal dose,
possibly mixed into a bowl of yogurt.
Others suspect the empress consort herself
Who was childless and had been ignored by her husband for years.
Sixi's capacity for violence inside
those walls was not limited to poison.
During the Boxer Rebellion in 1900,
as foreign armies marched on Beijing,
the Empress Dowager prepared to flee the Forbidden City.
But before she left, she dealt with a personal grievance.
The Pearl Concubine, Emperor Guangxu's favorite companion,
had spent years encouraging the Emperor to defy his aunt.
And push for political reform.
Sixi had already confined the pearl concubine to a cold palace in the
southeastern corner of the complex, isolating her from all contact.
Now, with the city about to fall,
she ordered eunuchs to tell the concubine to throw herself
into a well to avoid supposed defilement by the foreign soldiers.
The pearl concubine refused. So the eunuchs forced her.
They pushed her down a narrow stone well
behind Ningxia Palace in the northeastern part of the Forbidden City.
She was 24 years old.
Her body was not recovered for over a year.
That well is still there today,
open to tourists. It barely looks large enough
to fit a person through its opening.
35 months after those two deaths, the Qing Dynasty itself collapsed.
Whether the poisoning changed the course
of Chinese history is a question that has no clear answer,
but it happened inside the Forbidden City.
And for a full century, nobody outside those walls knew.
Those were only the high-profile deaths,
the ones famous enough to be documented.
For every poisoned emperor and every concubine thrown down a well,
there were hundreds of palace maids and low-ranking servants
whose deaths never made it into any archive.
Beatings were standard discipline.
One surviving record from the reign
of the Daoguang Emperor mentions a palace maid named Danyu,
who received 40 lashes for stealing white silk satin
and additional corporal punishment from her own mistress
for killing a cat inside a palace with thousands of inhabitants
rigid hierarchy and zero outside oversight
violence was simply part of the daily routine
so what did all of this look like in 1780 specifically
the Qianlong emperor was 69 years old
and in the 45th year of his reign
He had just completed
a magnificent private garden complex four years earlier,
in 1776, tucked into the northeast corner of the Forbidden City.
27 exquisite pavilions with roofs of peacock blue and jade green,
the whole garden built
as a personal retreat from the pressures
of governing an empire of over 300 million people.
But by 1780, the Qianlong Emperor had already experienced
the kind of personal devastation
that only the Forbidden City could produce.
His first empress, Empress Xiao Xian of the Fuca clan,
had died in 1748 at the age of 36.
The Qianlong Emperor was reportedly so shattered by her loss
that it changed him permanently.
Before her death, he had been known for relative clemency.
Afterward, he began sending convicted officials
to the execution ground in waves.
Her funeral was the grandest ever conducted for a Qing dynasty empress.
The emperor visited her gold coffin in the mourning hall day after day
as the daily sacrificial ceremonies continued around him.
His second empress, Empress Nara,
fell from favor so completely that by the time she died in 1766,
the Qianlong emperor refused to grant her an imperial funeral.
She was given a minimal burial, stripped of her dignity even in death.
By 1780, the emperor had outlived most of the people
who had shaped the first decades of his reign.
He would continue ruling
for another 15 years before formally abdicating the throne in 1796,
making his reign exactly 60 years long,
one year shorter than his grandfather Kangxi's record,
which Qianlong had vowed never to surpass out of filial respect.
He would die three years after that, in 1799, at the age of 88.
But in 1780, all of that was still in the future.
The Forbidden City around him was populated
by aging concubines in their isolated palaces.
Eunuchs managing the daily rituals, and a court that operated
on procedures virtually unchanged for centuries.
Death was not an interruption to life inside those walls.
It was built into the architecture,
encoded in the number of doornails on a gate,
reflected in the absence of white from the rooftops,
acknowledged in the direction the buildings faced
and the routes that coffins traveled on their way to the tombs.
The Forbidden City operated for nearly 500 years
as the seat of Chinese imperial power,
from 1420 when its construction was completed to 1912
when the last dynasty fell.
24 emperors lived and ruled there across the Ming and Qing dynasties.
Thousands of concubines entered through
the Northern Gate as young women and never saw
the world outside those walls again.
Tens of thousands of eunuchs served,
suffered and disappeared within its courtyards over
the centuries.
When someone died inside the Forbidden City,
what happened next was determined entirely
by their position in the hierarchy.
An emperor received months of mourning,
daily ceremonies three times a day,
And a funeral procession that stretched over
a hundred kilometers to the imperial tombs.
An empress could receive the same honor,
or she could be buried in near obscurity,
depending on whether she had pleased or angered the man on the throne.
A concubine could be sacrificed, poisoned,
starved in a cold palace, or simply forgotten.
A eunuch could be found in the moat and no one would record his name.
The Donghua Gate, the one with 72 doornails instead of 81,
still stands on the eastern wall of the palace today.
Tourists walk through it every afternoon on their way out.
Of the Palace Museum, most of them checking their phones,
thinking about where to eat dinner.
Almost none of them know why that gate has
a different number of studs on its doors.
None of them know that for 500 years,
The coffins of emperors
and empresses passed through that same threshold on
their way to the tombs, while every living person in the palace
avoided it out of superstition and fear. The gate was built for death,
Inside a palace built for power.
And in 1780, behind those red walls and under those yellow
roofs, both of those things were everywhere.
If this surprised you, drop a comment and let us
know which part of the story stuck with you the most.
And if you want more deep dives into history
that nobody talks about,
subscribe to the channel and hit the like button so you do not miss the
next one.