To sum up, these results suggested that TRPM2 might act as an important role in the regulation of the immune microenvironment in ovarian cancer. Here, TRPM2 is linked to ovarian carcinoma.