The invention is directed to sublingual spray formulations containing sildenafil. The invention is further directed to methods of treating male sexual dysfunction or pulmonary arterial hypertension by administering sublingual spray formulations containing sildenafil to patients in need of such treatments.