An ant colony is great place to live, even if—or maybe especially if—you’re not an ant. It is, Italian zoologist Andrea Di Giulio says, “a heavily guarded, nearly impenetrable fortress rich with bountiful resources.” It provides shelter, food free for the taking, and its own highly-motivated, round-the-clock security force. And there’s the rub: If you’re not an ant, you’re likely not going to get past the bouncers and into the nest—and even if you do, chances are you’ll soon be discovered, attacked, and, Di Giulio says, “dismantled.”

Yet, the aptly-named ant nest beetles live their whole lives safe and sound inside ant colonies. What’s more, they have free run of the place. They can go into any part of the nest they want, eat the ants’ food, interact with the queen and even kill and eat the ants without ever raising an eyebrow. Not even the ants that the beetles attack fight back or give any sign that something is amiss with the arrangement. This is because, Di Giulio and his research team found, the beetles are little polyglots and can mimic the ants’ different communication methods. 

Plenty of other animals—from frogs to silverfish to butterflies—have found ways to slip into ant nests and live the high life there. Most of them do this by hacking their hosts’ chemical communication system, and coat themselves in the same compounds that the ants use to recognize and identify each other. The beetles use this type of chemical disguise, too, but that’s not the only truck up their sleeves. It turns out they can also mimic the ants’ “spoken language.” 

In addition to chemical signals, ants communicate with sound by scraping specialized parts of their abdomens against each other to produce low-frequency “chirps.” Working with ant nest beetles and their Pheidole pallidula ant hosts in Morocco, Di Giulio and his team found that all three castes—the queens, workers and soldiers—of this ant species produce their own distinct sounds, and the beetles can reproduce all of them. The intruders not only fake the ants’ chemical IDs, but can also “speak” the different “languages” they use.

This sophisticated masquerade lets the beetles move freely around the nest to eat and mingle with other beetles while fooling ants from different castes they might bump into. By mimicking the queen’s sounds, they also get special perks. When the researchers played recordings of the beetles’ queenly chirps to worker ants, they moved into same “guarding” positions they used with the true queen and touched the speaker with their antennae. The team thinks that impersonating royalty might elevate the beetles to the same social status in the colony, getting them access to VIP areas of the nest, special care from the workers and protection from any other intruders or predators that might try to get into the colony.