The man was subdued by an off-duty law enforcement officer and others aboard the aircraft, and the flight landed safely at 11:35 a.m. Hawaii time, officials said. No injuries were reported.
A Federal Bureau of Investigation agent told reporters in Honolulu that the Turkish passenger had earlier been involved in security breach at Los Angeles International Airport (LAX).
Federal authorities were preparing a criminal complaint to charge Anil Uskanil, 25, with interference with a flight crew, FBI special-agent-in charge Paul Delacourt said at a Honolulu airport news conference.
LAX airport police said separately that Uskanil had been detained, questioned and released hours earlier after he was caught by security there going through a terminal concourse door leading out to the airfield.
Los Angeles airport police spokesman Rob Pedregon said Uskanil was a ticketed American Airlines passenger with a boarding pass who had cleared security screening but claimed tht he lost his way because he was tipsy from drinking.
As he did not appear to meet the criteria for public drunkenness, police let him go with a citation for misdemeanor trespassing, Pedregon said. He was escorted to the street in front of the terminal when released, Pedregon said.
Because the LAX incident occurred at about 2:45 a.m. Pacific time, nearly three hours before the first flights of the day, he would have had ample time to get through security again and catch a plane to Hawaii as scheduled.
Pedregon said it is not unusual for LAX passengers to mistakenly go through an unauthorized exit door at the terminal.
One passenger who spoke to HawaiiNewsNow, a consortium of three television network affiliates, said a first-class flight attendant deserved much of the credit for preventing the suspect from reaching the cockpit.
"I would just never want to go against her. She was tasked with keeping him out of there, and she did a great job," Lee Lorenzen told the news outlet.
The incident 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 defense procedures. Local law enforcement responded once the civilian airliner was on the ground," said Commander Dave Benham.
(By Steve Gorman. Additional reporting by Phil Stewart in Washington and Alex Dobuzinskis in Los Angeles; editing by Diane Craft and Cynthia Osterman)
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)