 Li Huaiguang's father was originally named Ru Chang (), but due to his accomplishments while serving as a soldier at Shuofang Circuit (朔方, headquartered in modern Yinchuan, Ningxia), was given the imperial surname of Li and a new personal name of Jiaqing ().Li Huaiguang started his military service when he was young, and he was known for his abilities in martial arts, his bravery, and his strength.He served under Guo Ziyi, who was then serving as the military governor ("Jiedushi") of Shuofang Circuit and who respected him greatly.