The correlation between diabetes mellitus and infectious diseases is widely recognized. DM patients are characterized by the impaired function of the immune system. This translates into the occurrence of a variety of infections, including urinary tract, skin and surgical site infections, pneumonia, tuberculosis, and, more recently, SARS-CoV-2. Hyperglycemia has been identified as a relevant factor contributing to unfavorable outcomes in hospitalized patients including SARS-CoV-2 patients. Several studies have been performed proving that to maintain the proper and stringent monitoring of glycemia, a balanced diet and physical activity is mandatory to reduce the risk of infections and their associated complications. This review is focused on the mechanisms accounting for the increased susceptibility of DM patients to infections, with particular attention to the impact of newly introduced hypoglycemic drugs in sepsis management.