Qantas has apologised to a Melbourne passenger who found maggots in her airline food.

The woman was flying home from the US last week, when she found a packet of trail mix was infested with maggots.

The airline said it has contacted the supplier and is investigating the incident.