What is Xarelto? Xarelto (rivaroxaban) blocks the activity of certain clotting substances in the blood. Xarelto is used to prevent or treat a type of blood clot called deep vein thrombosis (DVT), which can lead to blood clots in the lungs (pulmonary embolism). A DVT can occur after certain types of surgery.