Territorial behaviour is shown to exist in the weed-dwelling larvae of X. zealandica. Caudal swinging, usually interpreted as a ventilation movement, was found to be an intraspecific threat display. In the laboratory, a uniform spatial distribution of larvae was obtained. This result has implications for resource partitioning by predators in the littoral zone.