Legislation that could ban overseas Australian citizens with suspected terrorist links from returning home for up to two years is heading to the Senate.

Home Affairs Minister Peter Dutton says the bill will guard against potential terrorist attacks in Australia, adding that some Australians are being complacent about the risk.

Security expert John Coyne from the Australian Strategic Policy Institute says the legislation could perpetuate feelings of isolation among targeted Australians and worsen the issue.