Barnett was born in Albany, Western Australia to a family of shopkeepers.
After the war, Barnett returned to university to complete a Bachelor of Arts at the University of Western Australia, where he was a contemporary of future Prime Minister Bob Hawke.