The authors describe the application of NIV as a useful tool to correct hypercarbia, gas exchanges and to reduce the complications caused by mechanical ventilation with ETT in patients with acute exacerbation of COPD and acute asthma attack.