To use optical systems to do the same work as electronics, photons must be made to interact with one another — something that they are reluctant to do in ordinary materials. But a new type of non-linear optical cavity makes them interact so strongly that when one photon is trapped inside, no others can enter. This behaviour may eventually form the basis for devices in quantum computers.