Type 2 respiratory failure is a lack of oxygen plus an excess of carbon dioxide. This build-up of carbon dioxide is due to the fact that the respiratory system has been unable to clear it sufficiently from the body.