According to "3 Reasons Brits Voted for Brexit" by George Freidman, the three main causes which led up to the UK's decision to leave the EU was
Immigrants and Economic Recession, Environment reform post recession, and bi-partisan within politics
Political Elitism and Nationalism
Great Recession, Immigration, and the Separation Vote by Scotland
Economy, bi-partisan in parliament, and War on Terror