To determine the effects of thermal preconditioning on a simple form of learning and memory, habituation, we preconditioned crayfish with extreme temperatures and subsequently analysed their effects on mechanosensory input that evokes a response in the lateral giant interneurons, within the normal temperature range of the animal. We found that repetitive stimulation with a 1 s interstimulus interval led to habituation of the response the lateral giant in control animals at 22°C. Neither heat nor cold preconditioning had any effect on the probability of evoking a response in the lateral giant nor on the rate at which habituation occurred. With a 1 min interstimulus interval, however, the rate of habituation of the lateral giant in the heat-preconditioned group was less than either the control or cold-preconditioned animals. The effect of heat or cold pre-exposure was specific to the input to the lateral giant at control temperatures. For example, at 22°C prior heat and cold preconditioning had no effect on spontaneous reductor motor neurone activity. They did, however, provide thermoprotection at extreme temperatures, with the probability of spontaneous activity higher in the cold-preconditioned group at low temperatures but higher in the heat-preconditioned group at higher temperatures.