We compute all helicity amplitudes for four-particle scattering in massless QCD with $n_f$ fermion flavours to next-to-next-to-leading order (NNLO) in perturbation theory. In particular, we consider all possible configurations of external quarks and gluons. We evaluate the amplitudes in terms of a Laurent series in the dimensional regulator to the order required for future next-to-next-to-next-to-leading order (N$^3$LO) calculations. The coefficients of the Laurent series are given in terms of harmonic polylogarithms that can readily be evaluated numerically. We present our findings in the conventional dimensional regularisation and in the tHooft-Veltman schemes.