Using in vivo transcranial two-photon microscopy, we examined dendritic spine plasticity and microglial activation in the somatosensory cortex in a mouse model of EAE induced by immunization with myelin-oligodendrocyte-glycoprogein 35-55 (MOG).