Synthetic organoids made by combining white blood cells or tonsil cells with a hydrogel that mimics the immune tissue microenvironment provide a platform for mechanistic analysis of B cell maturation, humoral immunity and modelling of patient-specific responses.