Developing strategies to activate tumor-cell-intrinsic immune response is critical for improving tumor immunotherapy by exploiting tumor vulnerability. KDM4A, as a histone H3 lysine 9 trimethylation (H3K9me3) demethylase, has been found to play a critical role in squamous cell carcinoma (SCC) growth and metastasis. Here we report that KDM4A inhibition promoted heterochromatin compaction and induced DNA replication stress, which elicited antitumor immunity in SCC. Mechanistically, KDM4A inhibition promoted the formation of liquid-like HP1γ puncta on heterochromatin and stall DNA replication, which activated tumor-cell-intrinsic cGAS-STING signaling through replication-stress-induced cytosolic DNA accumulation. Moreover, KDM4A inhibition collaborated with PD1 blockade to inhibit SCC growth and metastasis by recruiting and activating CD8+ T cells. In vivo lineage tracing demonstrated that KDM4A inhibition plus PD1 blockade efficiently eliminated cancer stem cells. Altogether, our results demonstrate that targeting KDM4A can activate anti-tumor immunity and enable PD1 blockade immunotherapy by aggravating replication stress in SCC cells.