Treatment of hypertension is associated with a reduction in the risk of cardiovascular complications such as stroke. In this Review, Morris Brown discusses vaccines that target components of the renin–angiotensin system as a potential strategy not only for treating hypertension, but for preventing the development of treatment-resistant hypertension.