While low-level metacognition has been measured in infants just 6 months old, “kids below the age of 3 or 4 are notoriously bad at knowing whether they know the answer or not,” Fleming said. His 3-year-old son, Finn, for example, is quick to claim he knows all about something but, when pressed, admits that he doesn’t actually know. “Before that age, kids are more concrete,” Fleming said. “They think everyone sees the world the way they do.” But which comes first — the recognition of other minds or our own — is still a chicken-and-egg conundrum in the study of metacognition.

Even in “fully formed adults,” metacognition can differ from person to person and even culture to culture (a preliminary study performed by Fleming and colleagues in China found that collectivist societies, like China, have better metacognition than individualist ones, like Great Britain).

Yet, studies have found few differences across genders, except when it comes to confidence in one’s ability to perform a task, which, Fleming said, “becomes a self-fulfilling prophesy.” Confidence, whether merited or not, can boost performance. But high metacognition does not necessarily correspond with intelligence — you can be highly intelligent but unaware of how you’re performing on a specific task. In fact, studies have shown a correlation between anxiety or depression and high metacognition, perhaps because of an acute sensitivity to errors.

“Metacognition promotes good decision-making,” Fleming said. But for highly skilled athletes or musicians, this constant self-monitoring can get in the way.

“So, can you turn it off?” Phelps asked.

“That’s really hard to do voluntarily,” Fleming said. On the other hand, stress, injury, or disease can shut it down involuntarily — a potential complication for the legal system, which is founded on the idea of conscious intention.

Fleming also recently partnered with roboticists to study the overlap between metacognition and artificial intelligence. Machine learning might be a form of “thinking,” but robots tend to be overconfident when faced with a new situation, Fleming said.

“Obviously, you wouldn’t want your self-driving car to be overconfident,” he said.

Even if humans can no longer outthink today’s computers, they can still best them at thinking about thinking.