Hawaii: The US state may be an idyllic location for most visitors, but it was Wade Hicks Jr’s prison for five days.

The 34-year-old American was stranded in the islands this week after being told he was on the FBI’s no-fly list during a layover for a military flight from California to Japan.

The episode left Hicks scrambling to work out how to get home from Hawaii without being able to fly. Then he was abruptly removed from the list on Thursday with no explanation.

There is also the question of how someone on a list intelligence officials use to inform counter-terrorism investigations could fly stand-by on an Air Force flight.

Hicks said he was travelling to visit his wife, a US Navy lieutenant who is deployed in Japan. He hitched a ride on the military flight, as is common for military dependents, who are allowed to fly on scheduled routes when there is room.

Hicks said that during his layover at Joint Base Pearl Harbor-Hickam, a US Immigration and Customs Enforcement agent told him he was on the no-fly list and would not be allowed on a plane.

“I said, ‘How am I supposed to get off this island and go see my wife or go home?’ And her explanation was: ‘I don’t know,’” Hicks said.

Hicks said he was shocked and thought they must have had the wrong person because he does not have a criminal record and recently passed an extensive background check in his home state of Mississippi to get a permit to carry a concealed weapon.

But the agent said his name, social security number and date of birth matched a person prohibited from flying, Hicks said. He was not told why and wondered whether his controversial views on the September 11 terrorist attacks played a role. Hicks said he disagrees with the 9/11 Commission’s conclusions about the event.

A Homeland Security spokesman referred questions to the FBI Terrorist Screening Center, which maintains the report. A spokesman for the centre declined to comment on Hicks’ case as the government does not disclose who is on the list or why someone might have been placed on it.

The list of roughly 20,000 people and about 500 to 600 Americans includes names and classified evidence against suspected terrorists who are not allowed to fly in US airspace.

The list can be updated within minutes, so it is possible Hicks was added to the list while in midair from Travis Air Force Base in California to Hawaii.

A spokesman for Defense Secretary Leon Panetta’s office said passengers who fly stand-by on military flights are screened against the FBI’s list only on international flights. Domestic passengers are screened only through an internal military system, not the Advanced Passenger Information System run by Customs and Border Protection.

“It’s scary to know that something like this can happen in a free country. You’re not accused of any crime. You haven’t been contacted by anyone. No investigation has been done. No due process has taken place,” he said.

He got a hotel room at the Pearl Harbor naval base while he worked things out. Being on the list did not stop him from staying on a base that is home to submarines, cruisers and destroyers.

Hicks said he called politicians in Mississippi and Hawaii and brainstormed ways to get home with friends, speculating on taking a private plane, a cruise ship or even a fishing boat from Alaska. He then got a call on Thursday that he had been removed from the no-fly list.

Hicks planned to take a military flight back to California on Friday to meet his wife, who will be coming from Japan, and said he plans to seek to recoup his added travel costs from the government.