	Lloyd joined the Royal Artillery as a second-lieutenant on 6March 1795. He was promoted to first-lieutenant on 18June 1796; to captain-lieutenant on 12September 1803; to second-captain on 19July 1804; to captain on 22October 1806 and to brevet major on 4June 1814.