If you have found your way to this page, you probably already know what OCD is. You may have read a great deal about it. You may have lived with it for years.
But I would like to begin by describing it differently. Over years of working with clients who live with OCD, I have come to see that behaviours usually treated as separate problems, the checking, the perfectionism, the phobias, the hoarding and some addictions, belong under one umbrella. They grow from the same root, and they are all doing the same job.
OCD is obsession. At one end of the scale, it is an obsessive terror that the world cannot keep you safe, or that you cannot keep yourself safe within it. Here the survival strategies are fight and freeze. Fight is obsessional perfectionism: a relentless battle to satisfy an internal critic who is never satisfied. Freeze is the phobic response: the fears that hold you still, narrowing your world until you feel trapped inside it.
At the other end, it is obsessive addiction, and here the survival strategy is flight. When life feels like a trap with no way out, the nervous system looks for an exit anyway: alcohol, gambling, shopping, hoarding, anything that reliably takes you somewhere else, even for a moment. The compulsion is not really about the drink, the bet or the purchase. It is a distraction from the terror of feeling trapped, and an avoidance of any reality that brings that terror back.
Both lead to the same place. You live your whole life in survival mode, and OCD is the mechanism by which you have created an alternative kind of safety.
To understand why anyone would need an alternative kind of safety, we have to go back to where safety is first learned.
Safety
As human beings, we are remarkable for our instinct to survive, and that instinct begins much earlier than most of us realise. Every human nervous system carries three ancient survival strategies, older than language and older than thought: fight, which pushes back against a threat; flight, which escapes it; and freeze, which goes still and hopes not to be noticed. These are the same three strategies I described at the start, and they will appear again and again in this series.
But before a baby needs any of them, it needs to feel safe. That sense of safety arrives in the most ordinary way: a baby looks up and sees a face looking back. When that face is warm and delighted, full of the fizz of life, the baby experiences for the first time what it is to be wanted. To exist in the eyes of another and find that existence celebrated rather than merely tolerated.
Long before we ever learn to speak, we have to translate our survival through emotional language: a cry, a look, a reaching out, a turning away. It is the first language any of us learns. When it is understood, a simple grammar forms: I signal, you respond, I am heard. A child who knows their needs will be met develops trust in their own agency. A child who is heard develops a voice. A child who is loved unconditionally develops a secure sense of their own worth. These are not achievements. They are emotional milestones that form almost invisibly in a childhood that is safe enough.
The relationships and surroundings a child grows up within are what I call the early relational environment. For most children that means home, and so home is the word I will use most often in this series. But it may well be any social environment in which a child spends their earliest years.
Terror
When a parent cannot respond, very often because they are still nursing wounds of their own, the baby learns a very different language. It signals and meets silence, or distress, or something frightening. And it cannot leave, nor can it find another parent.
The researcher Mary Main had a phrase for what happens next: “fright without solution”. When the only available source of safety is also a source of fear, there is no right move. The child needs to run towards the parent for comfort and away from them for safety, both at once. And yet love is almost always there too. The parent who frightened the child was very often the parent who loved them fiercely. That is the anguish of it: the source of the fear and the source of the comfort are the same person.
Sometimes the parent is not frightening but frightened: the parent who wept behind closed doors, who dissolved under pressure. Faced with that, the child does something extraordinary. Long before they have words, they turn towards the parent’s distress. They read the emotional weather of the house with astonishing precision and make themselves calm, cheerful, small or invisible, whatever the moment needs. Because if the parent falls apart, everything falls apart.
Trust
Trust is what a safe childhood builds, and what a frightening one takes away. Unable to make sense of two realities at once, the child turns the question on themselves. What have I done wrong? What can I change about myself? These questions are not spoken aloud. They are felt in the body: in the stomach, in the flinch before the footstep on the stairs.
When a child’s body correctly senses danger and the adults around them dismiss it, something else is lost too. The child learns that what their own body tells them cannot be trusted. So trust has nowhere to land: not in other people, not in the world, and very often not in themselves.
When people cannot be relied upon, something else must become reliable. For an infant, that something has to be close to hand: rocking, sucking a thumb, a blanket held just so, a sound or a movement repeated until it soothes. In a secure childhood, these self-soothing behaviours sit alongside a parent’s comfort. In an insecure one, they have to stand in for it. The paediatrician and psychoanalyst Donald Winnicott described the “transitional object”, the teddy or blanket that helps a young child move between their inner world and the world outside. When people feel too unreliable or too frightening, these objects and actions become something more: the only connection that can be trusted, because they are within the child’s control.
As the child grows, the same need takes more sophisticated forms. Some build their safety through control: rituals, order, lists, a routine kept exactly right. Others build it through escape, which in adulthood may become a substance, work, gambling or shopping. Different routes, same need.
What the child is building, in the end, is a replication of the boundaried world they never had. A safe childhood gives a child clear edges: rules that hold, responses that can be predicted, adults who stay steady. When nobody provides those boundaries, the child makes their own, and the rituals, routines and rules of OCD become the walls that were missing.
Survival mode
None of this is chosen. It happens before language, before memory, at the speed of a nervous system doing whatever it takes to keep a small, entirely dependent human alive and connected. By around six or seven, as a child’s thinking grows more complex, these early strategies often take on the shapes we would later recognise: the checking, the bedtime rituals, the worry that will not settle.
And they do not stop when the danger does. The hypervigilance needed to read a parent’s mood becomes compulsive checking and constant scanning for threat. The chaos of an unpredictable home becomes a rigid need for order. The desperate effort to prevent a parent’s anger or disappointment becomes a perfectionism so deeply ingrained that any small mistake feels catastrophic.
That is what survival mode means: a nervous system still responding to threats that no longer exist in the present, but remain utterly real in the body. The child never left; they simply learned to wear adult clothes.
This is also why OCD is so hard to stop through willpower alone. It was never a thinking problem. Take it away before something safer has taken its place, and you remove the protection without touching what it was protecting.
That is what I mean when I say OCD is an alternative kind of safety. It is not the illness. It is the solution a child built when the real thing was not available: sophisticated, exhausting and ultimately not enough, but built from everything they had.
Next time
In the next piece I want to look at the other end of that scale: addiction and hoarding, and why the need to escape a reality that feels like a trap is driven by the same terror as any ritual.
A note on what this piece covers: this is not the whole story for everyone. Some people develop OCD after a traumatic event in adult life, and for some neurodivergent people, repetition and order serve a different purpose altogether. What I describe here is what I have found with the people I work with, those whose earliest relationships were not safe.