Extubation failure is associated with increased morbidity and mortality in critically ill patients. High-risk patients may benefit from preventive respiratory support after extubation. This randomized controlled trial compared noninvasive ventilation (NIV) with high-flow nasal cannula (HFNC) in adult intensive care unit (ICU) patients at high risk of extubation failure. The study evaluated reintubation rates, time to reintubation, physiological parameters, complications, and clinical outcomes following planned extubation. The aim was to determine the optimal post-extubation respiratory support strategy for reducing extubation failure in high-risk ICU patients.