Language

Zhuge Liang's Northern Expeditions

228 CE (Taihe 2) · Mount Qi

According to chapters 91 through 96 of the San Guo romance, from the sixth year of Jianxing in Shuhan (228) through the twelfth year (234), Chancellor Zhuge Liang launched a series of military campaigns to attack Caowei to the north — what the romance calls Zhugeliangbeifa (Zhuge Liang's Northern Campaigns), a narrative that is interwoven with the "Six Expeditions out of Qishan." Before the first campaign (Diyicibeifa), Kongming first used Ma Su's stratagem of circulating rumors and fabricating notices attributed to Sima Yi to make the emperor Cao Rui suspect and dismiss him; he then submitted the Memorial on the Eve of the Northern Expedition, led his great army out of Hanzhong, and encamped west of the Wei River. In 228, the opposing Wei commander was the imperial son-in-law Xiahou Mao; Wei Yan proposed a surprise strike through the Ziwu Valley, which Kongming rejected as "not a plan that guarantees success". Shuhan generals Guan Xing, Zhang Bao, and Ma Dai then lured and routed the Qiang chieftains Yue Ji and Ya Dan in the snow, with Kongming employing a ruse of playing the zither to draw out the enemy. Alarmed by the defeats of Cao Zhen, the emperor Cao Rui recalled Sima Yi and gave him command of Changan's defense. After the Jigu Valley defeat in 228, Kongming demoted himself to General of the Right, retaining his administrative functions as chancellor. On the second campaign (Diercibeifa) in 229, the assault on Chencang failed to dislodge the defenders, and when autumn provisions ran out, Shuhan withdrew. In 230, Sima Yi anticipated that the Shuhan forces would return to strike at Qishan and preemptively established defensive positions. These events constitute the romance's multi-chapter account of Shuhan's overall strategy of "offense as defense," covering the specific battles of the first four northern campaigns.

Outcome

Who won, as each book tells it; commanders as the text names them.

Records

No victor stated

Commanders
Shu armyZhuge Liang
Wei's armySima Yi

Vol. 35「相持百餘日。其年八月,亮疾病,卒于軍」

Romance

No victor stated

Commanders
Shu troopsZhuge Liang
Wei troopsSima Yi

Ch. 104「隨傳密令,使魏延斷後,各處營寨一一退去」

Zhuge Liang's Northern Expeditions

Scene

In a snow-covered mountain valley, Shu generals Guan Xing, Zhang Bao, and Ma Dai lead their troops in cleverly luring the Qiang warriors Yue Ji and Yadan into an ambush, where fierce fighting breaks out.

Imagine this scene →
Map of Zhuge Liang's Northern Expeditions, 228–234

Swipe to see the whole map

Map of Zhuge Liang's Northern Expeditions, 228–234See the routes on the live map →
  1. 1228 First Northern Expedition(Mount Qi)
  2. 2228 Zhuge Liang's Second Northern Expedition(Chencang)
  3. 3229 Zhuge Liang's Third Northern Expedition(Wudu)
  4. 4231 Zhuge Liang's Fourth Northern Expedition(Mount Qi)
  5. 5234 Battle of Wuzhang Plains(Wuzhang Plains)

This map follows the five campaigns of 228–234 in the Records; the Romance's "six marches from Mount Qi" is a byword, not six routes through Qishan

The books mostly say only where an army set out and arrived: a Records line is solid between the places they name and dotted where it follows a reconstructed road between them; an open ring marks an end the books don't give.

Why these routes

  • AThe first campaign gave out a march on Mei by the Xie Valley, with a decoy at Ji Valley; the main army struck Mount Qi, and three commanderies went over to Shu.Hist.Records of the Three Kingdoms, juan 35
  • BWei held Longyou thinly, with the Long Mountains between it and Guanzhong; Jieting sat on a main road west of them, so holding it could slow relief from Guanzhong.Schol.【溯源甘肃】话说街亭古战场(甘肃经济信息网)街亭之战 — 维基百科
  • COn every campaign Wei Yan asked for ten thousand men to take another road and join up at Tong Pass, east of this map; Zhuge Liang held him back. The Records don't say which road.Hist.Records of the Three Kingdoms, juan 40
  • DThe Ziwu Valley dash comes from the Weilüe in Pei Songzhi's notes, not the Records' own text: Zhuge Liang found it too risky and took the easier road to Longyou.Schol.子午谷奇谋 — 维基百科
  • EBoth the siege of Chencang and the return to Mount Qi ended when the grain ran out; Zhuge Liang always feared his supplies could not keep up.Hist.Records of the Three Kingdoms, juan 35
  • FGrain went by wooden ox from 231; in 232 the flowing horses and wooden oxen were finished at Huangsha, and in 234 flowing horses carried the grain out through the Xie Valley.Hist.Records of the Three Kingdoms, juan 33Records of the Three Kingdoms, juan 35
  • GIn 233 grain was stockpiled in depots at the mouth of the Xie Valley; in 234 the whole army came out to the Wuzhang Plains and farmed there to stay.Hist.Records of the Three Kingdoms, juan 33Records of the Three Kingdoms, juan 35

The roads north from Hanzhong, in profile (sampled along the drawn roads; approximate)

Qishan Road①③④

≈240 km · top ≈1,900 m

Chencang Road②

≈280 km · top ≈2,000 m

Baoxie Road⑤

≈170 km · top ≈1,900 m

Tangluo Road

≈180 km · top ≈2,300 m

Ziwu Road

≈280 km · top ≈2,200 m

Base map: Natural Earth; terrain: AWS Terrain Tiles (SRTM and others). Roads and marches reconstructed from the sources listed; positions approximate.

Replay the battles on this map in 3D, phase by phase:▶ Zhuge Liang's Northern Expeditions▶ Battle of Wuzhang Plains


Geography

Zhuge Liang's Northern Expeditions
Mount Qi228 CE

What happened next

The Zhuge Liang's Northern Expeditions in 3D

Continue

The Zhuge Liang's Northern Expeditions in 3D

Replay the Zhuge Liang's Northern Expeditions phase by phase on real terrain: troop strengths, movements and turning points at a glance, each marked as coming from the Records of the Three Kingdoms or the Romance.

Watch the Zhuge Liang's Northern Expeditions sand table →16 phases · about 3 min

Related events

In depth

AI analysis

Strategic Background

From a military-history analyst's perspective, Zhugeliangbeifa — as the parent event — serves the narrative function of "providing a unified strategic framework for four specific northern campaigns." The strategic environment of 228 CE was exceptionally harsh for Shuhan: Liu Bei was dead, and Zhuge Liang, governing as regent under the charge of Baidituogu, faced a kingdom that was smallest in territory, smallest in population, and most remotely situated of all the rival states. The strategic rationale for the northern campaigns rested on three layers of judgment. The first was the logic of "offense as defense" — one commandery of Yizhou against the nine commanderies of the Central Plains meant that pure defense amounted to a slow death; Shuhan had to actively create instability for its opponent and force Caowei to commit the bulk of its resources to western-front defense. The second was a "window of opportunity" assessment — in the Romance, Kong Ming tells Ma Su: "Cao Pi is already dead; the young Cao Rui has just taken the throne; all the rest are of no concern. Sima Yi is a man of deep stratagems, and today he commands the armies of Yong and Liang — if he is given time to train them, he will become a great calamity for Shuhan", explicitly identifying "Sima Yi not yet having trained the Guanlong army group" as the key window. The third was political obligation — the pressure on Zhuge Liang to honor his promise to Liu Bei at Baidituogu inclined him strategically toward "demonstrating loyalty through action" rather than seeking security through passivity.

Deployment of Forces

Caowei's overall deployment underwent two reversals. In the early period, the core was Cao Zhen, Xiahou Mao, and Zhang He, who regarded the western front as a "secondary theater" and believed the existing "Guanzhong home-front army corps" was sufficient to repel any attack, without committing highest-level strategic resources. Zhuge Liang exploited this complacency: he first used Ma Su's stratagem to spread the rumor that "Sima Yi intends to rebel" and forged a proclamation attributed to Sima Yi announcing an imminent uprising, thereby arousing Cao Rui's suspicion and leading to Sima Yi's dismissal; as a result, Caowei's Diyicibeifa was in practice conducted by "Cao Xiu and Cao Zhen, commanders with no experience in strategic command". This intelligence operation's success secured a critical early advantage in timing for Shuhan. Shuhan's deployment remained comparatively stable — Zhuge Liang as supreme commander, with Wei Yan, Zhao Yun, Ma Dai, Guan Xing, and Zhang Bao as front-line commanders, and Jiang Wei added as a major force after his defection. Zhuge Liang's clear preference was "frontal advance, gradual conquest of Longright," rejecting Wei Yan's Ziwu Valley surprise-attack plan and insisting on "advancing along the flat road through Longright, proceeding by the rules."

Critical Decision Points

Four decision points run through the four northern campaigns. The first is Zhuge Liang's rejection of Wei Yan's Ziwu Valley surprise attack at the outset of the first campaign — the single most debated strategic decision by military thinkers in all the northern campaigns, compressing two opposing military philosophies, "the cautious approach" versus "the bold surprise attack," into one conversation. The second is Ma Su's loss at Jieting — the turning point from victory to defeat in the first campaign, leading to Zhuge Liang's self-demotion of three ranks and a fundamental change in how he employed personnel for all subsequent campaigns. The third is Zhuge Liang's use of "lute-playing to lure the enemy" to defeat the Qiang commander Yue Ji — though the tactic itself was clever, its deeper strategic significance was converting the Qiang from "Caowei allies" to "neutrals"; in the Romance, Kong Ming releases Ya Dan, saying "you are a neighboring land — let us be forever allied in friendship", a sign that the war was being expanded into a diplomatic enterprise. The fourth is Cao Rui's decision in his moment of crisis to reinstate Sima Yi — "Previously, Zhuge Liang wished to raise troops against the frontier; he feared only this man, so he spread false rumors to make Your Majesty distrust and dismiss him — only then did he dare advance in great force". Cao Rui finally understood he had been deceived by a double-agent ruse, restored Sima Yi as Commissioner-in-Chief of the West, and from that point Caowei's western front entered the "Sima Yi era" — the caliber of the adversary facing Shuhan's northern campaigns suddenly escalated.

Outcome and Echoes

Looking at the overall results of the four northern campaigns, Shuhan never secured a stable foothold in Longright; every campaign ended in withdrawal forced by exhausted supplies, unfavorable terrain, or unforeseen personnel crises. Yet in strategic terms, the campaigns achieved three secondary objectives. First, they kept Caowei perpetually on the defensive, preventing it from concentrating forces for a southward campaign against Sunwu. Second, they elevated Jiang Wei as Shuhan's military successor, preserving Shuhan's unified military-political command in its later years. Third, they crystallized Zhuge Liang's image as a man who "devoted himself without reservation and died in service" into the preeminent spiritual symbol of the scholar-official class throughout the medieval era — its cultural impact far transcended his actual military outcomes. From the adversary's perspective, Sima Yi's "hold and wait" strategy across multiple northern campaigns preserved his command of the western front, and after Zhuge Liang's death in 234 he moved smoothly to absorb the Guanlong army group, accumulating the decisive political and military capital that would eventually bring Simashi to power. Ironically, Shuhan's northern campaigns had cultivated the most dangerous usurper within Caowei itself.

Counterfactual Analysis

Counterfactual one: had Zhuge Liang adopted Wei Yan's Ziwu Valley surprise attack in the first northern campaign, what would have happened? Based on modern topographic research, the Ziwu Valley plank road in the late Han period was poorly suited for the movement of a large army; the risk of five thousand elite troops racing toward Changan with their supply line immediately severing was extremely high. Even if Changan fell briefly, it could not be held, and Shuhan's most elite mobile force would have been squandered. Zhuge Liang's cautious strategy was tactically sound — the problem is that it relinquished the strategic window for "a gamble." Counterfactual two: had Cao Rui not dismissed Sima Yi in 228, how would Shuhan's first northern campaign have unfolded? The advantage gained through the intelligence operation would not exist; the Shuhan army would have faced a western front where "Sima Yi held fortified positions," and even the early windfall of "seizing Tianshui and taking Shanggui" would have been difficult to realize. This fork in the road tells us that the strategic value of Zhuge Liang's counter-intelligence ploy exceeded that of any single battlefield victory. Counterfactual three: had Zhuge Liang not died in 234 but lived another ten years, could he have broken through Sima Yi's war of attrition? The answer is almost certainly no — Shuhan's agricultural population and manpower limits were an absolute ceiling; ten more years could not close the resource gap with Caowei. The most valuable thing ten more years of Zhuge Liang would have accomplished was probably the establishment of a stable succession system for military and civil governance — the difficulties that confronted Jiang Wei, and the short tenures of Jiang Wan and Fei Yi, all trace back to internal institution-building that Zhuge Liang never had time to complete.