HLA association analysis identified HLA‐B*07:02 as a potential risk allele and HLA‐C*01:02 as a possible protective allele in cefaclor‐induced anaphylaxis. Here, HLA-B is linked to anaphylaxis.