Hegnar was born in Oslo. He became Norwegian champion in team handball with the club SK Arild in 1964, and played for the Norwegian national team at the 1964 World Men's Handball Championship. He studied in Germany, and graduated as an economist. He started his career as a researcher at the Institute of Transport Economics upon his return to Norway.