Prehistory of the unconscious ~380 BCE–1900, Plato to Freud's Vienna
Freud didn't invent the idea that people are moved by forces they can't see or control — he inherited a very long argument about it. Plato's tripartite soul (The Republic) already splits the psyche into reason, a spirited/assertive part, and appetite, with appetite an unruly, non-rational force reason has to govern rather than fully understand — not a dynamic unconscious with repression, but an early version of the same problem: something in you wants things your reasoning self doesn't endorse. Akrasia — acting against your own better judgment, discussed at length by both Plato and Aristotle — is the same puzzle from another angle. And well before Freud made dreams his royal road, Artemidorus's Oneirocritica (2nd century CE) had already treated them as meaningful, coded messages requiring interpretation rather than noise — a genre Freud engages directly in the literature survey that opens The Interpretation of Dreams.
The specifically philosophical unconscious starts taking modern shape in the Enlightenment. Spinoza's Ethics (1677) argues people are conscious of their desires and ignorant of the causes that produce them — a mind that knows what it wants without knowing why is already most of the way to a Freudian claim. Leibniz went further in the New Essays on Human Understanding (c. 1704), proposing petites perceptions — countless minute perceptions below the threshold of awareness that nonetheless shape conscious experience (his example: any single wave's sound is imperceptible, but the surf's roar, made of thousands of them, isn't) — arguably the first clean statement that unconscious mental activity is doing real work all the time, not just in special pathological cases.
The 19th century, especially in German-speaking Europe, is where this becomes unavoidable background for Freud specifically. Johann Friedrich Herbart's dynamic psychology (1820s), part of the Austrian school curriculum Freud grew up in, modeled ideas as competing for a limited store of consciousness, with weaker ideas pushed below a threshold of awareness by stronger, opposing ones — a direct conceptual ancestor of repression, in the vocabulary of forces and thresholds rather than persons and memories. Arthur Schopenhauer's Will (The World as Will and Representation, 1818) is the blind, non-rational striving underlying all behavior, with intellect a secondary, often self-deceived servant of drives it doesn't control — probably the single most-cited philosophical ancestor of the id. And Eduard von Hartmann's Philosophy of the Unconscious (1869) was a genuine publishing phenomenon, running through many editions and making das Unbewusste a fashionable, widely discussed term in educated German culture two decades before Freud's own clinical work began — whatever Freud discovered clinically, he didn't discover the word, or the idea that there was something worth calling by it.
Nietzsche is the case Freud himself handled most awkwardly. On the Genealogy of Morals (1887) already has an account of conscience forming when outward-directed instinct gets turned back against the self and internalized — read next to Freud's superego, the overlap is hard to miss — and Nietzsche's drives (Triebe), his picture of the self as a contested multiplicity rather than a unified subject, and his insistence that conscious reasoning mostly rationalizes motives fixed elsewhere in the body, all anticipate specific Freudian claims closely enough that Freud's own students and biographers noted it directly. Freud's own response, by most biographical accounts, was to avoid reading Nietzsche closely for years, reportedly out of a wish to reach his own conclusions before risking finding them already written — a rare case where the anxiety of influence is part of the documented record rather than a later critic's inference.
Closer to Freud's own bench, the influence is clinical rather than literary. Jean-Martin Charcot, whose Paris lectures on hysteria Freud attended in 1885, demonstrated hysterical symptoms could be produced and removed by hypnotic suggestion — direct evidence hysteria was psychologically, not just organically, caused, and the single most important push toward Freud's own turn from neurology to psychology. Hypnosis itself, descending from Mesmer's animal magnetism through the Nancy School's Hippolyte Bernheim (with whom Freud also studied), supplied the working method — inducing an altered state to access material unavailable to ordinary waking recall — that Freud used with Breuer before replacing it with free association. Pierre Janet, a direct contemporary, was developing an overlapping theory of dissociation and split-off "fixed ideas" in traumatized patients at almost exactly the same time as Freud and Breuer's own hysteria work, and later, not without some justice, accused Freud of insufficient credit. Gustav Fechner's psychophysics gave Freud an explicit model for treating mental activity as a quantifiable, conserved economy — Freud names Fechner directly as the source of the constancy principle underneath the pleasure principle.
The standard scholarly account of all this is Henri Ellenberger's The Discovery of the Unconscious (1970), and its actual thesis is worth stating plainly: Freud didn't discover the unconscious so much as synthesize, systematize, and clinically operationalize an idea already thoroughly in the air of his intellectual world, then present the result as more of a solitary discovery than the record supports. That's a real complication to sit next to the rebuttals section elsewhere in this piece — not a charge of fraud like Crews's, but a challenge to originality rather than validity, and one Freud's own handling of Nietzsche suggests he was, at some level, aware of himself.