An Australian teacher who spent more than three years being held hostage by the Taliban has arrived home.

The Wagga Wagga teacher was working at a university in Kabul when he was kidnapped at gunpoint in 2016.

Timothy Weeks was freed earlier this month along with his American colleague as part of a prisoner swap

"I am very pleased to confirm that Tim has returned to Australia and very much welcome his return," she said.