Our results showed that PIEZO1 can be used to predict prognosis of different cancers, and it affected tumor infiltrating immune cells, which rises a pivotal role in tumor immunity. Here, PIEZO1 is linked to cancer.