A U-shaped association of BMI with 28-day mortality in critically ill sepsis patients was found, with the lowest 28-day mortality at a BMI range of 30-40 kg/m2. Notably, male patients were protected by a higher BMI more effectively than female patients as males had a significantly lower mortality risk.