The goal of the protocol described in this paper is to induce compulsive-like behavior in rats for the study of obsessive-compulsive disorder (OCD). This behavior is precipitated by attenuating a signal indicating that a lever-press response was effective in producing food.