The tumor microenvironment (TME) plays decisive roles in disabling Tcell-mediated antitumor immunity, butthe immunoregulatory functions of its biophysical properties remain elusive. Extracellular matrix (ECM) stiffening is a hallmark of solid tumors. Here, we report that the stiffened ECM contributes to the immunosuppression in TME via activating the Rho-associated coiled-coil-containing protein kinase (ROCK)-myosin IIA-filamentous actin (F-actin) mechanosignaling pathway in tumor cells to promote the generation of TRIM14-scavenging nonmuscle myosin heavy chain IIA (NMHC-IIA)-F-actin stress fibers, thus accelerating the autophagic degradation of cyclic guanosine monophosphate (GMP)-AMP synthase (cGAS) to deprive tumor cyclic GMP-AMP (cGAMP) and further attenuating tumor immunogenicity. Pharmacological inhibition of myosin IIA effector molecules with blebbistatin (BLEB) or the RhoA upstream regulator of this pathway with simvastatin (SIM) restored tumor-intrinsic cGAS-mediated cGAMP production and enhanced antitumor immunity. Our work identifies that ECM stiffness is an important biophysical cue to regulate tumor immunogenicity via the ROCK-myosin IIA-F-actin axis and that inhibiting this mechanosignaling pathway could boost immunotherapeutic efficacy for effective solid tumor treatment.