开元七年,道士有吕翁吕翁即吕洞宾的原型之一。后世传说将此道士与八仙之一的吕洞宾联系起来,但沈既济原文只称"吕翁",保持了神秘感。他是故事中的"度化者"——以一个枕头让卢生看透人生。者,得神仙术。行邯郸邯郸古赵国都城(今河北邯郸),自古是交通要道和繁华都市。邯郸在文学中常与"梦"相关联——"邯郸道"后来成为追求功名之路的代名词。道上,息邸舍,摄帽弛带,隐囊而坐。
俄见旅中少年,乃卢生也。衣短褐,乘青驹,将适于田,亦止于邸中。与翁共席而坐,言笑殊畅。久之,卢生顾其衣装敝亵,乃长叹息曰:「大丈夫生世不谐,困如是也!」
翁曰:「观子体肤无恙,谈谐方适,而叹其困者,何也?」生曰:「吾此苟生耳,何适之谓?」翁曰:「此不谓适,而何谓适?」生曰:「士之生世,当建功树名,出将入相,列鼎而食,选声而听,使族益昌而家益肥,然后可以言适。吾尝志于学,富于游艺,自惟当年,青紫可拾。今已适壮,犹勤畎亩畎亩田间,田地。"畎"为田间小沟,"亩"为田地单位。卢生以"勤畎亩"自嘲仍在务农,无法出仕,体现了唐代文人对"士"与"农"身份落差的焦虑。,非困而何?」
In the seventh year of Kaiyuan, a Daoist priest named Elder Lu吕翁 Lǚ WēngOne of the prototypes of Lü Dongbin, one of the Eight Immortals. Later legends connected this Daoist with Lü Dongbin, but Shen Jiji's original text simply says "Elder Lu," maintaining mystery. He is the tale's "guide to enlightenment" — using a pillow to let Lu see through life's illusions. possessed the arts of the immortals. Traveling the road through Handan邯郸 HándānThe ancient capital of Zhao (modern Hebei Handan), long a major crossroad and prosperous city. In literature, Handan is often associated with dreams — "the Handan road" later became a metaphor for the pursuit of official success., he rested at an inn, removed his hat and loosened his belt, and sat leaning against a bundle.
Soon a young traveler appeared — Scholar Lu — wearing short hemp garments and riding a gray donkey, on his way to the fields. He too stopped at the inn. Sitting beside the elder, they talked and laughed with great ease. After a time, Lu noticed his own shabby clothing and sighed deeply: "A great man born into misfortune — such is my wretched state!"
The elder said: "Your body is healthy, your conversation flows freely — why do you sigh at your circumstances?" Lu said: "I merely exist; what ease is there in that?" The elder asked: "If this is not ease, what would you call ease?" Lu replied: "A scholar born into the world should establish merit and fame, serve as general and minister, dine from ranked cauldrons, listen to selected music, enrich his clan and fatten his household — only then can he speak of ease. I once devoted myself to learning and mastered the arts, believing that in my prime I could grasp high office. Now I am well into maturity, still laboring in the fields畎亩 quǎn mǔFields and farmland. "Quan" is a small irrigation ditch; "mu" is a unit of land. Lu's self-mockery at still being a farmer captures the Tang literati's anxiety about the gap between "scholar" and "peasant" identities. — if this is not wretchedness, what is?"
"Serve as general outside, minister inside" — the highest ideal of Tang literati. Lu's dream is not wealth but supreme political achievement, reflecting the Tang scholar's ultimate orientation toward official success.
翁曰:「此不谓适,而何谓适?」答曰:「吾尝志于学,富于游艺,自惟当年青紫可拾。今已适壮,犹勤畎亩,非困而何?」言讫,而目昏思寐。时主人方蒸黍黍黄米,即小米。"黄粱"之名由此而来——一锅小米饭从下锅到煮熟不过半个时辰,卢生的一生富贵就在这半个时辰的梦中全部经历了。。翁乃探囊中枕以授之,曰:「子枕此枕,当令子荣适如志。」
其枕青瓷,而窍其两端。生俯首就之,见其窍渐大,明朗。乃举身入处,遂至其家。数月,娶清河崔氏女。女容甚丽,生资愈厚。
明年,举进士,登第。释褐秘校,应制转渭南尉。俄迁监察御史。转起居舍人,知制诰。三载,出典同州,迁陕牧。生性好土功,自陕西凿河八十里,以济不通。邦人利之,刻石纪德。移节汴州汴州今河南开封。汴州在唐代是大运河的重要节点,商业繁荣。卢生一路升迁至此,已经从田间少年变成了封疆大吏。,领河南道采访使,迁京兆尹。
The elder said: "If this is not ease, what is?" Lu answered: "I once devoted myself to learning and mastered the arts, believing that in my prime I could grasp high office. Now I am well into maturity, still laboring in the fields — if this is not wretchedness, what is?" Having spoken, his eyes grew heavy with sleep. The innkeeper was steaming millet黍 shǔYellow millet — the source of the name "Golden Millet Dream." A pot of millet takes only half an hour to cook, yet Lu's entire life of glory unfolds within that half-hour dream.. The elder drew a pillow from his bundle and gave it to him: "Rest your head on this pillow, and it shall grant you the prosperity and ease you desire."
The pillow was of blue porcelain, with a hole at each end. Lu bent his head toward it; the opening seemed to grow larger and brighter. He stepped through entirely and found himself at his own home. Within months, he married a daughter of the Cui family of Qinghe. The maiden was most beautiful, and his fortune grew richer.
The next year he passed the jinshi examination and received his degree. He was first appointed to the Palace Library, then promoted to Weiwei County commandant through an imperial selection. Soon he became a supervising censor, then a court diarist and edict drafter. After three years, he was posted to Tong Prefecture, then promoted to governor of Shaan. Fond of engineering, he dug an eighty-li canal to improve transportation. The people erected a stone monument to his virtue. He was transferred to Bian Prefecture汴州 Biàn ZhōuModern Kaifeng, Henan. Bian Prefecture was a major node on the Grand Canal, commercially prosperous. Lu's promotion from field laborer to regional governor completes his transformation. as inspector-general of Henan, then promoted to mayor of the capital.
是夕,薨。卢生欠伸而悟,见方偃于邸中,顾吕翁在旁,主人蒸黍未熟。蹶然而兴曰:「岂其梦寐也?」翁谓生曰:「人生之适,亦如是矣。」
生怃然良久,谢曰:「夫宠辱之道,穷达之运,得丧之理,死生之情,尽知之矣。此先生所以窒吾欲也。敢不受教!」稽首再拜而去。
That evening, he died. Scholar Lu awoke with a yawn and a stretch, finding himself still lying at the inn. He looked around — Elder Lu sat beside him, and the innkeeper's millet was not yet done. He started up and exclaimed: "Was it all a dream?"
The elder said: "The satisfactions of life are just like this." Lu was lost in thought for a long time, then bowed and said: "The ways of favor and disgrace, the fortunes of poverty and success, the logic of gain and loss, the feelings of life and death — I now understand them all. This is how you blocked my desires, Master. How dare I not accept your teaching!" He kowtowed twice and departed.
文学价值
《枕中记》是中国"黄粱一梦"故事的原型,与《南柯太守传》并称唐代两大"梦典"。沈既济的高明之处在于:他用一个极为简洁的时间对比(一锅黄粱饭从下锅到煮熟),承载了一个完整的人生叙事——从新婚到及第,从升迁到贬谪,从再起到衰老,从荣华到死亡。整个"一生"浓缩在约五百字中,每一个节点都精准如年表。
结尾"主人蒸黍未熟"五个字,是中国文学中最具哲学密度的句子之一。与《南柯太守传》的"余樽尚湛于东牖"异曲同工,但更简洁、更有力——连一锅饭都没煮好,人已经经历了一生。
文化语境
沈既济本人曾因政治事件被贬,这篇作品带有强烈的人生感悟色彩。"黄粱一梦"后来成为汉语中使用最广泛的成语之一,与"南柯一梦"并称。与"南柯"侧重权力解构不同,"黄粱"更侧重对人生全过程的感悟——不只是"当官没意思",而是"整个人生都没意思",这种更彻底的虚无感使其哲学深度超越了前者。
Literary Merit
"Inside the Pillow" is the prototype of the Chinese "Golden Millet Dream," paired with "Governor of the Southern Tributary" as the two great Tang "dream tales." Shen Jiji's brilliance lies in using an extremely concise temporal contrast (a pot of millet cooking) to contain a complete life narrative — from wedding to examination success, promotion to demotion, comeback to aging, glory to death. An entire "lifetime" is compressed into roughly five hundred characters, each turning point as precise as an annal.
The ending phrase "the innkeeper's millet was not yet done" is among the most philosophically dense sentences in Chinese literature. Similar to "the remnant wine still glistening" from the Southern Tributary tale, but more concise and powerful — not even a pot of rice has finished cooking, yet a man has already lived an entire life.
Cultural Context
Shen Jiji himself was exiled due to political events, giving this work a strong quality of life reflection. "Golden Millet Dream" became one of the most widely used Chinese idioms. Unlike "Southern Tributary" which focuses on deconstructing power, "Golden Millet" focuses more on life's entire arc — not just "office is meaningless" but "an entire life is meaningless." This more thorough nihilism gives it philosophical depth beyond its companion tale.
典出此篇。"黄粱"即小米,一锅小米饭从下锅到煮熟不过半个时辰(约一小时)。卢生在这短短时间里经历了娶妻、及第、升迁、贬谪、再起、衰老、死亡的完整人生。后世用"黄粱一梦"比喻人生短暂、富贵虚幻。宋·苏轼"世事一场大梦,人生几度秋凉"即化用此典。
Originating from this tale. "Golden millet" (小米) takes only half an hour to cook. In that brief time, Lu experiences marriage, examination success, promotion, demotion, comeback, aging, and death. Later generations used "Golden Millet Dream" to mean life is brief and fortune illusory. Song poet Su Shi's "The world is one great dream; how many autumns of cold in a lifetime?" draws directly from this allusion.
"邯郸道"后来成为追求功名之路的经典隐喻。汤显祖《邯郸记》(临川四梦之一)直接以此为背景。邯郸在唐代是连接长安与东方的重要驿道上的繁华都市,行人络绎——他们中的大多数正如卢生一样,怀揣"出将入相"的梦想行走在邯郸道上。
"The Road to Handan" later became a classic metaphor for the pursuit of official success. Tang Xianzu's "The Handan Dream" (one of the Four Dreams of Linchuan) uses it directly as setting. In the Tang dynasty, Handan was a prosperous city on the major post road connecting Chang'an to the east, with travelers unceasing — most of them, like Lu, walking the Road to Handan with dreams of supreme glory.
Idioms — "Golden Millet Dream," "Beautiful Golden Millet Dream," and "Handan Dream" all derive from this tale, becoming the most frequently used dream metaphors in Chinese.
Ming Dynasty — Tang Xianzu's "The Handan Dream" (one of the Four Dreams of Linchuan), enriching the classic with greater dramatic conflict and political satire.
Architecture — The "Golden Millet Dream" scenic area (Lüxian Temple) in Handan recreates the story's scenes in garden form, becoming a famous tourist attraction.