Venous thromboembolism is a common complication of cancer. The prevalence varies according to cancer type and increases proportionally with the stage of cancer. In the past 15-20 years, low molecular weight heparin has been recommended as the first-line treatment. New international guidelines now allow for use of direct factor Xa inhibitors both as prophylaxis and treatment for venous thromboembolism. Prophylaxis should as a general rule only be initiated in patients with moderate to high risk. Bleeding risk assessment is important before starting anticoagulation. Both thrombosis and bleeding risk can change and should therefore be assessed on an ongoing basis. In this clinical review, use of anticoagulation therapy in cancer patients is discussed with particular emphasis on the use of direct factor Xa inhibitors.