It is shown how a mechanism which allows naturally small Dirac neutrino masses is linked to the existence of dark matter through an anomaly-free U(1) gauge symmetry of fermion singlets.