Deterioration of inhibitory synapse may be an essential neurological basis underlying abnormal social behaviours. Manipulations that regulate GABAergic transmission are associated with improved behavioural phenotypes in sociability. The synaptic protein, Ephrin-B2 (EB2), plays an important role in the maintenance and reconfiguration of inhibitory synapses in the medial prefrontal cortex (mPFC). However, the inhibitory cell-type specific role of EB2 in the pathophysiology and treatment of social deficits remains unknown. As expected, we revealed that tdTomato-expressing cells were only found in GABAergic neurons instead of excitatory neurons in transgenic EB2-vGATCre mice. This result indicated that depletion of EB2 would occur in those neurons, which further contribute to social deficits. In addition, specific over-expression of mPFC EB2 restored the defective social behaviour abnormalities. These results suggest that the effect of EB2 on social deficits is anatomically and cell-type specific. More importantly, the global upregulation of HDAC4 expression was found in EB2-vGATCre mice. Significant subcellular nuclear shuttling of HDAC4 in vGAT+ neurons was examined and quantified, suggesting a role of nuclear HDAC4 in mediating the mechanism underlying EB2 impairment in vGAT+ neurons. Treatment with LMK235 led to a remarkable rescue of social deficits, thus our data revealed a new domain for the potential utility of HDAC targeting agents to treat social deficits. In conclusion, these results not only revealed a novel molecular mechanism underlying the pathophysiology of social deficits, but also suggested a potential intervention avenue for the treatment of social deficits.