Although the nonassociative form of learning, habituation, is often described as the simplest form of learning, remarkably little is known about the cellular processes underlying its behavioral expression. Here, we review research on habituation in the nematode Caenorhabditis elegans that addresses habituation at behavioral, neural circuit, and genetic levels. This work highlights the need to understand the dynamics of a behavior before attempting to determine its underlying mechanism. In many cases knowing the characteristics of a behavior can direct or guide a search for underlying cellular mechanisms. We have highlighted the importance of interstimulus interval (ISI) in both short-and long-term habituation and suggested that different cellular mechanisms might underlie habituation at different ISIs. Like other organisms, C. elegans shows both accumulation of habituation with repeated training blocks and long-term retention of spaced or distributed training, but not for massed training. Exposure to heat shock during the interblock intervals eliminates the long-term memory for habituation but not the accumulation of short-term habituation over blocks of training. Analyses using laser ablation of identified neurons, and of identified mutants have shown that there are multiple sites of plasticity for the response and that glutamate plays a role in long-term retention of habituation training.