|Preceded by||An Dehai|
|Born||12 November 1848|
|Died||4 March 1911(aged 62)|
Li Lianying (simplified Chinese: 李连英; traditional Chinese: 李連英; pinyin: Lǐ Liányīng; 12 November 1848 – 4 March 1911) was a Chinese imperial eunuch who lived in the late Qing dynasty. He was highly influential during the regency of Empress Dowager Cixi, who was the de facto ruler of China from 1869–1908 throughout the reigns of the Tongzhi Emperor and Guangxu Emperor.
Li's birth name was Li Yingtai (Chinese: 李英泰; pinyin: Lǐ Yīngtài). He was renamed Li Jinxi (simplified Chinese: 李进喜; traditional Chinese: 李進喜; pinyin: Lǐ Jìnxǐ) after entering the Forbidden City as a palace eunuch in 1856. In 1869, Empress Dowager Cixi gave him a new name, Li Lianying (simplified Chinese: 李连英; traditional Chinese: 李連英; pinyin: Lǐ Liányīng), which became the name he is best known by.
Li was born in a poor family in Zhili Province (roughly present-day Hebei) in 1848 during the reign of the Daoguang Emperor. He had been in the Forbidden City for several years but did not have the chance to even appear in the presence of the West Empress Dowager, Cixi. The eunuch serving Cixi at that time, Little An, did not let any one threaten his position. Li loved to gamble and because of his constant loses, he had racked up an enormous debt. To escape his debtors, Li left his hometown for the capital. Li would often visit an old eunuch who he had met in the Forbidden City. From the old eunuch, Li learned that all the eunuchs who have had the privilege to serve and comb the hair of Cixi have been punished, with the exception of Little An. Li set his goal to become Cixi's favorite eunuch. Thus he set forth to master hair design. He went to brothels, not for the ladies, but to learn how they did their hair. After several months, he had finally mastered every aspect of hair design. The old eunuch made it known that Li was a hair specialist and Li was summoned by Cixi. The empress was very satisfied with his work and became her favorite eunuch, later becoming her head eunuch. Due to only Li satisfying the West Empress Dowager, he was made the general head eunuch in the Forbidden City. 
In 1869, An Dehai, the eunuch who served as Grand Supervisor (大總管), was executed by Ding Baozhen, the Provincial Governor of Shandong, for travelling out of the Forbidden City without permission. Earlier in 1861, Li had helped Empress Dowager Cixi in seizing power from a group of eight regents in the Xinyou Coup, and hence earned her favour. As such, after An Dehai's death, the Empress Dowager chose Li to be her new personal attendant and subsequently promoted him to the position of Grand Supervisor.
As Grand Supervisor and Empress Dowager Cixi's favourite attendant, Li held a highly influential position in the inner palace. He had control over things such as when officials could be granted an audience with the Empress Dowager and, as such, managed to acquire wealth from the bribes he collected from officials. The West Empress Dowager was eager to build up more wealth, so she began to sell official titles. Head Eunuch Li was the middle-man so he got a lot of bribes. When the imperial consorts infuriated Empress Dowager Cixi, Li helped them by speaking good about them in front of the Empress Dowager. Li was suspected of poisoning the Guangxu Emperor, who died in 1908 one day before Cixi's death.
Li requested permission from Empress Dowager Longyu to retire after the death of Empress Dowager Cixi in 1908. Longyu approved his request and allowed him to return home after 100 days had passed since Cixi's death. Li lived the rest of his remaining years in retirement and died in 1911 before the Xinhai Revolution broke out. He was buried in Enjizhuang (恩濟莊) in present-day Haidian District, Beijing. Li was believed to have died from dysentery. However, when his grave was raided in 1966 during the Cultural Revolution, the raiders discovered that his grave contained only his skull, and hence there were rumours that he was murdered (possibly decapitated). Li's grave was heavily damaged during the Cultural Revolution and only a fragment of his tombstone is left.
Portrayals in media
The 1991 Chinese film Li Lianying: The Imperial Eunuch, directed by Tian Zhuangzhuang, is based on Li's life and starred Jiang Wen as Li. The 2012 Hong Kong television series The Confidant, produced by TVB, is also based on Li's life and starred Wayne Lai as Li.
- Laidler, Keith (2003). The Last Empress: The She-Dragon of China. West Sussex, England: John Wiley & Sons Ltd. p. 119.
- Mu, Eric. Reformist Emperor Guangxu was Poisoned, Study Confirms". Danwei. November 3, 2008. Retrieved November 2, 2011.