Abstract The transition from small edge-localized modes (ELMs) to large ELMs has been repetitively observed in minute-scale long-pulse high-confinement mode (H-mode) discharges in 2017 EAST campaign. The appearance of large ELMs is found to be strongly correlated with the decrease in separatrix density due to the gradual decrease in fuel recycling during the long-pulse H-mode operations (LPHOs). By numerical scan of separatrix density with a fixed temperature profile, it has been found that the dependence of ELM instability on separatrix density is related to the competition between the ion diamagnetic stabilizing effect and destabilizing effect of pressure gradient and current density in the pedestal region, shedding light on a comprehensive understanding of different roles of separatrix density in ELM instability observed in EAST experiments. With a high separatrix density, the ideal ballooning mode could be destabilized near the separatrix, which is thought to help achieve small ELMs in EAST LPHOs. In 2021 EAST campaign, the experiment of large ELMs control has been performed through actively changing fuel recycling by moving strike point location (SPL) on the lower tungsten divertor target plate. It has been demonstrated that the mitigation of large ELMs is strongly correlated with the significant increase in separatrix density, which is thought to be attributed to a higher ionization source in the scrape-off layer (SOL) region by SOLPS-ITER simulation. The high ionization source in the SOL region is believed to provide a strong fueling effect near the separatrix and thus raise the local density, which is considered as an important reason for triggering ballooning instabilities near the separatrix and achieving small ELMs.