Case–control analysis showed that pacemaker patients were less likely to be coded with dementia (unadjusted OR 0.42 [95%CI 0.41-0.42]) or exposed to cholinesterase inhibitors (unadjusted OR 0.39 [95%CI 0.37-0.41]). This evidence concerns the gene BCHE and dementia.