Metoprolol is used alone or in combination with other medications to treat high blood pressure. It also is used to prevent angina (chest pain) and to improve survival after a heart attack. Metoprolol also is used in combination with other medications to treat heart failure.