Stress strongly influences the physiology and behavior of animals, and leads into a pathological condition and disease. NMDA receptors (NMDARs) play a crucial role in the modulation of neural activity. To understand the role of NMDARs in fish stress response, we used NMDARs agonist aspartate to test the functional role of its input on the Dahlgren cell population in the caudal neurosecretory system (CNSS) of the olive flounder. In addition, the effect of the NMDARs antagonist D-AP5 on the expression of genes of the main secretory products of the CNSS after stress was investigated by using qPCR technology and the effect of the NMDARs antagonist D-AP5 on post-stress behavior was explored by behavioral methods. Ex vivo electrophysiological experiments showed that the NMDARs agonist aspartate enhanced the firing frequency of Dahlgren cells. Additionally, aspartate treatment increased the incidence of cells exhibiting bursting firing pattern, this result is corroborated by the observed upregulation in the expression of ion channels and major hormone genes in the CNSS. Furthermore, the excitatory influence of aspartate was effectively counteracted by NMDARs antagonist D-AP5. Interestingly, NMDARs antagonist D-AP5 treatment also significantly decreased the plasma cortisol levels and the expression of CRH, UI, and UII in CNSS after acute stress. Treatment with D-AP5 effectively attenuated the stress response, as evidenced by alterations in respiratory metabolism, sand-burying behavior, swimming distance, simulated capture, and escape response. In conclusion, modulation of Dahlgren cell excitability in the CNSS by NMDARs contributes to the regulation of the stress response, NMDARs antagonist D-AP5 can effectively suppress stress response in flounder by regulating the stress hormone expression and secretion. CLINICAL TRIAL REGISTRATION: Project code SHOU-DW-2022-032.