Megalomyrmex is a genus of ant in the subfamily Myrmicinae. The genus is known only from the Neotropics, where some of the species are specialized parasites or predators of Attini.
It is difficult to characterize morphologically. Bolton (2003) placed it in the tribe Solenopsidini, but with multiple exceptions to the diagnostic characters for the tribe. The tribal characters include a bicarinate clypeus and a median clypeal seta. Most Megalomyrmex species have a smoothly convex clypeus with no trace of the bicarinate condition, and most have abundant clypeal setae with no distinct or differentiated median seta. In Bolton's (1994) key to genera, Megalomyrmex keys in multiple places because of variability in mandibular dentition. Nevertheless, the genus has a distinctive habitus: the antenna is 12-segmented with a 3-segmented club; the general integument is smooth and shiny without coarse sculpture or dull areas; the promesonotum is evenly arched, without promesonotal groove; the propodeum is usually smoothly curved between dorsal and posterior faces, at most with blunt, broad-based tubercles, and never with spines; and the hind tibial spur is simple. In short, the workers look like a Solenopsis with Pheidole antennae. The mandibular dentition varies from a simple set of 5 similar teeth on the masticatory margin, gradually diminishing in size basally, to a condition with 2 large apical teeth followed by up to 12 small denticles.
Some species have unusual alkaloids. The hypothesis that alkaloids act at a distance converges with what is known for the genera Solenopsis, Monomorium and Megalomyrmex when workers release volatile venom alkaloids by waving their stingers (i.e., gaster flagging) during interspecific encounters causing their enemies to flee.
It is close to Monomorium and should possibly be included in the latter.
Although widespread in the Neotropics, from southern Mexico to northern Argentina, Megalomyrmex species are never abundant. They occur in low to middle elevation wet to dry forest habitats. Some species are free-living with large diffuse nests in the soil (e.g. Megalomyrmex modestus) or small nests in dead wood (e.g. Megalomyrmex drifti). Others are specialized social parasites or predators of Attini (e.g. Megalomyrmex adamsae, Megalomyrmex mondabora, Megalomyrmex symmetochus, Megalomyrmex wettereri).