The first population study of sense of smell and cognitive performance by age suggests that testing sense of smell could be a marker for cognitive decline.