Emergency surgeries are linked with increased morbidity and reduced life expectancy, often associated with low socioeconomic status, limited access to healthcare, and delayed hospital admissions. While the influence of socioeconomic status on elective surgery outcomes is well-established, its impact on emergency surgeries, including ostomy creation and closure, is less clear. This study aimed to explore how the pandemic and socioeconomic status affect emergency ostomy procedures, seeking to determine which has a greater effect. It emphasizes the importance of considering socioeconomic factors in patient care pathways for ostomy procedures. A total of 542 patients who underwent emergency ostomy formation between 2016 and 2022 were retrospectively analyzed and divided into pre-pandemic and pandemic periods. The pre-pandemic and pandemic periods were compared between themselves and against each other. Demographic data (age and sex), comorbidities, socioeconomic status, etiology of the primary disease, type of surgery, stoma type, length of hospital stay, ostomy closure time, and postoperative complications were retrospectively analyzed for all patients. In total, 290 (53%) patients underwent surgery during the pandemic period, whereas 252 (47%) underwent surgery during the pre-pandemic period. Emergency surgery was performed for malignancy in 366 (67%) patients. The number of days patients underwent ostomy closure was significantly higher in the low-income group (P = .038, 95% CI: 293,2, 386–945). The risk of failure of stoma closure was 3-fold (95% CI: 1.8–5.2) in patients with metastasis. The risk of mortality was 12.4-fold (95% CI: 6.5–23.7) when there was failure of stoma closure. When compared to pandemic period, the mortality risk was 6.3-fold (95% CI: 3.9–10.2) in pre-pandemic period. Pandemic patients had a shorter hospital stay than before the pandemic (P = .044). A high socioeconomic status was significantly associated with early hospital admission for ostomy closure, and lower probability of mortality. More metastases and perforations were observed during the pandemic period and mortality was increased during pandemic and in patients without ostomy closure. The socioeconomic status lost its effect in cases of emergency ostomy creation and had no impact on length of hospital stay in either the pre-pandemic or pandemic period.