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 but instead, alternate between nomadism and stages where the workers form a temporary nest (bivouac) from their own bodies, by holding each other together. Weaver ant ("Oecophylla" spp.) workers build nests in trees by attaching leaves together, first pulling them together with bridges of workers and then inducing their larvae to produce silk as they are moved along the leaf edges. Similar forms of nest construction are seen in some species of "Polyrhachis". "Formica polyctena", among other ant species, constructs nests that maintain a relatively constant interior temperature that aids in the development of larvae. The ants maintain the nest