In 1775, the Forbidden City in Beijing held more treasures than any other building complex on Earth. Paintings, jade, gold, porcelain, and silk—all amassed by the Qianlong Emperor over four decades of continuous acquisition. The palace sprawled across 178 acres, contained nearly 9,000 rooms, and tens of thousands of people lived and worked behind its crimson walls every day. But every beam, column, and roof in that vast complex was built of wood. The one thing that could destroy it all within hours was fire. The story of the Forbidden City’s war against fire begins with the building itself.

Construction began in 1406 when the Yongle Emperor of the Ming dynasty decided to move the imperial capital from Nanjing to Beijing. He wanted a palace that would announce to the entire world that China was the center of civilization. He therefore ordered the most ambitious building project of the medieval era. More than one million workers were recruited for the task. Laborers, soldiers, craftsmen, and prisoners poured into Beijing from every corner of the empire. Timber alone nearly derailed the entire operation. The trees the emperor demanded were of a type called nanmu, a dense, aromatic hardwood that grows straight and tall in the ancient forests of southwestern China, thousands of miles from Beijing. Logging teams spent years felling these massive trees in the mountains of Sichuan and Yunnan, then floated the trunks down rivers and dragged them overland to the capital. The human cost was staggering. Workers died from falls, drowning, disease, and severe exhaustion. The environmental damage echoed for centuries. When later officials returned to those same forests in search of replacement timber, they found the ancient groves empty. Logging records from the sixteenth century show officials openly wondering how their predecessors had managed to find such large numbers of giant trees, because the forests they inherited were only a shadow of what they had once been. Marble was no easier to handle. During winter, workers sprayed water along delivery roads to create frozen paths, then hauled carved stone slabs weighing more than 200 tons across the ice. According to reports, some of these deliveries required 20,000 men and took nearly a month to move a single slab.
After 14 years of construction, in 1420, the Forbidden City was completed, and it was stunning by every measure. Nine hundred buildings were arranged along a central north-south axis, all facing south so that visiting diplomats and tribute bearers could be directed straight toward the seat of power. Halls were so vast they could hold thousands of people at once. Roofs were covered in glazed yellow tiles, a color reserved exclusively for the emperor. The entire complex was surrounded by a 52-meter-wide moat and 10-meter-high walls that isolated it from the outside world. The number nine, the most auspicious number in Chinese culture, was present in every detail. Nine rows of studs on every gate, nine dragon carvings above the throne. According to tradition, 9,999 rooms—one fewer than 10,000, a number reserved for heaven alone. It was the largest palace complex ever built, and it was also among the most flammable structures humans have ever constructed. The choice of wood was not accidental. In traditional Chinese philosophy, wood represents growth, vitality, and harmony with the natural world. Craftsmen used interlocking joinery to assemble the massive beams and columns without a single nail. Nails were considered violent and disharmonious, unworthy of a palace built to reflect the order of heaven. The result was architecture elegant enough to flex during earthquakes without collapsing—structures that absorbed seismic energy rather than resisting it. But it also meant that a full palace hall could feed a fire the way a pile of dry firewood feeds a roaring blaze.

And the risks were everywhere one looked. Inside the Forbidden City, thousands of candles and oil lamps burned through the night to light the corridors. Torches lined the walkways and courtyards. Coal braziers warmed the residential halls during Beijing’s harsh winters, when temperatures regularly dropped below freezing. Incense burned in every temple and shrine. Kitchens operated massive wood-fired stoves to feed the imperial family around the clock. At its peak, the palace was home to the emperor, his family, his consorts, and a staff of 70,000 eunuchs and 9,000 maids. They all needed light, warmth, and cooked food. All those needs meant open flame burning inside wooden buildings at all times. Then there was the weather itself. Beijing’s winters are extremely dry. Humidity drops, winds pick up, and the entire complex enters conditions that practically invite a catastrophic fire. During the driest months, a tipped candle or a stray ember from a brazier could ignite a column in seconds. Once a fire caught one of those massive nanmu timbers, it could leap to the ceiling and spread to neighboring buildings faster than anyone could run to report it.
The first disaster confirmed the worst fears. In 1421, just nine months after the palace opened, lightning struck the Hall of Devotion to Heaven, the largest and most important ceremonial building in the entire complex. The fire spread instantly to two adjacent halls. All three halls burned to the ground within hours. The Yongle Emperor was deeply distraught. In a surviving document, he wrote that he was frightened to the core and no longer knew what to do. He regarded the fire as a divine signal that heaven itself had turned against his rule. Some of his advisers openly called for moving the capital back to Nanjing. The court debated the matter for years, and it took 19 years before those three halls were finally rebuilt. That catastrophe set a pattern that would haunt the palace for the next two centuries. In 1556, the three halls burned again. In 1584, they burned once more. In 1597, another fire consumed them. According to one estimate, more than 50 fires broke out in the Forbidden City during the Ming and Qing dynasties. Some were caused by lightning, some by negligence—a stove left unattended, a dropped candle, fireworks set off in the wrong place—and some were deliberate. Each rebuilding effort was harder than the last. Timber had to be obtained from forests that grew scarcer with every expedition. The financial and human cost was enormous, and each time the halls were rebuilt slightly smaller, because the massive nanmu trunks needed to match the original dimensions no longer existed.

Then came 1644, and the Forbidden City suffered the worst fire in its history. A rebel leader named Li Zicheng overthrew the Ming dynasty and briefly seized Beijing. He installed himself as emperor in the Hall of Military Eminence inside the palace walls. But Manchu armies were approaching from the north, and his control of the capital collapsed within days. As he withdrew from Beijing, Li Zicheng ordered the Forbidden City set ablaze. His soldiers set fire to building after building. By the time Manchu forces arrived and established the Qing dynasty, the palace was a smoking ruin. Decades of reconstruction awaited them. So when the Qing rulers moved in, they inherited not just a palace but a problem written in charcoal and ash across 300 years of history—and they were determined to solve it.
What the Qing dynasty built over the following century was, by pre-industrial standards, a remarkable system of fire defense. The Kangxi Emperor, who reigned for 61 years from 1661, laid the foundations early. He imposed strict fire-prevention rules throughout the palace. Dedicated eunuchs were assigned to inspect candles and open flames in every building each day. Fires were treated not as a maintenance matter but as an imperial security issue, and it worked. During Kangxi’s 61-year reign, only one major fire struck the Forbidden City. That was a significant improvement over the Ming era, when fires broke out constantly—but one fire was still more than enough, and the system the Qing built to combat it began with the most basic tool available: water.

Three hundred and eight massive iron and copper vats were placed throughout the complex, positioned close to every major building. The largest could hold up to 3,000 liters. Palace officials filled them daily with water drawn from the Golden Water River, the stream that ran through the palace grounds, and they were required to change the water regularly so it would not stagnate and smell. The Chinese called them menhai, meaning “sea before the gate,” because the idea was to keep an ocean of firefighting water within reach of every hall in the complex. Nearly every building in the Forbidden City had at least one vat placed beside it. Today you can still tell a vat’s age by looking at its handles. The older vats, cast during the Ming dynasty, have simple iron rings on the sides. Qing vats are more ornate, with bronze beast-shaped handles and a distinctive rounded body with a small opening at the top. The design evolved, but the purpose never changed. Eighteen of them were different from the rest, made of pure copper and inlaid with gold. They lined the sides of the most important buildings in the palace, including the Hall of Supreme Harmony, the Hall of Preserved Harmony, and the Gate of Heavenly Purity. These gilded vats served as a declaration of imperial wealth as much as a practical means of defense, but they came with a unique problem. During Beijing’s winters, the water inside them

froze solid, rendering the vats useless precisely when the risk of fire was at its highest. The Qing solution was ingenious in its simplicity. Each winter, the vats were fitted with lids and wrapped in quilts, and charcoal braziers were placed beneath them to keep the water from freezing. Guards were assigned to tend these braziers day and night, ensuring that the empire’s firefighting reserves remained liquid through the coldest months. It was a system that required constant attention, constant staffing, and constant funding—but it worked. The Qing dynasty’s investment in fire prevention, from daily inspections to heated water vats, represented one of the most organized urban fire-defense efforts of the pre-modern world. The Forbidden City still stands today, in large part because generations of rulers learned, fire by fire, that a palace made of wood must be defended with water, vigilance, and an unbroken chain of human attention.