Molybdenum sulfide (MoS 2 ) is a promising electrode material for supercapacitors; however, its limited Mo/S edge sites and intrinsic inert basal plane give rise to sluggish active electronic states, thus constraining its electrochemical performance. Here we propose a hierarchical confinement strategy to develop ethylene molecule (EG)-intercalated Co-doped sulfur-deficient MoS 2 (Co-EG/S V -MoS 2 ) for efficient and durable K-ion storage. Theoretical analyses suggest that the intercalation-confined EG and lattice-confined Co can enhance the interfacial K-ion storage capacity while reducing the K-ion diffusion barrier. Experimentally, the intercalated EG molecules with mildly reducing properties induced the creation of sulfur vacancies, expanded the interlayer spacing, regulated the 2Hâ1T phase transition, and strengthened the structural grafting between layers, thereby facilitating ion diffusion and ensuring structural durability. Moreover, the Co dopants occupying the initial Mo sites initiated charge transfer, thus activating the basal plane. Consequently, the optimized Co-EG/S V -MoS 2 electrode exhibited a substantially improved electrochemical performance. Flexible supercapacitors assembled with Co-EG/S V -MoS 2 delivered a notable areal energy density of 0.51 mW h cm â2 at 0.84 mW cm â2 with good flexibility. Furthermore, supercapacitor devices were integrated with a strain sensor to create a self-powered system capable of real-time detection of human joint motion.