Capecitabine is used in combination with other medicines to treat breast cancer that has come back after treatment with other medicines. It is also used alone to treat breast cancer that has not improved after treatment with other medicines.