We study the dynamics of density fluctuations in purely diffusive systems away from equilibrium. Under some conditions the static density correlation function becomes long ranged. We then analyze this behavior in the framework of nonequilibrium fluctuating hydrodynamics.