Pharaoh ant new nest is formed, queens are not a necessity; workers can raise new queens after finding a suitable nest site. In pharaoh ant colonies new males and queen ants can be produced when the existing fertile queen is removed. When queens are absent, the workers in the nest can do two things: either rear existing sexual larvae or transport sexual larvae from other bud nests or from the main nest to its own nest. However, when there are fertile queens still within the nest, the worker ants will cannibalize the sexual larvae and will either reject or consume sexual larvae
Ant spider and use their mimicry to enter and leave the nest unmolested (if the ants detected them as intruders they would mass to repel and perhaps kill them). The spiders walk on only the three rear pairs of legs, and if they encounter an ant during their forays into the nest territory, they touch their front legs to the ant's antennae in the same way as another ant would with its own antennae. If they have already captured an ant, they then offer that towards the challenging ant, which inspects it and behaves towards the spider as if it were another