Chronic inflammation is a risk factor for gastrointestinal cancer and other diseases. Most studies have focused on cytokines and chemokines as mediators connecting chronic inflammation to cancer, whereas the involvement of lipid mediators, including prostanoids, has not been extensively investigated. Prostanoids are among the earliest signaling molecules released in response to inflammation. Multiple lines of evidence suggest that prostanoids are involved in gastrointestinal cancer. In this Review, we discuss how prostanoids impact gastrointestinal cancer development. In particular, we highlight recent advances in our understanding of how prostaglandin E2 induces the immunosuppressive microenvironment in gastrointestinal cancers.