Inclusion Criteria:
1. Age ≥ 18
2. Eastern Cooperative Oncology Group performance status ≤ 2.
3. Histologically confirmed adenocarcinoma or squamous cell carcinoma of the esophagus.
4. Diagnosed with stage IVB disease (according to UICC TNM version 8) with up to five metastatic lesions in up to three organs.
5. At least one metastatic lesion amenable to the delivery of SBRT.
6. Estimated life expectancy \>6 months.
7. The function of important organs meet the following requirements: a. white blood cell count (WBC) ≥ 4.0×109/L, absolute neutrophil count (ANC) ≥ 1.5×109/L; b. platelets ≥ 100×109/L; c. hemoglobin ≥ 9g/dL; d. serum albumin ≥ 2.8g/dL; e. total bilirubin ≤ 1.5×ULN, ALT, AST and/or AKP ≤ 2.5×ULN; f. serum creatinine ≤ 1.5×ULN or creatinine clearance rate \>60 mL/min;
8. Ability to understand the study and sign informed consent.
9. Women of childbearing potential (WOCBP) must have a negative serum (or urine) pregnancy test at the time of screening. WOCBP is defined as any female who has experienced menarche and who has not undergone surgical sterilization (hysterectomy or bilateral oophorectomy or bilateral salpingectomy) and is not postmenopausal. Menopause is defined as 12 months of amenorrhea in a woman over age 45 years in the absence of other biological or physiological causes. In addition, females under the age of 55 years must have a serum follicle stimulating hormone, (FSH) level \> 40 mIU/mL to confirm menopause.
10. Patients of childbearing/reproductive potential should use highly effective birth control methods if indicated, as defined by the investigator, up to the period of finishing capecitabine and for 6 months after last dose. A highly effective method of birth control is defined as those that result in low failure rate (i.e., less than 1% per year) when used consistently and correctly. Note: abstinence is acceptable if this is established and preferred contraception for the patient.
11. Females must not be breastfeeding while taking capecitabine or within 2 weeks after the last dose.
12. Male patients should agree to not donate sperm during the study while taking capecitabine and for 3 months after the last dose.
13. Male patients should not father a child while taking capecitabine and for 3 months after the last dose.
Exclusion Criteria:
1. Progression was confirmed after completion of 4 to 6 cycles of standard chemotherapy and anti-PD1 treatment and not amenable to SBRT.
2. Known or suspected allergy or hypersensitivity to monoclonal antibodies and the chemotherapeutic drugs: Capecitabine, paclitaxel, or platinum.
3. Patients have spinal bone metastases combined with spinal cord compression.
4. A history of malignancies other than esophageal cancer before enrollment, excluding non-melanoma skin cancer, in situ cervical cancer, or cured early prostate cancer.
5. Patients who cannot tolerate radiotherapy due to severe cardiac, lung, liver, or kidney dysfunction, or hematopoietic disease or cachexia.
6. Inability to provide informed consent due to psychological, familial, social, and other factors.
7. Female patients who are pregnant or during lactation.
8. Active autoimmune diseases, or a history of autoimmune diseases (including but not limited to these diseases or syndromes, such as colitis, hepatitis, hyperthyroidism) that precludes the use of immunotherapy as decided by the treating medical oncologist, a history of immunodeficiency (including a positive HIV test result), or other acquired or congenital immunodeficiency diseases, a history of organ transplantation or allogeneic bone marrow transplantation.
9. A history of interstitial lung disease or non-infectious pneumonia; Presence of active hepatitis B (HBV DNA ≥ 2000 IU/mL or 104 copies/mL), hepatitis C (positive for hepatitis C antibody, and HCV-RNA levels higher than the lower limit of the assay).