The unclear etiology and pathogenesis of interstitial cystitis/bladder pain syndrome (IC/BPS) are responsible for the lack of effective treatment and the poor patient prognosis. Various studies show that chronic inflammation and immune responses are important factors contributing to the pathogenesis of IC/BPS. The process of immunogenic cell death (ICD) involves both the immune response and inflammatory process, and the involvement of ICD in IC/BPS pathogenesis has not been explored. Two IC/BPS transcriptome datasets collected from the Gene Expression Omnibus (GEO) database were used to identify distinct ICD-associated molecular patterns (IAMPs). IAMPs and IC/BPS subtypes were found to be related. The inflammatory immune microenvironments (IIME) in different IAMPs were studied. The potential mechanism by which the interleukin 17 receptor A (IL17RA) influences IC/BPS was examined using in vitro assays. The expression of ICD-related genes (IRGs) was upregulated in IC/BPS bladders, compared with normal bladders. Disease prediction models, based on differentially expressed IRGs, could accurately predict IC/BPS. The IC/BPS patients had two distinct IAMPs, each with its own subtype and clinical features and association with remodeling IIME. IL17RA, a well-established IC/BPS bladder biomarker, mediates both the inflammatory insult and the protective responses. In summary, the current study identified different IAMPs in IC/BPS, which may be involved in the pathogenesis of IC/BPS by remodeling the IIME. The chronic inflammatory process in IC/BPS may be prolonged by IL17RA, which could mediate both pro- and anti-inflammatory responses. The IL17RA-associated pathway may play a significant role in the development of IC/BPS and can be used as a therapeutic target.