In order to improve the electrochemical performances of lithium–sulfur batteries, it is crucial to understand profoundly their working mechanism and the limitation factors. This communication presents synchrotron-based in situ XRD studies of structural modifications occurring inside the cell upon cycling, since the active material changes constantly its form between solid and liquid phases.