Chronic or severe stress exposure during development primes an individual for altered stress sensitivity in adulthood and increases psychiatric disease susceptibility. However, the identity and function of genes affected by developmental stress exposure are poorly understood. Here, we used an optogenetic zebrafish model to identify brain-wide molecular alterations caused by chronic Glucocorticoid (GC) exposure during development and following subsequent exposure to an acute stressor in adulthood. We show that developmental GC-exposed fish display wide-ranging behavioral changes affecting social behavior, food consumption, and associative learning. The brain transcriptome of GC-exposed fish showed alteration of genes associated with DNA metabolism, axon development, and social behavior-related genes such as oxytocin across the life course. Strikingly, when GC-exposed fish were subjected to a stress challenge in adulthood, they showed exaggerated endocrine responses and a great number of brain-wide transcriptional changes, including gene sets associated with axon development, neuronal signaling, and epigenetic modulators. These altered gene sets showed an overrepresentation of genes linked to human psychiatric disorders. In short, our study provides a unique resource of long-term, time-dependent gene expression changes induced by developmental GC-exposure and identifies novel GC-primed genes which may shape adult responses of early life stress-exposed individuals.