Perisomatic inhibition of pyramidal neurons is established by fast-spiking, parvalbumin-expressing interneurons (PV cells). Failure to assemble adequate perisomatic inhibition is thought to underlie the aetiology of neurological dysfunction in seizures, autism spectrum disorders and schizophrenia. Here we show that in mouse visual cortex, strong perisomatic inhibition does not develop if PV cells lack a single copy of Pten. PTEN signalling appears to drive the assembly of perisomatic inhibition in an experience-dependent manner by suppressing the expression of EphB4; PV cells hemizygous for Pten show an ∼2-fold increase in expression of EphB4, and over-expression of EphB4 in adult PV cells causes a dismantling of perisomatic inhibition. These findings implicate a molecular disinhibitory mechanism driving the establishment of perisomatic inhibition whereby visual experience enhances Pten signalling, resulting in the suppression of EphB4 expression; this relieves a native synaptic repulsion between PV cells and pyramidal neurons, thereby promoting the assembly of perisomatic inhibition.