Solid electrolytes (SEs) are widely considered as an ‘enabler’ of lithium anodes for high-energy batteries. However, recent reports demonstrate that the Li dendrite formation in Li7La3Zr2O12 (LLZO) and Li2S–P2S5 is actually much easier than that in liquid electrolytes of lithium batteries, by mechanisms that remain elusive. Here we illustrate the origin of the dendrite formation by monitoring the dynamic evolution of Li concentration profiles in three popular but representative SEs (LiPON, LLZO and amorphous Li3PS4) during lithium plating using time-resolved operando neutron depth profiling. Although no apparent changes in the lithium concentration in LiPON can be observed, we visualize the direct deposition of Li inside the bulk LLZO and Li3PS4. Our findings suggest the high electronic conductivity of LLZO and Li3PS4 is mostly responsible for dendrite formation in these SEs. Lowering the electronic conductivity, rather than further increasing the ionic conductivity of SEs, is therefore critical for the success of all-solid-state Li batteries.