Type 2 respiratory failure is caused by inadequate alveolar ventilation; both oxygen and carbon dioxide are affected. Defined as the buildup of carbon dioxide levels (PaCO2) that has been generated by the body but cannot be eliminated. The underlying causes include: