In psychoanalysis, the Oedipus complex (or, less commonly, Oedipal complex) is a child's desire, that the mind keeps in the unconscious via dynamic repression, to have sexual relations with the parent of the opposite sex (i.e. males attracted to their mothers).
The Oedipus complex occurs in the third—phallic stage (ages 3–6)—of the five psychosexual development stages: (i) the oral, (ii) the anal, (iii) the phallic, (iv) the latent, and (v) the genital—in which the source of libidinal pleasure is in a different erogenous zone of the infant's body. The Oedipal complex originally refers to the sexual desire of a son for his mother and does not need to be reciprocated.
Sigmund Freud, who coined the term "Oedipus complex", believed that the Oedipus complex is a desire for the parent in both males and females; he deprecated the term "Electra complex", which was introduced by Carl Gustav Jung in regard to the Oedipus complex manifested in young girls. Freud further proposed that boys and girls experience the complex differently: boys in a form of castration anxiety, girls in a form of penis envy; and that unsuccessful resolution of the complex might lead to neurosis, pedophilia, and homosexuality. A child's identification with the same-sex parent is the successful resolution of the complex.
Men and women who are fixated in the Oedipal and Electra stages of their psychosexual development might be considered "mother-fixated" and "father-fixated." In adult life, this can lead to a choice of a sexual partner who resembles one's parent.