A: Metoprolol (Lopressor, Toprol XL) is classified in a class of drugs called beta-blockers. Beta-blockers are used to treat angina (chest pain) and hypertension (high blood pressure). Beta-blockers are also used to treat or prevent heart attack.