Little is known about the factors causing variation in behavioural plasticity and the interplay between personality and plasticity. Habituation to predators is a special case of behavioural plasticity. We investigated the direct and indirect effects of boldness, exploration and sociability traits on the habituation ability of Iberian wall lizards, considering exposure and sex effects. Individual boldness was consistent across several nonhabituation contexts, but it did not significantly affect habituation. Exploration had a strong direct effect on habituation, with more exploratory individuals being able to habituate faster than less exploratory ones, probably because of their ability to assess risk better. Individual variation in habituation was also affected by sociability, but this was an indirect effect mediated by exposure to the predator. Less social individuals avoided refuges with conspecific cues, increasing exposure to the predator and eventually habituation. Finally, the direct effects of sex (females habituated faster than males) were opposite to its indirect effects through exposure. We conclude that risk assessment, instead of the proactivity-reactivity gradient usually considered in the literature, can affect behavioural plasticity through complex interactions between direct and indirect effects, including exploratory behaviour, degree of exposure to the predator and sex, which represent novel mechanisms generating inter-individual variation in plasticity.