He was born in Aberdeen. In 1857 he gained a bursary at Marischal College, and graduated MA in 1861, with the highest honours in classics and philosophy. In the same year he won a Fergusson scholarship of £100 a year for two years, which enabled him to pursue his studies outside Scotland. He went first to University College, London; at the University of Heidelberg he worked on his German; at the Humboldt University in Berlin he studied psychology, metaphysics and also physiology under Emil du Bois-Reymond, and heard lectures on Hegel, Kant and the history of philosophy, ancient and modern. After two months at the University of Göttingen, he went to Paris in June 1863. In the same year he returned to Aberdeen and helped Alexander Bain with the revision of some of his books. In 1864 he was appointed to help William Duguid Geddes with his Greek classes, but he devoted his vacations to working on philosophy. In 1866 he was appointed professor of philosophy of mind and logic at University College, London. He remained there until he was forced by ill-health to resign a few months before his death, lecturing on logic, deductive and inductive, systematic psychology and ethics. He left little published work. A comprehensive work on Hobbes was never completed, though part of the materials were used for an article in the Encyclopædia Britannica, and another portion was published as one of Blackwood's "Philosophical Classics." Together with Bain, he edited George Grote's Aristotle, and was the editor of Mind from its foundation in 1876 till 1891. Robertson had a keen interest in German philosophy, and took every opportunity to make German works on English writers known in the United Kingdom. In philosophy he was a follower of Bain and John Stuart Mill. He and his wife, the college administrator Caroline Anna Croom Robertson, were involved in social work; he sat on the Committee of the National Society for Women's Suffrage, and was actively associated with its president, John Stuart Mill. He also supported the admission of women students to University College. He died in 1892 joining his wife who died earlier that year.