Passengers aboard a United Airlines flight from Italy to New Jersey were left bugging out — thanks to an invasion of ants in the cabin.

The six-legged insects spilled out from a bag in the overhead compartment and scurried “in every which direction,” according to a series of tweets about the creepy-crawly conundrum.

“The guy in front pulls down his case (which btw isn’t zipped shut, as middle aisle guy notes to me in an aside) and ants ants ants spill out, running in every which direction,” Charlotte Burns tweeted on Monday. “This is absolutely heeby-jeeby-goose-bumpy-get-me-a-gin-gross.”

Burns went on to tweet that the ants were “running everywhere” — all over seats and windows — as passengers on the Venice-to-Newark flight tried in vain to intercept the insects with lemon wipes.

The swarm managed to make its way to first class, NBC New York said.

A United spokesman said the ants were isolated in a passenger’s overhead bag and the bug debacle was “contained to a limited area of the cabin,” the network reported.

The plane was taken out of service once it arrived in Newark just after 2 p.m. Monday so it could be cleaned and exterminated.

Airport customs and agriculture personnel were alerted, the spokesman said.

With Post wires