We present a complete three-loop calculation of the electric dipole moment of the $u$ and $d$ quarks in the Standard Model. For the $d$ quark, more relevant for the experimentally important neutron electric dipole moment, we find cancellations which lead to an order of magnitude suppression compared with previous estimates.