Our results showed that TAP1 could play an important role in immunotherapy across various cancers, and we determined the expression of TAP1 in cell lines and tissues to explain its role in the prognosis of CC and OC. This evidence concerns the gene TAP1 and cancer.