The Western Yan (Chinese: 西燕; pinyin: Xīyàn; 384-394) was a state of Xianbei ethnicity during the era of Sixteen Kingdoms in China. It was founded by Murong Hong in 384 in the aftermaths of Former Qin's defeat by Jin Dynasty (265-420) at the Battle of Fei River, with the stated intent of permitting the Xianbei, whom Former Qin's emperor Fu Jiān had relocated to Former Qin's capital region after destroying Former Yan in 370. It initially also was intended to rescue the last Former Yan emperor Murong Wei, until he was executed by Fu Jiān in 385. It was a state that was characterized by extreme political instability and internal fighting, as all seven of its rulers (during a short span of 10 years) died of unnatural causes. After eviscerating Former Qin, the people of the state abandoned the Guanzhong region and headed east back toward their homeland, but eventually settled down in modern Shanxi. It was destroyed in 394 as Later Yan's emperor Murong Chui wanted to reunite the people formerly of Yan and conquered it.
Some rulers of the Western Yan declared themselves emperors while some declared themselves wang (translatable as either "king" or "prince").