Cotton prices have retreated to the lowest level in nearly five years as investors worry that global production could overwhelm demand for the fiber.

The U.S., the world's biggest cotton exporter, is expected to produce a large crop in the season that begins Aug. 1. But global demand is likely to fall short, especially with top importer and consumer China wrapping up a 2½-year stockpiling program. U.S. government forecasters predict...