The International Working Group on the Diabetic Foot (IWGDF) has published evidence-based guidelines on the prevention and management of diabetic foot disease since 1999. This guideline is on the diagnosis and treatment of foot infection in persons with diabetes and updates the 2015 IWGDF infection guideline. On the basis of patient, intervention, comparison, outcomes (PICOs) developed by the infection committee, in conjunction with internal and external reviewers and consultants, and on systematic reviews the committee conducted on the diagnosis of infection (new) and treatment of infection (updated from 2015), we offer 27 recommendations. These cover various aspects of diagnosing soft tissue and bone infection, including the classification scheme for diagnosing infection and its severity. Of note, we have updated this scheme for the first time since we developed it 15 years ago. We also review the microbiology of diabetic foot infections, including how to collect samples and to process them to identify causative pathogens. Finally, we discuss the approach to treating diabetic foot infections, including selecting appropriate empiric and definitive antimicrobial therapy for soft tissue and for bone infections, when and how to approach surgical treatment, and which adjunctive treatments we think are or are not useful for the infectious aspects of diabetic foot problems. For this version of the guideline, we also updated four tables and one figure from the 2016 guideline. We think that following the principles of diagnosing and treating diabetic foot infections outlined in this guideline can help clinicians to provide better care for these patients.