The in vivo function of p38 mitogen-activated protein kinase (MAPK) signaling in regulating the response to simulated microgravity is still largely unclear. Using Caenorhabditis elegans as an assay system, we investigated the in vivo function of p38 MAPK signaling in regulating the response of animals to simulated microgravity and the underlying molecular mechanism. Simulated microgravity treatment significantly increased the transcriptional expressions of genes (pmk-1, sek-1, and nsy-1) encoding core p38 MAPK signaling pathway and the expression of phosphorylated PMK-1/p38 MAPK. The pmk-1, sek-1, or nsy-1 mutant was susceptible to adverse effects of simulated microgravity. The intestine-specific activity of PMK-1 was required for its function in regulating the response to simulated microgravity, and the entire p38 MAPK signaling pathway could act in the intestine to regulate the response to simulated microgravity. In the intestine, SKN-1 and ATF-7, two transcriptional factors, were identified as downstream targets for PMK-1 in regulating the response to simulated microgravity. Therefore, the activation of p38 MAPK signaling may mediate a protection mechanism for nematodes against the adverse effects of simulated microgravity. Additionally, our results highlight the potential crucial role of intestinal cells in response to simulated microgravity in nematodes.