Lü Yin was born in 712, around the time when Emperor Xuanzong became emperor.
Early in Emperor Xuanzong's Tianbao era (742-756), Lü passed the imperial examinations and was made the sheriff of Ningling County.