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, allergyand 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, autoimmunityand 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.