 Hancock became a member of the Conservative Party in 1999.After university, Hancock briefly worked for his family's computer software company and for a backbench Conservative MP, before moving to London to work as an economist at the Bank of England, specialising in the housing market.In 2005, he became an economic adviser to the Shadow Chancellor of the Exchequer George Osborne, later becoming Osborne's chief of staff.