McDiarmid was born in Carnoustie in Tayside. McDiarmid went to the University of St Andrews, to study psychology. Soon after, he decided he wanted a career in the theatre instead, and took acting training courses at the Royal Scottish Academy of Music and Drama in Glasgow. In 1968, McDiarmid got a gold medal for his acting work.