Born in Ins as the son of Veterinarian Samuel Anker (then a member of the constituent assembly of the Canton of Bern), Anker attended school in Neuchâtel, where he and Auguste Bachelin, later a fellow Artist, took early drawing lessons with Louis Wallinger in 1845–48. In 1849–51, he attended the Gymnasium Kirchenfeld (de) in Bern, graduating with the Matura. Afterwards, he studied theology, beginning in 1851 in Bern and continuing at the university of Halle, Germany. But in Germany he was inspired by the great art collections, and in 1854 he convinced his father to agree to an artistic career. In Neuchâtel he got his name Albert, because it was much easier to pronounce for his French speaking classmates.