PurposeThis study attempts to come in help for Morocco by investigating rigorously the linkage between environmental degradation, measured by ecological footprint (EF), and the gross domestic product growth (EG), the human capital (HC) index and the natural resources (NR) depletion over the period of 1980:Q1 to 2021:Q1. The paper examines the validity of environmental Kuznets curve (EKC) hypothesis in the Moroccan context.Design/methodology/approachUnlike previous studies, which are based only on the autoregressif dynamic linear (ARDL) model, this paper investigates two recent models: the novel DYNARDL simulation approach and the Kernel-based regularized least squares (KRLS) technics and uses in addition the frequency domain causality (FDC) test.FindingsModels output say a significant and negative association between HC and the EF and a significant and positive interplay between economic growth and environmental quality in the long term. In the short term, findings reveal a significant and negative association between NR and the EF. Based on the FDC test, results conclude about a unidirectional causality from NR to the EF in short-, medium-, and long-term. Moreover, results validate the EKC hypothesis for the Moroccan environment sustainability.Originality/valueIn this study, the researchers use the “ecological footprint” as dependent variable to obtain more accurate and comprehensive assessment of environmental deterioration. Based on time series data investigations, this study is the first paper, which validates the EKC hypothesis and develops important policy implications for Morocco context to achieve sustainable development targets.