Alterations in the excitation and inhibition balance is regulated in the developing brain by astrocytes via the ephrin-B1 protein. The loss of astrocytic ephrin-B1 alters the E/I balance by reducing inhibition, resulting in hyperactivity of neural circuits. The hyperactivity results in reduced sociability in mice.