What Is the Shanhaijing? A Plain-English Guide to China’s Oldest Bestiary
A walkthrough of the Chinese Five Elements (Wuxing) — what Wood, Fire, Earth, Metal, and Water actually mean, how this site picks one from your birth year, and what the shortcut leaves out.
A lot of names you have probably bumped into — the nine-tailed fox in Naruto, the Kunpeng in Black Myth: Wukong, the phoenix on the back of older Chinese banknotes — all show up in one place: a book called the Shanhaijing (《山海经》), or the Classic of Mountains and Seas. The book is not famous in English, but it is the source for most of the creatures in Chinese folklore. This post is the version I wish someone had written for me when I first opened it. What it actually is, what is inside, and why the 24 creatures in the birthday guardian tool all come from here.
What it actually is
The Shanhaijing is short by the standards of ancient Chinese classics — about 31,000 Chinese characters across 18 chapters. The Five Mountain Classics (五山经) come first, then thirteen chapters of Sea Classics (海经), Great Wilderness Classics (大荒经), and the Inland Classics (海内经). It reads less like a story and more like a survey. For each location it gives you the rough geography (which mountain is X li west of which), what grows or roams there, and what to expect if you happen to encounter it.
It was not written all at once. Scholars now think the Mountain chapters are older, probably compiled in the Warring States period around the 4th century BCE, while the Sea chapters and Great Wilderness sections were added through the Han dynasty, finishing somewhere around the 1st century CE. The Wikipedia entry on the Classic of Mountains and Seas is a good overview if you want a fuller scholarly summary, and the Baidu Baike entry on 山海经 covers the Chinese-language consensus.
What is inside it
For anyone reading it cold, the easiest way to get oriented is to think of it as a multi-purpose reference book that the people who wrote it took completely seriously. Inside, you will find:
- 277 mountains charted with distances, directions, and what is mined there
- 300+ rivers traced from source to mouth
- around 100 named kingdoms and peoples on the peripheries of the known world — some matching real groups from Chinese history, others purely mythical (the people of Yumin 羽民 who hatch from eggs, the people of Sanshen 三身 with three bodies sharing one head)
- over 400 unique creatures and deities — the chapter content that survives best in pop culture
- about 100 plants, minerals, and animals with claimed medicinal uses, a number of which the Tang dynasty Bencao Gangmu (《本草纲目》) inherited centuries later
The book is genre-fluid in a way that is hard to describe in modern terms. Part geography, part bestiary, part shamanic handbook, part pharmacology. It does not try to organize itself by category — you might get a mountain, then a deer with a human face, then a river that cures jaundice, then a kingdom of one-eyed people, then a mountain again.
Who wrote it, and who shaped it later
The traditional attribution credits Yu the Great (大禹) or his minister Bo Yi (伯益), the legendary tamers of floods in the third millennium BCE. No serious scholar believes this anymore — the language and content are too obviously layered. The book is, more honestly, anonymous: compiled by multiple hands over several centuries, with later editors adding chapters.
The first real editorial work happened in the Western Han, when Liu Xiang (刘向) and his son Liu Xin (刘歆) collated the imperial library between roughly 26 BCE and 6 CE. The first systematic commentary came from Guo Pu (郭璞), a polymath of the Eastern Jin dynasty, around 320 CE. He went through line by line, explaining unfamiliar plants and creatures using sources that were already getting fragmented even in his time.
For modern readers, the standard scholarly reference is Yuan Ke’s (袁珂) Shanhaijing Jiaozhu (《山海经校注》), first published in 1980. Yuan Ke spent decades on it. His edition is what most academic citations point to, and it is the one I worked from when picking creatures for the birthday tool.
Three creatures worth knowing first
If you have never read the Shanhaijing and want a sample, these three are good entry points. All three appear in the birthday guardian tool, and all three have lives outside the book worth knowing.
Xuanwu (玄武, the Black Tortoise) — From the Northern Mountains chapter. A tortoise entwined with a snake, lord of the north, protector of long winters. By the Han dynasty, Xuanwu had become one of the Four Symbols (四象) of the cardinal directions, alongside Qinglong, Baihu, and Zhuque. The mountain it is most associated with is Wudangshan (武当山), still one of China’s main Taoist pilgrimage sites. In the birthday tool, Xuanwu corresponds to the Major Cold solar term, around January 20.
Qilin (麒麟, the celestial unicorn) — Appears in the Hainei Jing (Inland Classics). A composite creature with a deer’s body, a single horn, and scaled skin — described as the most virtuous of beasts. The Qilin would not step on growing grass or eat anything that was once alive. A Qilin was said to have appeared at the birth of Confucius and again before his death, which is why his unfinished Spring and Autumn Annals end with the phrase “捕获麟” (“a unicorn was caught”). In the tool, the Qilin corresponds to the Spring Equinox.
Baize (白泽, the all-knowing beast) — A short entry in the original Shanhaijing that grew vastly in later Taoist literature. The Baize encountered the Yellow Emperor on Mount Donghai and dictated to him the names and forms of 11,520 supernatural beings — every ghost, spirit, and monster in the world. The resulting text, the Baize Tu (《白泽图》), was lost in the Tang dynasty but is referenced everywhere it survives. The Baize corresponds to the End of Heat solar term.
Why we still read this book
The Shanhaijing has lived a strange life. Mainstream Confucian scholars treated it as suspect from the Han dynasty onward — too credulous, too full of monsters, not the kind of book a serious person should be quoting. Sima Qian (司马迁), in the Records of the Grand Historian, said outright that he did not dare cite it. But it survived because everyone else kept reading it. The poet Qu Yuan (屈原) borrowed from it for the Chu Ci. Tao Yuanming (陶渊明) wrote thirteen poems just about reading it. Li Bai (李白) and Du Fu (杜甫) used its creatures as imagery. Pu Songling’s (蒲松龄) Strange Tales from a Chinese Studio pulls from it constantly. In recent decades, Hayao Miyazaki has cited it as a reference, the game Black Myth: Wukong is steeped in it, and most modern Chinese fantasy films with a creature in them borrow shapes from these pages.
It survived because it is strange in the right way. Not a moral text or a religious text or a complete cosmology. Closer to a field notebook from the early Chinese imagination — a record of what the world looked like when people still believed the edges of it might be inhabited by creatures with three heads and human faces. As someone who builds tools that try to honor this material without claiming to interpret it as fortune-telling, this is the part I keep coming back to: the book is a cultural mirror, not a guide. The creatures in the birthday tool are meant the same way.
If you want to read further
Two recommendations if you want to read the Shanhaijing for yourself:
- For English: Anne Birrell’s 1999 Penguin Classics translation is the most accessible. Some of the proper nouns have aged a bit, but the prose is readable and the apparatus is thorough.
- For Chinese: Yuan Ke’s commentary, 1980, still the standard. The People’s Literature Publishing House printing is the most widely sold.
If you want the modern application — which creature is paired with your birthday and why — the Spirit Guardian tool takes a date and returns the guardian for that solar term, with a short description borrowed from Yuan Ke’s commentary and adapted for an English-reading audience. For the full creature-by-creature guide with all 24 entries, see All 24 Birthday Creatures, Explained.
One more thing
The Shanhaijing is not trying to predict anything. It was just trying to describe a world. Two and a half thousand years later, that description is still worth reading — if only because it tells you something about who was paying attention to mountains, rivers, and beasts a very long time ago, and what they thought was important enough to write down.
— Want to keep reading? Try All 24 Birthday Creatures, Explained next, or read about the Five Elements and how they tie into the tool.