SummaryDiversification of the antibody repertoire is essential for the normal operation of the vertebrate adaptive immune system. Following antigen encounter, B cells are activated, proliferate rapidly and undergo two diversification events; somatic hypermutation (followed by selection), which enhances the affinity of the antibody for its cognate antigen, and classswitch recombination, which alters the effector functions of the antibody to adapt the response to the challenge faced. B cells must then differentiate into antibody-secreting plasma cells or long-lived memory B cells. These activities take place in specialized immunological environments called germinal centres, usually located in the secondary lymphoid organs. To complete the germinal centre activities successfully, a B cell adopts a transcriptional programme that allows it to migrate to specific sites within the germinal centre, proliferate, modify its DNA recombination and repair pathways, alter its apoptotic potential and finally undergo terminal differentiation. To co-ordinate these processes, B cells employ a number of 'master regulator' transcription factors which mediate wholesale transcriptomic changes. These master transcription factors are mutually antagonistic and form a complex regulatory network to maintain distinct gene expression programs. Within this network, multiple points of positive and negative feedback ensure the expression of the 'master regulators', augmented by a number of 'secondary' factors that reinforce these networks and sense the progress of the immune response. In this review we will discuss the different activities B cells must undertake to mount a successful T cell-dependent immune response and describe how a regulatory network of transcription factors controls these processes.