Caspar Peter Hagerup (12 April 1777 – 28 August 1840) was a Norwegian civil servant.
He was born in Christiansand. He enrolled as a student in 1797, and finished the studies to be appointed town clerk (byskriver) in the Danish town of Calundborg in 1801. In 1809 he was appointed district stipendiary magistrate (sorenskriver) in Flekkefjord, in 1820 in Nordre Hedemarken. From 1830 to his death in 1840 he was burgomaster of Trondhjem.
He married Ulrikke Eleonore Steffens, sister of philosopher Henrik Steffens. Their son Henrik Steffens Hagerup became a notable military officer and politician.
Hagerup was a member of the Royal Norwegian Society of Sciences and Letters from 1831. He was proclaimed Knight of the Swedish Order of Vasa.