Ramipril is used to treat high blood pressure and help prevent certain heart and blood vessel problems. The medication is usually prescribed to reduce the risk of heart attacks, strokes, and complications from heart failure.
Ramipril is also sometimes used to improve heart function in patients who have problems pumping blood after a heart attack.