In medicine, low-molecular-weight heparin (LMWH) is a class of anticoagulant medications. They are used in the prevention and treatment of venous thromboembolism (deep vein thrombosis and pulmonary embolism) and in the treatment of myocardial infarction.