A Jetstar flight from Perth to Cairns had to be turned around after a passenger allegedly threatened to shoot a crying baby and blow up the plane.

The 45-year-old Cairns man is also accused of trying to get two teenage girls to watch pornography on his laptop.

Watch the video above

Police say the man was drunk when he made a number of offensive comments to other passengers.

The comments included threatening to “blow up the plane”, swearing and talking about pornography with passengers under 18, police say.

The incident allegedly occurred during a flight early on Friday morning.

Passengers advised the airline crew of this behaviour, which resulted in the decision to return the aircraft to Perth.

Aviation threats charge

The flight landed safely back at Perth airport at 2.45am, where it was met by Australian Federal Police officers.

AFP officers boarded the plane, arrested the allegedly disruptive passenger and took him to the Perth Watch House.

The man is due to appear in Perth Magistrate’s Court on Friday charged with allegedly making threats regarding aviation security.

In the video below: Plane slides off runway at Newman Airport

Play Video The plane cannot be moved until engineers arrive on site, prompting the cancellation of flights. The plane cannot be moved until engineers arrive on site, prompting the cancellation of flights.

The maximum penalty for this offence is a fine of $10,500.

Perth Airport Police Commander Peter Brindal said the AFP works closely with the aviation industry to ensure the safety and security of the travelling public.

More on 7NEWS.com.au

“The AFP takes all threats regarding aviation security seriously and will take action against travellers who engage in offensive behaviour," he said.

“Offensive behaviour such as this can result in a criminal conviction, a hefty fine, and the possibility that airline operators will undertake civil action to recover expenses associated with returning and removing passengers doing the wrong thing."

The accused has been refused bail.