(a, b) Direct microglia contacts (a) and contacts along the dendritic shaft (b) in anesthetized vs. awake mice unpaired t-test (a,b); p<0.0001 (a), p=0.0964 (b). (c, d) Contact rate in anesthesia (c) and awake (d) at dendritic spines that are either stable (blue) or lost (red) and contacts at the dendritic shaft where either a spine was gained (green) after 48 hr or at random locations along the dendrite where no spine gain was detectable (orange). One-way ANOVA with Sidak’s multiple comparison test (c,d); F(3,59)=20.88 (c) and F(3,51)=103.7 (d); Spine contacts averaged over dendrites with n=17 stable, 16 loss, 14 gain, 16 d. Shaft in anesthesia and n=16 stable, 9 loss, 14 gain, and 16 d. Shaft awake in n=4 mice (a–d); n.s. not significant, ***p<0.0001. Error bars: SEM.