Cell specific rescue experiments show that cholinergic EGL-30 (Gαq) signalling is required for behavioural responses to infection whereas rectal epithelial EGL-30 (Gαq) signalling is required for the Dar response to infection. Here, GNAQ is linked to infection.