During immune responses, B lymphocytes clonally expand and undergo secondary diversification of their immunoglobulin genes in germinal centres (GCs)1,2,3,4. High-affinity B cells are expanded through iterative interzonal cycles of division and hypermutation in the GC dark zone followed by migration to the GC light zone, where they are selected on the basis of affinity to return to the dark zone5,6,7,8,9,10. Here we combine a transgenic strategy to measure cell division and a photoactivatable fluorescent reporter to examine whether the extent of clonal expansion and hypermutation are regulated during interzonal GC cycles. We find that both cell division and hypermutation are directly proportional to the amount of antigen captured and presented by GC B cells to follicular helper T cells in the light zone. Our data explain how GC B cells with the highest affinity for antigen are selectively expanded and diversified.