Described herein are methods of using inhaled nitric oxide for improving and/or maintaining right ventricular function and/or left ventricular function. Some methods relate to the long-term administration of inhaled nitric oxide to a patient with pulmonary hypertension.