Vienna: Austria's far right won more than a third of the vote in the presidential election on Sunday and will face an independent in next month's run-off, dumping out the country's two main parties from the post for the first time.

It was the Freedom Party's best result in a national election after a campaign that focused on the impact of the migrant crisis, which has seen around 100,000 asylum seekers arrive in Austria since last summer.

Austria's far-right Freedom Party leader Norbert Hofer. Credit:AP

Norbert Hofer, who ran on an anti-immigrant and anti-Europe platform, won 36.4 percent of the vote to become head of state. He will face Alexander van der Bellen, a former Green Party figurehead, who won 20.4 percent, according to official preliminary results.

While the presidency is largely only a ceremonial role, the fact that neither of the main ruling parties will be battling for the post on May 22 marks a major change in Austrian politics - as well as the rising role of the far right in Europe.