Leptin receptor deficiency impairs TFH generation and antibody responses in immunisation and infection. Here, LEPR is linked to infection.