The threat of terrorism in Australia is as high as it is in global terror hotspots in Africa and the Middle East, according to the British Foreign Office.

The Foreign Office has ranked the risk of an attack in Australia as "high" – the largest threat level – along with more than 30 other countries.

The threat of a terrorist attack in Australia is at the same level as many countries in the Middle East, according to the UK Foreign Office. Credit:David Gray

Australia was given the same threat rating as countries including Afghanistan, Libya, Kenya, Pakistan, Iraq, Spain and France.

The United States and China were deemed a lower risk, receiving the second-highest warning of a "general threat", while large parts of Europe were deemed as having an underlying threat or low threat.