The human islet amyloid polypeptide (hIAPP) aggregates into amyloid fibrils that contribute to β-cell failure in type 2 diabetes. Here, IAPP is linked to type 2 diabetes mellitus.