In a previous study, we found that patients with posttraumatic stress disorder (PTSD) and borderline personality disorder (BPD) showed better autobiographical memory (AM) retrieval after hydrocortisone administration than after placebo administration. Here we investigate the neural correlates of AM retrieval after hydrocortisone administration in patients with PTSD or BPD. We recruited 78 female participants for this placebo-controlled crossover study: 40 healthy controls, 20 patients with PTSD, and 18 patients with BPD (all without medication). All participants received an oral placebo or 10 mg hydrocortisone in a randomized order before performing an AM task. Neural activity was monitored during the task by functional magnetic resonance imaging. Neural activation did not differ between the three groups during AM retrieval, neither in the placebo condition nor after hydrocortisone intake. Multiple regression analysis revealed that Childhood Trauma Questionnaire scores correlated positively with hydrocortisone effects on activation in the anterior medial prefrontal cortex (amPFC), ventrolateral prefrontal cortex (vlPFC), posterior cingulate cortex (PCC), angular gyrus, and cerebellum. These results suggest that hydrocortisone-induced neural activation pattern during AM retrieval is related to childhood trauma. Previously described effects in the hippocampus, which were absent in the current study, might be related to PTSD caused by trauma in adulthood. The effects of hydrocortisone on brain activation and how these effects are influenced by childhood trauma, trauma in adulthood, and PTSD symptoms should be determined in future studies.