Ergotropy, which represents the maximum amount of work that can be extracted from a quantum system, has become a focal point of interest in the fields of quantum thermodynamics and information processing. In practical scenarios, the interaction of quantum systems with their surrounding environment is unavoidable. Recent studies have increasingly focused on analyzing open quantum systems affected by non-stationary environmental fluctuations due to their significant impact on various physical scenarios. While much research has concentrated on work extraction from these systems, it often assumes that the environmental degrees of freedom are substantial and that the environment is effectively in equilibrium. This has led us to explore work extraction from quantum systems under non-stationary environmental conditions. In this work, the dynamics of ergotropy will be investigated in a non-equilibrium environment for both Markovian and non-Markovian regime. In this study, both the coherent and incoherent parts of the ergotropy will be considered. It will be shown that for a non-equilibrium environment, the extraction of work is more efficient compared to when the environment is in equilibrium.