Beyond the Pleasure Principle3 (1920) started from traumatic dreams, a small child's fort–da game and repetition in the transference, all of which pointed to a compulsion to repeat. Freud described trauma as a breach of the protective shield, argued that the drives are conservative, and wrote that "the aim of all life is death". He set the death drives against the life drives, or Eros, and credited Sabina Spielrein in a footnote; her 1912 paper Destruction as the Cause of Coming into Being20 had placed destruction within the sexual drive itself. With The Economic Problem of Masochism21 (1924) and Civilization and Its Discontents, aggression came to be treated as a derivative of the death drive.
Group Psychology and the Analysis of the Ego6 (1921) started from Le Bon and McDougall, explained the cohesion of groups by libidinal ties, and took the church and the army as artificial groups. Freud described identification as the earliest emotional tie, and the group as formed by individuals who have put one and the same object in place of their ego ideal, with the leader standing for the primal father.
In The Ego and the Id4 (1923) Freud introduced the structural model. Much of the ego is itself unconscious; the id, a term taken from Groddeck, is the reservoir of the drives; the ego is the part of the id modified by the external world, "first and foremost a bodily ego"; and the super-ego, or ego ideal, is the heir of the Oedipus complex. The book also discusses the fusion and defusion of drives, an unconscious sense of guilt, the negative therapeutic reaction and the ego as servant of three masters. The Dissolution of the Oedipus Complex22 (1924) completed the account of the positive and negative Oedipus complex, its ending under the threat of castration, and the identifications that form the super-ego. The best-known diagram of the structural model appeared in the New Introductory Lectures on Psycho-Analysis23 (1933).
Inhibitions, Symptoms and Anxiety24 (1926) reversed Freud's earlier view: anxiety makes repression, not the other way round. The ego is the sole seat of anxiety, which serves as a signal of danger; birth is the prototype of helplessness, and the dangers form a series running from helplessness through loss of the object, castration and the super-ego to death. Freud reinstated defence as the general term, of which repression is one kind, and rejected Rank's view that the trauma of birth decides the neuroses. Jones counts this book and the later theory of the ego among Freud's major achievements.
In Analysis Terminable and Interminable25 (1937) Freud examined the limits of therapy: Rank's attempt to shorten treatment, the time limit he had himself set with the Wolf Man, and Ferenczi's complaint that his negative transference had not been analysed. He named trauma, the strength of the drives and alterations of the ego as the factors that decide the outcome, pointed to the death drive and the need for punishment, called the repudiation of femininity a "bedrock", and advised analysts to return to analysis periodically.