Mention a fox in Chinese and watch the word do two jobs at once. Huli jing (huli jing, “fox spirit”) can mean a supernatural being of terrifying accomplishment — an animal that has meditated its way through centuries of cultivation until it can wear human shape, walk into a city, and out-argue the scholars. It is also, in everyday speech, a slap: calling someone a huli jing accuses them of being a homewrecker. Few creatures in world folklore have traveled so far — from auspicious omen to national insult to beloved television heroine — without ever changing shape.

Halloween is the season for monsters, but the fox spirit is a different kind of creature: China’s great shapeshifter, whose real power was never claws or fangs but the ability to be exactly who you wanted her to be. Her story runs three thousand years, and it keeps changing sides.

The fox that started as good news

The fox’s earliest starring role is an honor roll. The Shan Hai Jing (Classic of Mountains and Seas, China’s ancient gazetteer of impossible places) describes a four-legged, nine-tailed beast in the land of Qingqiu, and in early accounts the nine-tailed fox was a sign of blessing: see one, and a sage ruler was on the way. Legend attached it to the marriage of Yu the Great (Da Yu, the tamer of the great flood) to a woman of the Tushan clan — a union the fox was said to have heralded. Han dynasty tombs carved it beside the Queen Mother of the West (Xiwangmu), a respectable seat in the highest divine company.

Then the fox changed careers. In the vast novelistic universe of the Investiture of the Gods (Fengshen Yanyi), the last tyrant of the Shang dynasty is undone by his consort Daji — who, in the novel’s telling, is no woman at all but a thousand-year fox spirit wearing the real Daji’s skin. The fox had become the empire’s scapegoat: when a dynasty fell, the story needed a reason, and a beautiful woman who was secretly a beast was the reason that kept everyone else’s hands clean. From that point on, the huli jing was cast as the beautiful catastrophe — a creature whose intelligence, beauty, and ambition could not be permitted to belong to a woman, so they were assigned to an animal instead.

The scholar and the fox

What rescued the fox from the villain’s chair was literature — and, specifically, love. Tang dynasty tales already showed fox women who loved, married, and mourned like humans. But the great flowering came in the seventeenth century with Pu Songling, a failed examination candidate in rural Shandong who collected ghost and fox stories from travelers and wrote them up as Liaozhai Zhiyi (Strange Tales from a Chinese Studio). Pu’s foxes are the most fully human beings in his pages — braver, funnier, and more loyal than the mortal men around them. A fox girl laughs at propriety; a fox student outperforms the scholars; a fox wife saves a family that would have cast her out. The unspoken argument of the whole book is devastating in its simplicity: the “animals” behave better than the people.

Folk religion went further and simply enrolled the fox. Across northern China, fox shrines stood inside courtyard walls and temple complexes, and the fox headed one of the five great animal clans (the fox, snake, hedgehog, weasel, and rat, worshipped as the hu, huang, bai, liu, and hui families) — household gods to be respected, fed, and never, ever insulted. A family that honored the fox clan might prosper; one that slighted them might find its fortunes mysteriously twisted. This was not a metaphor to villagers. It was bookkeeping.

East of the sea, a different fox

Japan received the fox through China and gave it a different job. The Japanese kitsune serves as the messenger of the rice deity Inari, honored at thousands of shrines where fox statues guard the gates. Fox possession and fox illusion exist in Japanese folklore too, but the dominant register is sacred service, not seduction. Compare the two traditions and the split is revealing: same animal, same shapeshifting powers, same intimacy with human households — yet in Japan the fox mostly works for the gods, while in China it kept making its own arrangements, cultivating its own immortality, choosing its own lovers. The Chinese fox is the freelance.

Why the fox became the villain

So why did one of China’s earliest auspicious beasts end up as a byword for the homewrecker? The answer is less about foxes than about what the fox was allowed to represent. Here is a being that acquires power outside every legitimate channel: not through birth, not through the examination system, not through official appointment — through private cultivation, at night, alone. It enters the human world by passing, undetected, as the very people the system was built around. For a culture obsessed with legitimate advancement and proper gates, the fox is the ultimate gate-crasher, and it wears the most disqualifying disguise of all: a beautiful, clever woman.

Modern Chinese has kept both registers in daily use. The insult survives — a rival called a huli jing is being accused of stealing a heart by trickery — but the last few decades have staged a full rehabilitation. Fantasy dramas, animated films, and web novels have crowded with fox heroines whose thousand-year cultivation is played as dedication rather than deceit, and audiences root for them without irony. The fox, as usual, simply changed shape to fit the times.

There is a quiet irony in where the fox ended up. The Chinese dragon — the empire’s grandest supernatural creature — got the palace, the throne, and the national emblem by being everyone’s legitimate ancestor; the fox got the back alleys and the night markets by being nobody’s. Yet ask which of the two better mirrors ordinary human longing — the wish to remake yourself through effort and a little luck — and the answer is not the dragon. Read the dragon’s side of the contrast in The Chinese Dragon: Not the Dragon You Know, and meet another animal that won immortality the honest way, by working for it, in The Jade Rabbit: China’s Lunar Companion.

And if you are wondering why the fox — with all those centuries of cultivation — never made it into the twelve signs, you are asking exactly the right question. The zodiac’s roster is a story about which animals got chairs at the emperor’s table, and it is told in The Chinese Zodiac: It’s Not Your Horoscope.