He trained with his father Philipp (a portraitist and painter of animals) and his uncle, before going to the Prussian Academy of Arts in Berlin in 1758.
He met and was inspired by Claude Joseph Vernet, who was already famous as a painter of landscapes and seascapes, and the German engraver Johann Georg Wille.
In 1768 Hackert left Paris with his brother Georg, and went to Italy, basing himself mainly in Rome and Naples, where he produced many works for Sir William Hamilton.
He became famous everywhere in Europe due to his works for Catherine the Great, the cycle of paintings about Battle of Chesma, and Pope Pius VI.
He bought an estate in San Pietro di Careggi, near Florence, and he died there in 1807 and was buried in the so-called "Dutch garden" of Livorno.