Warfarin is an anticoagulant (blood thinner). Warfarin reduces the formation of blood clots. Warfarin is used to treat or prevent blood clots in veins or arteries, which can reduce the risk of stroke, heart attack, or other serious conditions. Warfarin may also be used for purposes not listed in this medication guide.