The story
As far back as the 1200s, “in mind” meant remembered and “out of mind” meant forgotten. Tying that to sight came later. John Heywood, a Tudor collector of everyday English sayings, had “Out of sight out of minde” in print by the 1540s. The French put it more tenderly: far from the eyes, far from the heart.