A detailed understanding of the energy storage mechanism is essential to enhance the energy density of electrochemical capacitors. This necessity has led to the widespread use of in situ and operando measurements of electrochemical devices with laboratory X-ray scattering equipment and synchrotron X-rays. For electrochemical capacitors, it is crucial to obtain comprehensive information on the behavior of the electrolytes within the nanopores, the formation of the electric double-layer, and the structural changes in both the electrode and the porous carbon used as the electrode material. This review will present recent studies on electric double-layer capacitors, highlighting the insights gained from X-ray scattering measurements.