Cui Zhi was born in 772, during the reign of Emperor Daizong. His father Cui Yingfu served as the magistrate of Lujiang County and was a younger brother to the official Cui Youfu, who would eventually serve as a chancellor during the early years of the reign of Emperor Daizong's son Emperor Dezong. When Cui Youfu died in 780 without a son, he designated Cui Zhi as his heir, and Cui Zhi was adopted into Cui Youfu's line. Cui Zhi was said to be studious in the Confucian classics and histories, particularly the I Ching.
During Emperor Xianzong's reign
As of 818, during the reign of Emperor Dezong's grandson Emperor Xianzong, Cui Zhi was serving as an imperial attendant, when the chancellor Huangfu Bo, who was known for pleasing Emperor Xianzong by finding additional revenues for him, proposed that the officials' salaries be reduced. When Emperor Xianzong issued an edict to that effect, Cui, as he had the authority to do so as Jishizhong, sealed the edict, returned it to Emperor Xianzong, and submitted a petition arguing at length why the proposal was a poorly-conceived one. With Cui's opposition, Emperor Xianzong abandoned the proposal. Cui was soon made deputy chief imperial censor.
During Emperor Muzong's reign
In 820, after Emperor Xianzong had died earlier in the year and been succeeded by his son Emperor Muzong, Cui was made Zhongshu Shilang, the deputy head of the legislative bureau of government, and de facto chancellor with the title Tong Zhongshu Menxia Pingzhangshi. In 821, Liu Zong the military governor of Lulong Circuit, whose circuit had long been ruled in a de facto independent manner from the imperial government, offered to resign and surrender control of the circuit to the imperial government. To try to ensure that the people of the circuit would submit to imperial rule, Liu proposed that the circuit be divided into three circuits, recommending the former chancellor Zhang Hongjing, the general Xue Ping, and the official Lu Shimei to take over the three circuits, while he also sent a number of officers, such as Zhu Kerong, that he found difficult to control to the capital Chang'an, asking that they be given commissions and honors so that the soldiers of Lulong would be encouraged by the examples to obey imperial orders. Emperor Muzong accepted Liu's submission, but did not fully implement Liu's partition plan; two prefectures of Lulong were given to Lu, but the remaining prefectures were all given to Zhang, under the suggestion of Cui and fellow chancellor Du Yuanying, who did not understand the rationale of Liu's plan. Further, Zhu and the other officers that Liu sent to Chang'an were not given offices or salaries, and it was said that as they lacked income, they fell into financial desperation, even requiring loans for their food and clothing, despite their frequent submission of requests for offices to Cui and Du. When Zhang arrived at Lulong, he ordered Zhu and the others to return to Lulong, further angering them. In fall 821, Lulong soldiers mutinied and put Zhang and Lu under arrest, supporting Zhu as their leader. Meanwhile, Cui Zhi's cousin Cui Ling, then the director of finances, was blamed for mutiny at another circuit, Chengde Circuit. Chengde, like Lulong, had been long ruled de facto independently from the imperial government until Emperor Xianzong's lengthy campaigns forced it into submission. After Wang Chengzong, the last in a line of his family who served as military governor-rulers of the circuit, died in 820, Emperor Muzong made Tian Hongzheng, the military governor of neighboring Weibo Circuit, military governor of Chengde. As Tian had battled Chengde troops for years, he believed that the Chengde soldiers would resent him deeply, so he took 2,000 Weibo soldiers with him to Chengde to protect himself. He requested the imperial directory of finances to pay for the soldiers. However, Cui Ling, not realizing how serious the situation was, believed that given that Tian commanded Chengde troops, Chengde troops had the responsibility of protecting him, and thus refused to pay to allow the Weibo soldiers to remain. After Tian submitted four petitions to no avail, he was forced to return the Weibo troops to Weibo. In fall 821, shortly after the Lulong mutiny, the Chengde soldiers mutinied under the leadership of Wang Tingcou and killed Tian. Subsequently, when the imperial troops were unable to defeat Lulong and Chengde troops, Emperor Muzong was forced to commission Zhu and Wang as military governors, leading to the effective loss of Lulong and Chengde. As the popular sentiment at the time blamed Cui Zhi and Cui Ling for the loss of the region north of the Yellow River, Cui Zhi became embarrassed. Shortly after he was removed from his chancellor position and made the minister of justice. He was soon made the governor of Eyue Circuit.
During Emperor Jingzong's and Emperor Wenzong's reigns
After Emperor Muzong died in 824 and was succeeded by his son Emperor Jingzong, Cui Zhi was made the military governor of Lingnan Circuit as well as the prefect of its capital Guang Prefecture. In 827, by which time Emperor Jingzong's brother Emperor Wenzong was emperor, Cui was recalled to the capital to serve as minister of census. In 828, Cui was made the prefect of Hua Prefecture and the commander of Zhen'guo Army, stationed at Hua Prefecture. He died in 829 while at Hua Prefecture.