 Beckett was born in Crawley, a town in West Sussex about 28 miles (45 km) south of London.His family moved to Edinburgh in 1968 and he was educated at Edinburgh Academy and Broughton High School before studying at the School of Law of the University of Edinburgh.Beckett worked initially as a defence solicitor in Edinburgh, and was elected to the Faculty of Advocates in 1993.