The FBI boarded the plane and arrested the man (Photo: BPLUS.noisefloor.dnb)

A man tried to break into the cockpit of an American Airlines flight to Hawaii - prompting the US Air Force to scramble two fighter jets.

The flight was on its way from Los Angeles to Honolulu on Friday when there was a disturbance.

According to travellers, the man attempted to break into the cockpit mid-flight.

He was later escorted off the flight by the FBI.

According to HawaiiNewsNow, the man was Turkish and had earlier breached security at Los Angeles International Airport but "was assessed and allowed to board" the flight anyway.

American Airlines confirmed that the crew of Flight 31 from Los Angeles to Honolulu had requested that law enforcement meet the aircraft, an Airbus A321, upon landing due to an unspecified "disturbance during the flight."

The airline said its plane landed safely at 11:35 a.m. Hawaii time.

Posting a video on Instagram, one passenger said: "Crazy! Someone tried to break into the cockpit on my flight from LA to Honolulu.

"We were greeted by the FBI. They are now taking us off the plane a few rows at a time for dog sniffing and interviews. I've never seen anything like this."

The incident also prompted Pacific Command to dispatch a pair of F-22 fighter jets to intercept the passenger plane.

"The F-22s escorted the airliner to the airport in accordance with homeland defence procedures. Local law enforcement responded once the civilian airliner was on the ground," said Commander Dave Benham.