Klrg1+aaMAIT cells expressed a cytotoxic effector programme and protected from lethal influenza challenge. Here, KLRG1 is linked to influenza.