Our confidence in a choice and the reliability of evidence pertaining to that choice appear to be inseparable quantities. However, recent computational frameworks suggest that the brain should encode distinct estimates of these quantities for adaptive behavioural control. Consider a line judge in a tennis match deciding whether a ball is out. When the ball is moving quickly, the sensory signal is unreliable. Nevertheless, if the ball lands far from the line, a decision may be easy and confidence high. Decision confidence should reflect the probability that a choice is correct and must therefore, unlike other estimates of certainty such as evidence reliability, be flexibly conditioned on a choice. Here we devised a psychophysical approach to decouple confidence in a sensory choice from the reliability of the sensory evidence upon which a choice is based. Using human fMRI, we observed that an area in medial prefrontal cortex (perigenual cingulate cortex, pgACC) tracked probability correct, the normative definition of decision confidence, whereas neural areas previously thought to track decision confidence, such as ventral striatum and posterior parietal cortex, instead tracked sensory reliability. We show that pgACC activity does not simply co-vary with objective performance but is also linked to withinsubject and between-subject variation in a subjective sense of decision confidence. Our study is consistent with the recent proposal that the brain separately maintains choice-dependent and choice-independent estimates of certainty, and sheds light on why dysfunctional confidence estimates often emerge following prefrontal lesions and/or degeneration.