The incidence of gastrointestinal (GI) tumors is increasing year by year, and its pathogenesis is closely related to the intestinal flora. At present, the use of antibiotics is very common in the clinic. And cancer patients with low immunity are vulnerable to all sorts of infections, such as respiratory tract infections and urinary tract infections. Moreover, cancer patients easily run into fever and neutropenia induced by myelosuppression. Therefore, antibiotics are used extensively and even overused in many conditions. However, because of the special anatomical location of the gastrointestinal tract, the antibiotic usage will bring changes to the intestinal flora. Besides, with the expanding popularity of immunotherapy, various factors affecting the efficacy of immune checkpoint inhibitors (ICIs) have been extensively explored, including cancer-associated inflammation and the local and systemic factors that lead to immunosuppression. Some biomarkers for ICIs, including the expression of PD-L1, tumor mutation load, and microbiota, also have been investigated, and many studies have confirmed that gut microbiota can affect the efficacy of immunotherapy. But further studies on the influence of antibiotics directly on immunotherapy are rare. In this review, we discuss the relationship between GI tumors and antibiotics, the current status of immunotherapy in GI tumors, and the influence of antibiotics on immunotherapy.