Reduction in blood supply to the brain is a hallmark of dementia, but affects the brain and cognition in healthy ageing too. Using MRI to measure the brain’s perfusion at rest, we show that maintaining good cerebral perfusion into old age supports brain function during a challenging cognitive task.