Wyatt Roy has survived a potentially campaign-ending scandal involving one of his staffers and was set to become the youngest person elected to Federal Parliament.

The polling in Longman, on the south Sunshine Coast, further emboldened the Liberal National Party in Queensland, where the Coalition picked up several seats.

At just 20, the baby-faced Mr Roy was leading Labor's Jon Sullivan by a margin of nearly 5 per cent on the two-party preferred vote.

"I was never the likeliest of candidates but the people took me into their hearts and we ran a good grassroots campaign," Mr Roy said after what was also his first election as a voter.

"I take the approach to politics that I have two ears and one mouth – listening first, and advocating for all members of the community regardless of where they're from."