The ephrin B2 (EphB2) receptor is a tyrosine kinase receptor that is associated with synaptic development and maturation. It has recently been implicated in cognitive deficits and anxiety. However, still unknown is the involvement of EphB2 in the vulnerability to stress. In the present study, we observed decreases in EphB2 levels and their downstream molecules in the medial prefrontal cortex (mPFC) but not in the orbitofrontal cortex (OFC) in mice that were susceptible to chronic social defeat stress. The activation of EphB2 receptors with EphrinB1-Fc in the mPFC produced stress-resistant and antidepressant-like behavioral effects in susceptible mice that lasted for at least 10 days. EphB2 receptor knockdown by short-hairpin RNA in the mPFC increased the susceptibility to stress and induced depressive-like behaviors in a subthreshold chronic social defeat stress paradigm. These behavioral effects were associated with changes in the phosphorylation of cofilin and membrane α-amino-3-hydroxy-5-methyl-4-isoxazolepropionic acid receptor (AMPAR) trafficking and the expression of some synaptic proteins in the mPFC. We also found that EphB2 regulated stress-induced spine remodeling in the mPFC. Altogether, these results indicate that EphB2 is a critical regulator of stress vulnerability and might be a potential target for the treatment of depression.