The Short Version
This claim is misleading. Carrots contain beta-carotene, which the body converts to vitamin A — essential for rod cell function in the eye. However, eating carrots only restores night vision in people who are vitamin A deficient; it does not enhance night vision beyond normal levels in well-nourished individuals. The strongest clinical trial cited used carotenoid supplements, not carrots. The popular belief largely traces back to WWII British propaganda designed to conceal radar technology. For most people in developed countries, extra carrots will not meaningfully improve night vision.