The anal stage is the second stage in Sigmund Freud's theory of psychosexual development, taking place approximately between the ages of 18 months and three years. In this stage, the anal erogenous zone becomes the primary focus of the child's libidinal energy. The main social context for the experience is the process of toilet training, where anal pleasure becomes associated with the control of bowel movements. The anal stage is the second of the five Freudian psychosexual development stages: the oral, the anal, the phallic, the latent, and the genital.