Inhaled carbon dioxide decreases ventilation/perfusion ratio (V'/Q') heterogeneity in dogs. The aim of this study was to test whether inhaled CO2 improves the V'/Q' by inhibition of nitric oxide production and whether inhibition of endogenous NO production in the lung alters gas exchange and V'/Q' matching. Eleven healthy dogs were anaesthetized and mechanically ventilated. The multiple inert gas elimination technique (MIGET) was used to measure V'/Q' heterogeneity and regional pulmonary blood flow heterogeneity was assessed in five dogs using fluorescent microspheres. In a separate set of five dogs, exhaled NO levels were measured via chemiluminescence. All dogs were studied before and after 4.8% inspired CO2, and then given the NO synthase inhibitor N(omega)-nitro-L-arginine methyl ester (L-NAME, 10 mg x kg(-1)) via nebulization, after which they were studied again with room air and inhaled CO2. CO2 and L-NAME improved arterial and alveolar oxygen tension, but the improvements with L-NAME did not reach statistical significance. Improved V'/Q' matching, as assessed by the MIGET, occurred under all experimental conditions. Exhaled NO levels were reduced by 40% with CO2 and 70% with L-NAME. The standard deviation of regional pulmonary blood flow assessed via microspheres decreased only with inhaled CO2. Fractal analysis of pulmonary blood flow distributions revealed that regional blood flow was highly correlated with flow to neighbouring pieces of lung in all four conditions with no changes in the fractal dimension. Inspired carbon dioxide improves ventilation perfusion ratio matching and is associated with a more homogeneous distribution of pulmonary blood flow. Although inspired carbon dioxide causes a reduction in exhaled nitric oxide, the differences in pulmonary perfusion distributions found between carbon dioxide and N(omega)-nitro-L-arginine methyl ester suggest that the carbon dioxide effect is not mediated by a reduction in nitric oxide production. The improved ventilation perfusion ratio matching with inhibition of nitric oxide synthase suggests the intriguing possibility requiring further study that endogenous production of nitric oxide in the lung does not subserve ventilation perfusion ratio regulation.