The idea of constructing scattering amplitudes from their singularities has been a very powerful method for their computation. We introduce the principle of Cluster Adjacency, which governs the analytic structure of amplitudes at tree and loop level. We use this to compute the NMHV scattering amplitude of seven particles in N=4 super Yang-Mills at four loops.