An upper limit to non-Newtonian attracive forces is obtained from the measurement of quantum states of neutrons in the Earths gravitational field. This limit improves the existing constrains in the nanometer range.