Klug was born in Želva, Lithuania to Jewish parents. The family moved to South Africa when he was two. Klug graduated with a degree in science at the University of Witwatersrand and studied crystallography at the University of Cape Town before moving to England, completing his doctorate at Trinity College, Cambridge in 1953. 