As part of our work to develop small-molecule inhibitors (SMIs) of the CD40-CD40L(CD154) costimulatory protein-protein interaction, here, we describe the ability of two of our most promising SMIs, DRI-C21041 and DRI-C21095, to prolong the survival and function of islet allografts in two murine models of islet transplantation (under the kidney capsule and in the anterior chamber of the eye) and to prevent autoimmune type 1 diabetes (T1D) onset in NOD mice. Here, CD40 is linked to type 1 diabetes mellitus.