B cells are fundamental to host defence against infectious diseases; indeed, the ability of humans to elicit robust antibody responses following exposure to foreign antigens underpins long-lived humoral immunity and serological memory, as well as the success of most currently administered vaccines. However, B cells also have a dark side — they can cause myriad diseases, including autoimmunity, atopy, allergy and malignancy. Thus, it is critical to understand the molecular requirements for generating effective, high-affinity, specific immune responses following natural infection or vaccination, as well as for constraining B-cell function to mitigate B-cell-mediated immune dyscrasias. In this review, we discuss recent developments that have been derived from the identification and detailed analysis of individuals with inborn errors of immunity that disrupt cytokine signalling, resulting in immune dysregulatory conditions. These studies have defined fundamental cytokine/cytokine receptor/signal transducer and activator of transcription (STAT) signalling pathways that are critical for the generation and maintenance of human memory B-cell and plasma cell subsets during host defence, as well as revealed mechanisms of disease pathogenesis causing immune deficiency, autoimmunity and atopy. More importantly, these studies have identified molecules that could be targeted to either enhance humoral immunity in the settings of infection or vaccination, or attenuate humoral immunity that contributes to antibody-mediated autoimmunity or allergy. [Display omitted] • STAT3, activated predominantly by IL-21/IL-21R, is critical for eliciting robust, effective and long-lived humoral immune responses. • B cells intrinsically require IFNγ/STAT1 signalling, and T-bet itself, to generate CD21loT-bethiCD11chi B cells. • Human IgE production is tightly controlled by many inputs, but mostly by IL-6/IL6R/STAT3, while constitutive IL-4/IL-13/STAT6 signalling causes a hyper-IgE syndrome characterised by severe early onset and potentially fatal atopy. [ABSTRACT FROM AUTHOR]