Lithium–sulfur (Li–S) batteries, which have a high theoretical capacity and can be prepared using low-cost activation materials, are a promising alternative for realizing high-energy-density battery systems. However, the stability of the electrolyte and the shuttle effect caused by dissolved lithium polysulfides in the electrolyte prevent their practical application. Due to its non-flammability and high oxidation stability, sulfolane shows good promise for improving the oxidation stability and weakening the shuttle effect of Li–S electrolytes. In this work, the effects of a sulfolane additive on a Li–S battery electrolyte were revealed by density functional theory calculations and molecular dynamics simulations. The molecular orbitals, thermodynamics, and dynamics of the oxidation reaction were analyzed from the electron level. The addition of sulfolane lowers the HOMO energy level and the configuration energy difference, which leads to improved oxidation stability. Furthermore, sulfolane shows affinity to the S atoms close to Li, which correspond to low-order polysulfides. This affinity is confirmed by binding energy data and indicates that the addition of sulfolane inhibits the diffusion of Li2S4, Li2S6 and Li2S8. This work provides an analysis of the effects of sulfolane as an additive from the electron and molecular levels, which will promote a better understanding of Li–S battery systems and enable the design of improved electrolytes.