Generative artificial intelligence (gen AI) introduces novel opportunities to strengthen central banks’ cyber security but also presents new risks. We use data from a unique survey among cyber security experts at major central banks to shed light on these issues. Responses reveal that most central banks have already adopted or plan to adopt gen AI tools in the context of cyber security, as perceived benefits outweigh risks. Experts foresee that AI tools will improve cyber threat detection and reduce response time to cyber attacks. Yet gen AI also increases the risks of social engineering attacks and unauthorised data disclosure. To mitigate these risks and harness the benefits of gen AI, central banks anticipate a need for substantial investments in human capital, especially in staff with expertise in both cyber security and AI programming. Finally, while respondents expect gen AI to automate various tasks, they also expect it to support human experts in other roles, such as oversight of AI models.