Epidemiological studies have shown a clear association of adverse intrauterine environment and an increased risk of cardiovascular diseases and hypertension in adult life. The present study tested the hypothesis that prenatal cocaine exposure causes reprogramming of vascular reactivity, leading to an increased risk of hypertension in adult offspring. Pregnant rats received cocaine (30 mg kg−1 day−1) or saline from days 15 to 21 of gestational age, and experiments were conducted in 3-month-old offspring. Cocaine had no effect on the baseline blood pressure but significantly increased norepinephrine-stimulated blood pressure and decreased the baroreflex sensitivity in male but not female offspring. The cocaine treatment significantly increased norepinephrine-induced contractions in pressurized resistance–sized mesenteric arteries but not in aortas, which was primarily because of a loss of endothelial NO synthase–mediated inhibition and an enhanced Ca2+ sensitivity in mesenteric arteries. In addition, the cocaine treatment significantly attenuated the endothelium-dependent relaxation in mesenteric arteries in male but not female offspring. Endothelial NO synthase protein levels in aortas but not mesenteric arteries were significantly increased in the cocaine-treated animals. However, cocaine significantly decreased phosphorylation levels of endothelial NO synthase in both aortas and mesenteric arteries. The results suggest that prenatal cocaine exposure programs vascular contractility via changes in endothelial NO synthase–regulated Ca2+ sensitivity of myofilaments in the sex- and tissue-dependent manners in resistance arteries leading to an increased risk of hypertension in male offspring.