 He attended St Andrew's High School in Kirkcaldy.He was educated at the University of St Andrews (MA (Hons) Modern History 1978) and at the University of Edinburgh (MSc (Dist) African Studies 1991).Dunion spent periods in the civil service and university administration.