Your health care provider will tell you for how long you will have to take Xarelto. Some patients may have to take Xarelto for the rest of their lives.