The presence of polysulfides in Li–S batteries significantly affects battery operation, but their presence and reaction mechanisms are not well understood. Now, an operando X-ray diffraction approach is used to directly observe these polysulfides, offering insights on their formation and evolution.