A leader of the so-called Danish Golden Age, Ørsted was a close friend of Hans Christian Andersen and the brother of politician and jurist Anders Sandøe Ørsted, who eventually served as Danish prime minister (1853–54).
The oersted (Oe), the cgs unit of magnetic H-field strength, is named after him.