Two Mexican men charged over the attempted importation of 300 kilograms of cocaine hidden in pallets of coffee and cocoa have faced court in Melbourne.

Eduardo Radamez Chavez Gonzalez , 33, and Gabriel Altamirano Galindo, 34, faced Melbourne Magistrates Court on Thursday after authorities seized the drug haul, which had an estimated street value of about $105 million.

Two men faced court over the alleged importation of 300 kilograms of cocaine. Credit:Australian Border Force

Police allege it was hidden in pallets of cocoa and coffee powder, discovered during a raid on an Altona business.

It followed a joint federal and state investigation into Gonzalez, who was first arrested at Melbourne Airport allegedly carrying a small quantity of cocaine.