In murine and diabetes and metabolic disease, inhibition of SARM1 prevents diabetic peripheral neuropathy and, in female mice, improves skeletal health. Here, SARM1 is linked to diabetes mellitus.