Cockroaches have evolved a wide range of strategies to avoid being eaten by predators. Most, like the leaf green Panchlora species, rely on camouflage, whilst a few have warning coloration or mimic distasteful insects (e.g. Prosoplecta from South-East Asia, which mimic ladybird beetles, Coccinellidae). Cockroaches of the genus Perisphaerus roll up into a ball like pill millipedes or woodlice when molested, but most depend on speed and agility to escape. One currently unnamed South African species of Blattellidae has greatly enlarged hind legs which enable it to jump like a grasshopper. This species hops between grass stalks and apparently specialises in eating bird droppings.
A few cockroach species possess active defence mechanisms. These include spraying repellent fluid from abdominal glands like Diploptera punctata or Archiblatta hoeveni and producing startling noises by expelling air rapidly through abdominal spiracles, as in the Madagascan hissing cockroaches (Gromphadorhina and their relatives).