What is nitroglycerin used for? Nitroglycerin is commonly used to treat and prevent chest pain caused by a type of heart disease (coronary artery disease). Nitroglycerin may also be used for other ...