Early life experiences can affect the development of physiology, behavior, and morphological structures. Post-translational modifications and small RNA-mediated gene silencing are capable of carrying environmental information, yet a holistic understanding of environmental influence remains elusive. We have developed the mouth-form plasticity of the nematode Pristionchus pacificus as a model for investigating the epigenetic mechanisms, temporal boundaries, and ecological consequences of environmental influence. Depending on the conditions experienced as juveniles, an irreversible decision is made in P. pacificus adults to develop either a narrow-mouth bacterial feeding morph, or a wide-mouthed predatory morph with an extra denticle. Here, we combine epigenomic profiling, mass spectrometry, and developmental transcriptomes to identify regulatory elements, post-translational modifications, and genes specific for each mouth form pathway. Transcription of the "switch" gene
eud-1 is highly responsive to growth conditions, and CRISPR knockout experiments demonstrate its induction or repression is required for the environment-response phenotype. After the switch decision, we also identify regulatory cascades for hundreds of genes specific to each mouth form, including epigenetic enzymes and genes involved in foraging in the predatory pathway. We also identified the transition between plasticity and canalization using reciprocal transplant experiments, which coincides precisely with the onset of H3K27me3 repression at a multi-gene locus containing
eud-1. Finally, we functionally interrogated epigenetic modifications with small molecule inhibitors. The chemotherapeutic drug Trichostatin A (TSA), a histone deacetylase inhibitor, partially coerces development to the predatory morph in conditions that otherwise favor the bacterivorous morph. However, adding the inhibitor after the switch decision fixes the predatory phenotype. These results suggest that histone acetylation acts in the initial environmental response, but is also capable of providing long-term epigenetic memory of juvenile experience. Collectively, our results describe the hills, valleys, and molecular mechanisms of the epigenetic landscape of an organismal phenotype.