 Dalyell was educated at the Edinburgh Academy and Eton College.He did his National Service with the Royal Scots Greys from 1950 to 1952, as an ordinary trooper, after failing his officer training.He then went to King's College, Cambridge, to study mathematics, but switched to history.