An American Airlines flight from Miami to Barbados returned to the airport after fumes filled the cabin, officials said.

Flight 338 departed Miami International Airport at Wednesday night, but had to return due to a strong chemical odor coming from a passenger's carry-on item, spokesman Greg Chin told The Associated Press.

Passengers and crew exited the plane on the airfield and were evaluated by Miami-Dade Fire Rescue, Chin said. They were then bussed back to the terminal.

JUST ‘PLANE’ BAD ETIQUETTE: AIRLINE PASSENGER DRAPES HER LONG, THICK HAIR OVER THE BACK OF HER SEAT

AA flight in FL

An American Airlines flight from Florida to Barbados had to be evacuated after a strong chemical odor filled the cabin on Oct. 12, 2022. 

JUST ‘PLANE’ BAD ETIQUETTE: AIRLINE PASSENGER DRAPES HER LONG, THICK HAIR OVER THE BACK OF HER SEAT

American Airlines said in a statement that all customers were offered hotel accommodations. The flight was rescheduled for Thursday morning.

It was not clear how many passengers were on the plane.