In 314 BC, a small settlement was established along the banks of the Li River (Guangxi).
In 111 BC, during the reign of Emperor Wu of the Han Dynasty, Shi An County was established, which could be regarded as the beginning of the city.
In 507 AD, the town was renamed Guizhou.
Guilin prospered in the Tang and Song dynasties but remained a county. The city was also a nexus between the central government and the southwest border, and it was where regular armies were placed to guard that border. Canals were built through the city so that food supplies could be directly transported from the food-productive Yangtze plain to the farthest southwestern point of the empire.
In 1921, Guilin became one of the headquarters of the Northern Expeditionary Army led by Dr. Sun Yat-sen.
In 1940, the city acquired its present name.
In 1981, Guilin was listed by the State Council as one of the four cities (the other three being Beijing, Hangzhou and Suzhou) where the protection of historical and cultural heritage, as well as natural scenery, should be treated as a priority project