 Born in Leith, Thomas Anderson graduated from the University of Edinburgh with a medical doctorate in 1841.Having developed an interest in chemistry during his medical studies, he then spent several years studying chemistry on European continent including spells under Jöns Jakob Berzelius in Sweden and Justus von Liebig in Germany.Returning to Edinburgh, he worked at the University of Edinburgh and at the Highland and Agricultural Society of Scotland.