Despite the development of catheter-based interventions for ischemic and valvular heart disease, hundreds of thousands of people undergo open heart surgery annually for coronary artery bypass graft (CABG), valve replacement or cardiac assist device implantation. Cardiac surgery patients are unique because therapeutic anticoagulation is required during cardiopulmonary bypass. Developmental hemostasis and altered drug metabolism affect management in children. This narrative review summarizes the current evidence-based and consensus guidelines regarding perioperative, intraoperative and postoperative antithrombotic therapy in patients undergoing cardiac surgery. Anticoagulation preoperatively is required in the setting of cardiac arrhythmias, prior valve replacement or history of venous thromboembolism. In patients with ischemic heart disease, aspirin is continued in the perioperative period, whereas oral P2Y antagonists are withheld for 5-7 days to reduce the risk of perioperative bleeding. Intraoperative management of cardiopulmonary bypass in adults and children includes anticoagulation with unfractionated heparin. Variability in dose-response to heparin and influence of other medical conditions on dosing and reversal of heparin make intraoperative anticoagulation challenging. Vitamin K antagonist therapy is the standard anticoagulant after mechanical heart valve or left ventricular assist device (LVAD) implantation. Longer duration of dual antiplatelet therapy is recommended after CABG if patients undergo surgery because of acute coronary syndrome. Antiplatelet therapy after LVAD implantation includes aspirin, dipyridamole and/or clopidogrel in children and aspirin in adults. A coordinated approach between hematology, cardiology, anesthesiology, critical care and cardiothoracic surgery can assist to balance the risk of thrombosis and bleeding in patients undergoing cardiac surgery.