The regulatory protein calmodulin is a major mediator of calcium-induced changes in cellular activity. To analyze the roles of calmodulin in an intact animal, we have generated a calmodulin null mutation in Drosophila melanogaster. Maternal calmodulin supports calmodulin null individuals throughout embryogenesis, but they die within 2 days of hatching as first instar larvae. We have detected two pronounced behavioral abnormalities specific to the loss of calmodulin in these larvae. Swinging of the head and anterior body, which occurs in the presence of food, is three times more frequent in the null animals. More strikingly, most locomotion in calmodulin null larvae is spontaneous backward movement. This is in marked contrast to the wild-type situation where backward locomotion is seen only as a stimulus-elicited avoidance response. Our finding of spontaneous avoidance behavior has striking similarities to the enhanced avoidance responses produced by some calmodulin mutations in Paramecium. Thus our results suggest evolutionary conservation of a role for calmodulin in membrane excitability and linked behavioral responses.