The HER2-IHC-40x dataset provides high-resolution annotated histopathology image patches for HER2 immunohistochemistry (IHC) scoring extracted from whole slide images (WSI) of human breast cancer biopsies. This evidence concerns the gene ERBB2 and breast cancer.