The behavioral response of the obligate bamboo-nesting ant Cataulacus muticus to nest flooding was studied in a perhumid tropical rainforest in Malaysia and in the laboratory. The hollow internodes of giant bamboo, in which C. muticus exclusively nests, are prone to flooding by heavy rains. The ants showed a two-graded response to flooding. During heavy rain workers block the nest entrances with their heads to reduce water influx. However, rainwater may still intrude into the nest chamber. The ants respond by drinking the water, leaving the nest and excreting water droplets on the outer stem surface. This cooperative 'peeing' behavior is a new survival mechanism adaptive to the ants' nesting ecology. Laboratory experiments conducted with two other Cataulacus species, C. catuvolcus colonizing small dead twigs and C. horridus inhabiting rotten wood, did not reveal any form of water-bailing behavior.