Ian Douglas Harvey was educated at Fettes College and Christ Church, Oxford, where he was President of the Oxford University Conservative Association in 1935, and the Oxford Carlton Club and the Oxford Union Society in 1936. He graduated with a BA in 1937. During the Second World War he served in the anti-aircraft arm of the Royal Artillery, becoming the Adjutant of 123 Light Antiaircraft Regiment Royal Artillery in 1940 and the Brigade Major of 33 AA Brigade RA in 1943, before serving on the staff of HQ AA Command in 1944. After studying at the Staff College, Camberley, he became Brigade Major of 100 AA Brigade in North-West Europe in 1945. After the War he served as Lieutenant-Colonel commanding 566 LAA Regiment RA from 1947 to 1950. In 1949, he married Clare Mayhew, daughter of Sir Basil Edward Mayhew, KBE. The couple would have two daughters. Post-war, he worked in public relations. He was a member of the Advertising Association and the Institute of Public Relations, and published Talk of Propaganda and The Technique of Persuasion. From 1949 to 1956 he was a director of W. S. Crawford, an advertising firm.
In November 1958, Harvey and a 19 year old Guardsman, Anthony Walter Plant of the Coldstream Guards were found in the bushes in St James's Park and arrested; Harvey tried to escape, and attempted to give a false name on arrest. Both were charged with gross indecency and breach of the park regulations; when tried on 10 December, the indecency charge was dropped and both were fined £5. Harvey subsequently resigned his ministerial post and his seat, forcing a by-election early in 1959, succeeded by Conservative Anthony Courtney; he paid the guardsman's fine as well as his own.
Later career
He returned to his earlier public relations work, acting as a director of Colman, Prentis and Varley from 1962 to 1963, and as Advertising Controller of Yardley of London from 1963 to 1964, when he became their Advertising Director, a position he held until 1966. In 1971 he published his memoir To Fall Like Lucifer. From 1972 onwards he was the Vice-President of the Campaign for Homosexual Equality, and from 1980 onwards Chairman of the Conservative Group for Homosexual Equality. He was the Chairman of Paddington Conservative Association from 1980 to 1983, and Westminster North Conservative Association in 1983. He contested the latter seat for the Inner London Education Authority in 1986, and chaired one of the ILEA's boards on tertiary education from 1985 until his death. A friend later recalled his last years: "I remember him, a sad old man living alone and forgotten in a small flat."