More than 70% of patients with resistant hypertension have obstructive sleep apnea (OSA). However, there is little evidence about the effect of continuous positive airway pressure (CPAP) treatment on blood pressure in patients with resistant hypertension. To assess the effect of CPAP treatment on blood pressure values and nocturnal blood pressure patterns in patients with resistant hypertension and OSA. Open-label, randomized, multicenter clinical trial of parallel groups with blinded end point design conducted in 24 teaching hospitals in Spain involving 194 patients with resistant hypertension and an apnea-hypopnea index (AHI) of 15 or higher. Data were collected from June 2009 to October 2011. CPAP or no therapy while maintaining usual blood pressure control medication. The primary end point was the change in 24-hour mean blood pressure after 12 weeks. Secondary end points included changes in other blood pressure values and changes in nocturnal blood pressure patterns. Both intention-to-treat (ITT) and per-protocol analyses were performed. A total of 194 patients were randomly assigned to receive CPAP (n = 98) or no CPAP (control; n = 96). The mean AHI was 40.4 (SD, 18.9) and an average of 3.8 antihypertensive drugs were taken per patient. Baseline 24-hour mean blood pressure was 103.4 mm Hg; systolic blood pressure (SBP), 144.2 mm Hg; and diastolic blood pressure (DBP), 83 mm Hg. At baseline, 25.8% of patients displayed a dipper pattern (a decrease of at least 10% in the average nighttime blood pressure compared with the average daytime blood pressure). The percentage of patients using CPAP for 4 or more hours per day was 72.4%. When the changes in blood pressure over the study period were compared between groups by ITT, the CPAP group achieved a greater decrease in 24-hour mean blood pressure (3.1 mm Hg [95% CI, 0.6 to 5.6]; P = .02) and 24-hour DBP (3.2 mm Hg [95% CI, 1.0 to 5.4]; P = .005), but not in 24-hour SBP (3.1 mm Hg [95% CI, -0.6 to 6.7]; P = .10) compared with the control group. Moreover, the percentage of patients displaying a nocturnal blood pressure dipper pattern at the 12-week follow-up was greater in the CPAP group than in the control group (35.9% vs 21.6%; adjusted odds ratio [OR], 2.4 [95% CI, 1.2 to 5.1]; P = .02). There was a significant positive correlation between hours of CPAP use and the decrease in 24-hour mean blood pressure (r = 0.29, P = .006), SBP (r = 0.25; P = .02), and DBP (r = 0.30, P = .005). Among patients with OSA and resistant hypertension, CPAP treatment for 12 weeks compared with control resulted in a decrease in 24-hour mean and diastolic blood pressure and an improvement in the nocturnal blood pressure pattern. Further research is warranted to assess longer-term health outcomes. clinicaltrials.gov Identifier: NCT00616265.