Liu Ji was of noble descent. His ancestor was Liu Fei, the eldest son of the Han dynasty's founder, Liu Bang. His father, Liu Yao, was a minor warlord who served as the Governor of Yang Province from 194 to 198. When Liu Yao died in 198 in Yuzhang Commandery, Liu Ji, then 13 years old, presided over his father's funeral. He received many condolence gifts from those who attended the funeral but he declined all of them. A year later, when the warlordSun Ce passed by Yuzhang Commandery, he collected Liu Yao's remains, arranged a proper memorial service for Liu Yao, and treated Liu Yao's family kindly. Wang Lang also advised Sun Ce to treat Liu Ji well: " The eldest son of Zhengli has great ambition. I believe there is something extraordinary about him. Wouldn't it be good to treat him with kindness?" Liu Ji grew up in poverty and hardship with his two younger brothers, Liu Shuo and Liu Shang. The environment trained him to be sensible and empathetic. He often slept late and woke up early. Even his wife and concubine hardly saw him. His brothers respected and feared him, and treated him like their father. He also refrained from having a wide social network, and rarely hosted guests at home. Liu Ji had a good-looking appearance. Sun Ce's younger brother and successor, Sun Quan, highly respected and favoured him. In 219, when Sun Quan was appointed General of Agile Cavalry by the Han imperial court, he recruited Liu Ji to serve as an Assistant in the East Bureau and subsequently promoted him to Colonel Who Upholds Righteousness and Palace Gentleman Who Builds Loyalty. In 221, after Sun Quan received the nominal vassal title "King of Wu" from the Wei emperor Cao Pi, he appointed Liu Ji as Grand Prefect of Agriculture. He threw a feast to celebrate with his subjects. During the feast, Yu Fan, an official under Sun Quan, showed disrespect towards his lord. When an enraged Sun Quan drew his sword and wanted to kill Yu Fan, Liu Ji stood up, grabbed Sun Quan and pleaded with him to spare Yu Fan. He told Sun Quan, "If Your Majesty kills a good man when you're drunk, even if Yu Fan is in the wrong, who would understand the truth? Your Majesty is famous and respected because you showed acceptance and tolerance towards virtuous and talented people over the years. Is it worth ruining your good reputation in just one day?" Sun Quan said, "If Cao Mengde can kill Kong Wenju, why can't I do the same to Yu Fan?" Liu Ji replied, "Mengde killed virtuous people recklessly, hence he didn't win over people's hearts. Your Majesty promotes moral values and righteousness, and wishes to be compared to Yao and Shun. Why are you comparing yourself to him?" Sun Quan then spared Yu Fan and instructed his men to ignore his orders in the future if he was not sober when he ordered someone to be executed. On one hot summer day, when Sun Quan was feasting on board a ship, a thunderstorm suddenly broke out. After his servants came to shelter him from the downpour, Sun Quan ordered them to do the same for Liu Ji too, but not any other subject. This incident showed how much Sun Quan favoured Liu Ji. Liu Ji later became the Prefect of the Gentlemen of the Palace. In 229, after Sun Quan declared himself emperor and established the state of Eastern Wu, he appointed Liu Ji as Minister of the Household, in addition to giving him some duties of a Master of Writing. Liu Ji died in 233 at the age of 49. Liu Ji's daughter married Sun Ba, one of Sun Quan's sons. She lived in a first-class residence and received gifts from Sun Quan all year round. Sun Quan's treatment of her was equivalent to that of two of his other daughters-in-law – Quan Huijie and Consort Zhang.