Epigenetic changes during long-term spaceflight are beginning to be studied by NASA’s twin astronauts and other model organisms. Here, we evaluate the epigenetic regulation of gene expression in space-flown C. elegans by comparing wild type and histone deacetylase (hda)-4 mutants. Expression levels of 39 genes were consistently upregulated in all four generations of adult hda-4 mutants grown under microgravity compared with artificial Earth-like gravity (1G). In contrast, in the wild type, microgravity-induced upregulation of these genes occurred a little. Among these genes, 11 contain the domain of unknown function 19 (DUF-19) and are located in a cluster on chromosome V. When compared with the 1G condition, histone H3 trimethylation at lysine 27 (H3K27me3) increased under microgravity in the DUF-19 containing genes T20D4.12 to 4.10 locus in wild-type adults. On the other hand, this increase was also observed in the hda-4 mutant, but the level was significantly reduced. The body length of wild-type adults decreased slightly but significantly when grown under microgravity. This decrease was even more pronounced with the hda-4 mutant. In ground-based experiments, one of the T20D4.11 overexpressing strains significantly reduced body length and also caused larval growth retardation and arrest. These results indicate that under microgravity, C. elegans activates histone deacetylase HDA-4 to suppress overregulation of several genes, including the DUF-19 family. In other words, the expression of certain genes, including negative regulators of growth and development, is epigenetically fine-tuned to adapt to the space microgravity.