1 Introduction

Economists and environmentalists have long been aware that the current economic growth path places immense strain on the natural environment, thereby threatening long-run economic development. Debates on the unintended consequences of pursuing growth at all costs have underscored the need to consider a growth path that signifies resilience, inclusivity, and sustainability as a critical policy imperative. There is a view that green growth is one of the key strategies that policymakers can use to stimulate the economy and achieve climate objectives simultaneously. The Organisation for Economic Co-operation and Development (OECD) defines green growth as fostering economic growth and development while ensuring that natural assets continue to provide the resources and environmental services essential to our well-being [1].

Moreover, the relevance of green growth is deeply embedded in the Sustainable Development Goals (SDGs), which promote a balance between economic prosperity and environmental protection [2,3,4]. Aligning green growth with the SDGs can provide a roadmap for sustainable economic development, ensuring that investments and policies contribute to long-term environmental sustainability. Despite the growing global emphasis on green growth, the impact of economic growth and Foreign Direct Investment (FDI) on achieving this objective remains a contentious issue. Designing effective policies for green growth requires a nuanced understanding of the key factors influencing this growth, with economic growth and FDI being significant factors. Economic growth has long been a double-edged sword for environmental quality. On one hand, it can provide the necessary resources for investing in cleaner technologies and improving environmental standards.

On the other hand, unchecked economic expansion often leads to increased resource consumption, higher emissions, and greater environmental degradation [5, 6]. The relationship between economic growth and environmental quality is complex and varies across different contexts. In many cases, economic growth initially leads to environmental deterioration. Still, as economies mature, there is a shift towards more sustainable practices, a concept known as the Environmental Kuznets Curve (EKC) [7, 8]. Understanding this dynamic is crucial for policymakers aiming to balance economic development with environmental sustainability. This study explores this intricate balance, particularly how technological innovation moderates the effect of Foreign Direct Investment (FDI) on green growth in OECD countries.

The novelty of this paper is evident through its exploration of the moderating influence of technological innovation on the impact of FDI on green growth, which is a gap in the current literature. By examining both production-based and demand-based CO2 productivity, the study provides a comprehensive understanding of green growth dynamics. Employing advanced methodologies like smoothed instrumental-variables quantile regression (SIVQR) and System GMM offers new empirical insights, contributing significantly to the existing body of knowledge. Peer review documents suggest that technological innovation is pivotal in enhancing eco-efficiency and promoting green growth, playing a dual role in mitigating environmental degradation while simultaneously driving economic progress. For instance, Wang et al. [9] and Zhang & Zhou [10] argue that aligning foreign investment with the host economy's technological capabilities can significantly reduce CO2 emissions.

Similarly, studies by Bakhsh [11], Radmehr et al. [12] and Zhao et al. [13]emphasize that technological innovation can transform investment into a catalyst for green growth, particularly in regions with robust innovation ecosystems. These technological advancements foster the adoption of cleaner practices, contributing to production and demand-based CO2 productivity. Consequently, understanding the role of technological innovation is crucial for devising policies that leverage FDI for sustainable development.

The ongoing surge of FDI in OECD economies has ignited debates about its environmental ramifications. Theoretical literature presents conflicting viewpoints on the correlation between FDI and environmental pollution. On one hand, it is argued that FDI influx into countries with lax environmental regulations may exacerbate ecological degradation. This perspective aligns with the pollution haven hypothesis (PHH) first proposed by Brian et al. [14], suggesting that globalization allows firms from countries with strict environmental standards to relocate their polluting activities to countries with less stringent regulations. Conversely, an opposing perspective emphasizes that FDI fosters technological advancements within host countries, thereby improving environmental conditions [15, 16]. Understanding these conflicting views is essential for developing policies that leverage FDI to support green growth without compromising environmental integrity.

In this context, technological innovation improves the eco-efficiency of Foreign Direct Investment (FDI) and instigates structural transformations within industries, influencing their environmental impact. Also, technological spillovers from foreign firms can catalyze domestic innovation capabilities, creating a positive cycle of green technological advancement. However, the extent to which technological innovation mitigates the impact of FDI on the environment and promotes green growth varies among OECD sub-regions due to contextual differences in regulatory frameworks, market structures, and technological capabilities. For example, in regions with stringent eco-role and robust innovation ecosystems, FDI inflows may catalyze the adoption of cleaner technologies and practices, thereby promoting green growth. Conversely, FDI might result in heightened pollution levels and environmental degradation in areas characterized by lenient environmental standards and limited technological capacities.

The relationship between technological innovation, foreign direct investment (FDI), and the green economy, particularly within OECD countries, is not extensively covered in existing literature. This gap is crucial because technological innovation can mitigate or exacerbate the environmental impacts of FDI, depending on the context. In addition, the United Nations Sustainable Development Goals (SDGs) provide a comprehensive framework for achieving sustainable development globally. This study aligns with several SDGs, particularly SDG 9 (Industry, Innovation, and Infrastructure), SDG 13 (Climate Action), and SDG 17 (Partnerships for the Goals). Consequently, by examining how technological innovation shapes the influence of FDI on green growth in the OECD sub-region, this research enhances our understanding of how economic activities can support sustainable development. Specifically, we examine two dimensions of green growth: production-based CO2 productivity and demand-based CO2 productivity. To gain meaningful insights into these dynamics, we utilize a range of methodologies.

This research uniquely contributes to environmental economics literature, offering numerous implications and far-reaching impacts. It breaks new ground by investigating the effects of FDI on green growth within OECD member countries. By exploring this relationship using two measures of green growth—production-based CO2 productivity and demand-based CO2 productivity—the study provides a comprehensive understanding of the dynamics of carbon emissions. Production-based metrics focus on emissions generated within a country's borders, while demand-based metrics consider emissions embedded in goods and services consumed domestically. Integrating both perspectives enables a holistic assessment of a nation's carbon footprint, facilitating the development of targeted policies addressing production, consumption, and trade-related emissions to mitigate climate change and promote sustainable development effectively.

Additionally, by acknowledging the role of countries' development, the study employs SIVQR (Semi-Parametric Instrumental Variable Quantile Regression) to investigate the nexus across different development levels. This approach provides nuanced insights into varying stages of development, enhancing our understanding of how economic policies and growth trajectories differ globally. Consequently, this method improves the robustness and applicability of the findings across diverse economic contexts. Moreover, the study examines how technological innovation influences the relationship between FDI and green growth. On one hand, this investigation sheds light on whether technological advancements can offset the potential negative environmental impacts of FDI and promote sustainable development.

On the other hand, it provides insights into the dynamics of green growth, informing policymakers on how to leverage FDI and innovation synergies to achieve environmentally sustainable economic growth. Lastly, accounting for time differences in examining this relationship enriches the literature by capturing the dynamic and evolving nature of these relationships. This approach reveals how the impact of FDI on sustainable development changes over time, identifies lag effects, and highlights long-term trends. It enhances the understanding of temporal factors influencing green growth, offering more nuanced and policy-relevant insights into the economic-environmental interplay.

The remainder of the paper unfolds as follows: Sect. 2 provides a concise literature review, followed by Sect. 3, which outlines the data and methodology utilized. Section 4 delves into the findings, and Sect. 5 offers concluding remarks.

2 Literature review

This section examined the theoretical and empirical literature on the nexus between FDI and the green economy. Several hypotheses and accounts on the nexus between FDI and environmental quality have been established in the literature. The nature of the relationship between the two variables can be summarised into two hypotheses called the pollution halo and pollution heaven hypothesis. The proponent of the pollution haven hypothesis asserts that foreign investors essentially take advantage of loosened environmental-related rules in these developing countries by bringing pollution-intensive production units [17]. Supporters of this view, such as Anyanwu [18], also identified factors such as cheap labour and abundant natural resources as the drivers of this process.

However, some scholars have identified a different perspective, named the pollution halo hypothesis. Followers of this view argue that multinational corporations employ clean technologies in their production processes, thereby contributing to a clean environment [19]. Furthermore, proponents of this viewpoint also emphasize that introducing clean technology has the dual benefits of improving the environment in the host nation and generating jobs through the transferring or linkage effect [20].

Although the perspective of these theories is explanatory and convincing, most scholars do not generally accept their adequacy. The empirical literature on the nexus between FDI and the environment makes the heterogeneity of opinions more apparent. Empirical studies have produced inconsistent results, with a considerable number of studies indicating a positive relationship and a few indicating a negative impact [21]. Some studies argue that the nature of the relationship is characterized by nonlinear or inverted U-shaped patterns, supporting the Environmental Kuznets Curve (EKC) theory.

A good portion of this empirical research, primarily from developing countries, accepts the pollution haven theory. For instance, using the quantile model, Chowdhury et al. [22] accepted the pollution haven hypothesis and argued that FDI positively and significantly impacts the environmental quality of 92 countries. In the same vein, Sabir et al. [23] used the panel autoregressive distributed lag (ARDL) method to examine the short-run and long-run impact of FDI on the environment in a sample of South Asian countries; the study discovered that FDI increases environmental degradation of the countries. Balsalobre-Lorente et al. [24] found similar results, stating that FDI improves air quality as multinational corporations bring cleaner and more efficient technology capable of reducing energy consumption. Similarly, empirical outcomes were observed for Udemba [25] for Turkey, Solarin et al. [26] for Ghana, and Ahmed et al. [27] for a sample of Asia–Pacific countries. Shahbaz et al. [28] examined the impact of FDI, financial development and energy innovations on environmental degradation in France. Using a Fourier ARDL model, the study discovers that FDI deteriorates environmental quality, thereby attesting to the pollution-haven hypothesis.

However, a couple of empirical papers support the pollution halo hypothesis. For instance, Tang and Tan [17] analyzed the relationship between C02 emission, energy consumption, FDI and economic growth in Vietnam. The study confirms the existence of the pollution halo hypothesis, i.e., FDI improves environmental quality in Vietnam. Similarly, Al-Mulali and Tang [19] investigated the validity of the pollution haven hypothesis in the Gulf Cooperation Council (GCC) countries using Fully Modified OLS. The results suggest that foreign direct investment inflows have a long-run negative relationship with CO2 emission. Similar empirical outcomes were observed for Kirkulak et al. [29] and Tamazian and Rao [30]. Caglar et al. [31] also examine the impact of economic growth, trade openness, renewable energy, human capital, and competitive industrial performance on the load capacity factor for EU countries. Using the CUP-FM and CUP-BC methodologies that address heterogeneity and cross-sectional dependence, the study lends credence to the pollution haven hypothesis and argues that economic growth, trade openness, and competitiveness worsen environmental quality. In Turkiye, Yavuz et al. [32] also discovered that gross domestic product, natural resource rents, and primary energy consumption accelerate environmental degradation using the newly developed Augmented Autoregressive Distributed Lag (A-ARDL) with Fourier term.

Some studies support the environmental Kuznets curve (EKC) hypothesis despite the evidence supporting the pollution haven and pollution halo hypotheses. According to these studies, environmental degradation occurs when economic growth occurs (through FDI), and a cleaner environment cannot be attained until FDI reaches an appropriate level. For example, Destek and Okumus [33] used second-generation panel data analysis on newly industrialized countries. The findings reveal that FDI has a U-shaped relationship with the ecological footprint. Similarly, Sapkota and Bastola [34] investigated the effect of FDI on pollution emissions in Latin American countries using a fixed-effect model. The study validated the EKC hypothesis. Studies such as Shahbaz et al. [28] and Doytch and Uctum [35] also conclude that FDI and environmental quality have an inverted U-shape relationship.

Furthermore, some studies have begun to examine the role of intermittent variables on the impact of FDI on the environment. Starting with the study by Caetano et al. [36] which analyzed how the energy transition mediates the role of FDI in the green economy. The study concludes that energy transition modulates the impact of FDI on the green economy. Qamri et al. [37] also examined the role of financial development and economic growth on the impact of FDI on the green sector of 21 Asian countries. Using a panel econometric method, the study discovers that economic growth and financial development mediate the positive impact of FDI on the green economy. Padhan and Bhat [38] examined the link between FDI and the environmental quality of BRICS and NEXT-11 using green innovation as an intermittent variable. Using a Driscoll–Kraay (DK) standard error model, the study reveals that green innovation modulated the negative impact of FDI on the environment, indicating that the presence of green innovation and FDI proves the existence of the pollution halo hypothesis. Ofori et al. [39] examined how energy efficiency mediates the impact of FDI on inclusive green growth in Africa. Using a dynamic GMM estimator, the study discovers that energy efficiency reduces the deteriorating impact of FDI on inclusive green economic growth.

While the literature is replete with unremitting debate on the link between FDI and the green economy, there is limited literature on the role of technological innovation on the impact of FDI on the green economy. This study contributes to the extant literature by (1) examining the impact of FDI on the green economy in OECD countries and (2) investigating the role of technological innovation on the nexus between FDI and the green economy.

3 Methodology

3.1 Data

The study's analysis relies on a dataset comprising 37 OECD countriesFootnote 1 spanning the years 1995 to 2021. The countries were chosen based on the availability of data during the study period. The OECD countries are typically regarded as advanced economies characterized by high-income levels, stable institutions, and robust statistical systems. This makes them an ideal representative sample for studying economic, social, and environmental trends in developed nations. While the period under consideration includes various economic cycles—growth, recession, and recovery—and encompasses significant policy changes in areas such as globalization, trade, fiscal policy, and social policy. This provides a valuable context for examining long-term trends and assessing the impact of economic cycles and policy shifts on different variables.

The data for green growth, Solar thermal energy, Wind energy, and technological innovation are drawn from the OECD database. The data for globalization is obtained from the KOF Swiss Economic Institute database. The remaining data utilized in the study was obtained from the World Bank's World Development Indicators. Table 1 presents the variables' characteristics in terms of mean, standard deviation, minimum, and maximum values, while Table 2 illustrates the correlations among the variables.

Table 1 Descriptive Statistics
Table 2 Matrix of correlations

3.2 Justification of variables

3.2.1 Dependent variable

Our dependent variable of interest is the green growth proxy by production-based CO2 productivity, and demand-based CO2 productivity aligns with SDG indicators for climate action and sustainable consumption and production patterns. Production-based CO2 productivity is determined by measuring the real GDP generated per unit of CO2 emitted (expressed in USD/kg). This includes emissions from the combustion of coal, oil, natural gas, and other fuels. On the other hand, demand-based CO2 productivity reflects the CO2 emissions from energy use throughout the diverse stages of producing goods and services consumed within domestic final demand, regardless of where these production stages occurred. Both measures provide insights into the sustainability and environmental impact of economic growth. Appendices 3 and 4 show the production-based and demand-based CO2 productivity across the OECD countries.

3.2.2 Independent variables

The independent variable of the study is foreign direct investment (FDI). Foreign Direct Investment (FDI) involves investment in a business by an entity from another country, facilitating capital flow and technology transfer. FDI can influence green growth positively by introducing sustainable technologies, enhancing environmental standards, and promoting renewable energy [2, 3]. Additionally, it can stimulate economic development, leading to increased demand for green products and services. However, without proper regulations, FDI might also exacerbate environmental degradation due to relaxed environmental standards or exploitation of natural resources.

Figure 1 presents the trend of FDI, while Fig. 2 presents a correlation analysis between FDI and green growth proxy by production-based CO2 productivity (PP) and demand-based CO2 productivity (DP) in the OECD countries. The correlation analysis serves as preliminary findings on the nature of the relationship between FDI and green growth. The scatter plot indicates a positive effect of FDI on production-based CO2 productivity (PP) and demand-based CO2 productivity. The findings on the nature of this relationship are further experimented with using the instrumental quantile regression that accounts for initial levels of FDI and also addresses potential endogeneity.

Fig. 1
figure 1

Source: Authors’ computation from WDI database

The trend of FDI in the OECD countries.

Fig. 2
figure 2

Source: Authors’ computation

The correlation between FDI and green growth.

3.2.3 The moderating variable

The moderating variable of the study is technological innovation to assess progress toward SDG 9. Technological innovation refers to the development of new or improved technologies, processes, or products that enhance efficiency, productivity, or functionality [13, 40]. In the context of green growth, technological innovation plays a pivotal role by enabling the creation of sustainable solutions. Advancements in green technology, waste management, and resource-efficient technologies mitigate environmental impact, reduce carbon emissions, and promote eco-friendly practices [41, 42]. Such innovations drive economic growth while preserving natural resources, fostering a greener and more sustainable future. The study uses patents as a proxy for technological innovation. Figure 3 shows the evolution of technology innovation in the OECD countries.

Fig. 3
figure 3

Source: Authors’ computation from the OECD database

The trend of technology innovation in the OECD countries.

3.2.4 Control variables

The selection of the control variables is based on the environmental sustainability literature. First, GDP per capita, a measure of economic output per person, affects environmental sustainability from its reliance on resource consumption and production. High GDP often correlates with increased resource extraction, energy use, and waste generation, contributing to environmental degradation and climate change [5]. Second, renewable energy consumption (% of total final energy consumption) promotes environmental sustainability by reducing greenhouse gas emissions, mitigating air and water pollution, and minimizing dependence on finite fossil fuel resources. It contributes to climate change mitigation and fosters a transition towards cleaner, more sustainable energy systems, thereby preserving ecosystems and enhancing the planet's health. Third, globalisation impacts the green economy through increased trade and industrialisation, leading to resource depletion, pollution, and unequal distribution of environmental burdens and benefits, necessitating comprehensive global and local action [43,44,45]. Fourth, urbanization, indicated by the urban population as a percentage of the total population impacts green growth by intensifying resource consumption, pollution, and habitat fragmentation [46, 47]. Increased infrastructure development often leads to land degradation and loss of biodiversity. However, well-planned urbanization can promote sustainability by fostering compact, efficient cities with green spaces, public transportation, and renewable energy integration.

3.3 Theoretical and estimation strategy

The theoretical foundation of this paper is grounded in the pollution halo and pollution haven hypotheses (see Brian et al. [14]; Tang and Tan [17]; Al-Mulali and Tang [19]), as well as the Environmental Kuznets Curve (EKC) hypothesis and the Stochastic Impacts by Regression on Population, Affluence, and Technology (STIRPAT) framework [47,48,49]. The EKC hypothesis postulates an inverted U-shaped relationship between environmental degradation and economic growth. Initially, economic growth leads to increased environmental degradation, but after reaching a certain level of income per capita, the trend reverses, leading to environmental improvements. This theory provides a foundational framework for examining of how economic activities, including FDI, impact environmental outcomes at different stages of development. On the other hand, the STIRPAT framework extends the IPAT model (Impact = Population × Affluence × Technology) by incorporating stochastic elements to analyze the impacts of human activities on the environment. The framework allows for the inclusion of multiple variables and their interactions, making it suitable for complex econometrics.

The empirical rigor of this paper is evident from the outset, starting with the specification of models to test the relationships between FDI, technological innovation, and green growth. First, we establish a baseline model to explore the Environmental Kuznets Curve (EKC) hypothesis and examine the impact of control variables on green growth. Finally, adhering to the STIRPAT framework, which accommodates multiple variables and their interactions, we introduce an interaction term to assess how FDI and technological innovation jointly influence green growth. The models are specified as follows:

$${GG}_{it}={\beta }_{0}+{{\beta }_{1}FDI}_{it} + {{\varepsilon }_{it}}$$
(1)
$${GG}_{it}={\beta }_{0}+{{\beta }_{1}tech}_{it} + {{\varepsilon }_{it}}$$
(2)

The baseline model is specified in (3) as:

$${GG}_{it}={\beta }_{0}+{\beta }_{1}{GDP}_{it}+{\beta }_{3}{ GDP }_{it}^{2}+{\beta }_{4}{FDI}_{it}+{\beta }_{5}{tech}_{it}+ {\sum}_{p=1}^{n}{\delta }_{h} {K}_{p i(t-\tau )} + {{\varepsilon }_{it}}$$
(3)

To capture the joint effect of FDI and technology innovation, Eq. (3) is modified to obtained (4)

$${GG}_{it}={\beta }_{0}+ {{\beta }_{1}GG}_{i\left(t-1\right)}+{{\beta }_{2}GDP}_{it}+{\beta }_{3}{ GDP }_{it}^{2}+{{\beta }_{4}FDI}_{it}+ {{\pi }_{1}\left(TC\right)}_{it}+ {{\sum_{h=1}^{k}{\delta }_{h} }K_{hi(t-\tau )}+ }\mu _{i}+ {\gamma }_{t}+ {\varepsilon }_{it}$$
(4)

where i and t represent individual countries and time periods respectively, GG signifies green growth, GDP denotes GDP per capita and it squared, FDI represents foreign direct investment as a percentage of GDP, tech signifies technology innovation, TC indicates the transmission channel through which the effect of FDI on green growth is modulated, with its estimated coefficient denoted by \({\pi }_{i}\). The TC variable summarises (FDI*tech), \(K\) represents control variables which are renewable energy consumption, globalization, urbanization along with their corresponding estimated coefficients (\({{\varvec{\delta}}}_{{\varvec{h}}})\), ε representing the error term.

3.4 Estimation technique

The study utilizes a smoothed instrumental-variables quantile regression (SIVQR) approach to address potential endogeneity concerns. This methodology is of significant importance in assessing the influence of foreign direct investment (FDI) on the distribution of green growth. By analyzing distinct quantile levels within the conditional distribution, the quantile regression method facilitates the identification of countries characterized by varying degrees of green growth, thereby classifying them into low, intermediate, and high levels. The merit of this method, as highlighted by Wirajing et al. [50], lies in its capacity to elucidate the initial levels of the exogenous variable. Unlike ordinary least squares (OLS) regression, which frequently yields oversimplified and broadly generalized policy suggestions, instrumental quantile regression identifies precise quantiles where independent variables notably impact the dependent variable. This contrasts OLS, which depends on mean values and may result in broad policy implications.

Moreover, the instrumented quantile strategy aims to minimize absolute deviations across various quantile estimates, offering insights that hinge on the prevailing levels of Foreign Direct Investment (FDI) impact on green growth. This methodology diverges from Ordinary Least Squares (OLS), which prioritizes the reduction of the sum of squared residuals. In response to the shortcomings of OLS, quantile regression is being tailored by addressing the maximization problem outlined in Eq. 5.

$$\underset{{\mathit{\beta \varepsilon R}}^{k}}{\text{min}}\{ {\sum }_{i\varepsilon \{i:yi>{x}{^{\prime}}\beta }\theta |{y}_{i}-{x}{^{\prime}}|+ 1{\sum }_{i\varepsilon \{i:yi>{x}{^{\prime}}\beta }\left(\theta -1\right)|{y}_{i}-{x}{^{\prime}}|\}$$
(5)

where \(\theta\) represents different quantile levels at the conditional distribution of the outcome variable, which belongs to {0, 1}. \(\theta\) can take 0.10, 0.25, 0.50, 0.75 and 0.90. The conditional quantile of green growth is presented in Eq. 6 by weighing the residuals.

$${Q}_{y} (\theta /{x}_{i})={x}{^{\prime}}{\beta }_{0}$$
(6)

Equation 6 introduces y, which symbolizes green growth proxy by production-based CO2 productivity and demand-based CO2 productivity. To address potential endogeneity issues with FDI and other control variables in the quantile model, we instrument production-based CO2 productivity and demand-based CO2 productivity by utilizing lag values of FDI, while also instrumenting all control variables across quantile levels ranging from the lower (10th and 25th) to the upper (75th and 90th) quantiles.

To optimize computational efficiency and statistical accuracy, this study employs the sivqr quantile instrumentation, integrating the smoothed estimator introduced by Kaplan and Sun [51]. Standard errors are computed using the Bayesian bootstrap method, employing a selection of 100 at all quantile levels, and are compatible with bootstrap prefixes, thereby ensuring the robustness and reliability of findings. However, it's important to note that quantile regression encounters challenges in addressing cross-sectional dependence, which necessitates supplementation with the Generalised Method of Moments (GMM) strategy.

4 GMM specification

The study additionally employs the system GMM strategy to analyze the indirect effects. Specifically, it examines how technological innovation serves as a pathway through which FDI impacts green growth, moderating the relationship. By employing the GMM strategy, the study offers flexibility in modelling complex relationships, accommodates various types of data, and allows for robust statistical inference. It addresses potential endogeneity issues and tackles problems associated with unobserved heterogeneity, such as time-invariant omitted variables and concerns regarding reverse causality. System GMM was chosen to yield results with a net effect for policy recommendation, which applies to all OECD countries, a feature not easily accommodated by quantile regression. This strategy generates efficient estimates under specific conditions. The primary condition for adopting the GMM is met in our study, as it deals with 37 OECD countries over 26 years from 1995 to 2021, where the number of cross-sections exceeds the time series [52]. Additionally, the study satisfies the requirement for employing the GMM in panel data analysis.

The two-step system GMM strategy adopted in the study is summarised in the first difference (6) as follows:

$${GG}_{it}-{GG}_{i\left(t-\tau \right)}= {{\beta }_{1}(GG}_{i\left(t-\tau \right)}-{GG}_{i\left(t-2\tau \right)})+{{\beta }_{2}(GDP}_{it}- {GDP}_{i\left(t-\tau \right)})+{{\beta }_{3} (GDP }_{it}^{2}-{ GDP }_{i\left(t-\tau \right)}^{2}+{{\beta }_{4}(FDI}_{it}- {FDI}_{i\left(t-\tau \right)})+{\pi }_{1}\left({TC}_{it}+{TC}_{i\left(t-\tau \right)}\right)+{{\sum_{h=1}^{k}{\delta }_{h}} \left(K_{h i\left(t-\tau \right)}+{K}_{h i\left(t-2\tau \right)}\right)+ ({\gamma }_{t}}- {\gamma }_{\left(t-\tau \right)})+\left({\varepsilon }_{it}-{\varepsilon }_{i\left(t-\tau \right)}\right)$$
(7)

K signifies the vector of control variables. µi represents the country-specific effect, γt indicates the time-specific constant term, represents the error term and τ the lagging coefficient.

Additionally, to prevent generic policy recommendations, we calculate the net effect of the modulating variable by utilizing the coefficients of both the direct and indirect effects, as outlined in Eq. 8.

$${net\, effect=\beta }_{1}+(\Omega *{\pi }_{1})$$
(8)

Ω denotes the average policy-modulating variable. The computation of the net effect is performed exclusively when β1 and π1 are both significant and demonstrate opposing signs.

5 Results and discussions

In this section, we delve into the findings of the study and offer a comprehensive analysis. To ensure clarity, the results are categorized into four sub-sections: Firstly, we present the fundamental findings derived from the baseline analysis. Secondly, we present the estimates from the quantile instrumental test results, accompanied by quantile regression plots provided in Appendix 1 and 2. Thirdly, we provided robustness checks by considering time variation and renewable energy by sources. Lastly, we discuss the results concerning the transmission effect and the determination of modulating thresholds obtained from the Two-Step System GMM estimates.

5.1 The Baseline results

The baseline results presented in Table 3 stem from the ordinary least squares model (OLS). These results reveal that FDI, GDP, renewable energy, and globalization exhibit positive correlations with both production-based CO2 productivity and demand-based CO2 productivity. Conversely, technological innovation and urbanization demonstrate negative effects. The study refrains from relying on the results of the OLS estimates for its conclusive remarks due to its failure to address issues of endogeneity and unobserved heterogeneity. In lieu of this, the present study opts for instrumental quantile regression as a more robust approach, the findings of which are outlined in Sect. 4.2.

Table 3 Baseline results of the ordinary least square model

5.2 The instrumental quantile regression estimates

The quantile approach illustrates the estimated impact of FDI on green growth. These findings, derived from the quantile regression approach, are detailed in Table 4 of the study. The table showcases the results of instrumented quantile regression estimates at various quantiles, including the 10th, 25th, 50th, 75th, and 90th percentiles. Quantile regressions are widely adopted in both contemporary and non-contemporary literature as a robust regression technique, enabling a more typical assumption of normality for the residual term [50, 53].

Table 4 Quantile estimates on the effect of FDI on green growth

Even after addressing the issue of endogeneity in the OLS results, the discovery of the exclusive positive impact of FDI on production-based CO2 productivity and demand-based CO2 productivity remains consistent with the findings of the OLS analysis. Foreign Direct Investment (FDI) often leads to increased industrialization and economic activity, contributing to higher CO2 emissions. Production-based CO2 productivity decreases as FDI boosts manufacturing output, intensifying emissions. Similarly, demand-based CO2 productivity declines as FDI drives consumption, heightening energy use and emissions. Consequently, the correlation between FDI and production-based and demand-based CO2 productivity tends to be positive due to the environmental implications of the heightened economic activity facilitated by FDI. These findings are in line with Tukhtamurodov et al. [15], Salahuddin et al. [54], and Zhang and Zhou [10], who argued that FDI often introduces technologies or production methods that are environmentally unfriendly or energy-inefficient, thus worsening the green growth.

Moreover, the result indicates that GDP increases production-based CO2 productivity- and demand-based CO2 productivity among the selected OECD countries. As a measure of economic output, GDP often incentivizes consumption and production without regard for environmental consequences. This hinders green growth, which aims for economic development while preserving the environment. GDP-driven policies prioritize short-term gains over long-term sustainability, leading to overexploitation of natural resources, pollution, and ecosystem degradation. Additionally, GDP fails to account for negative externalities such as carbon emissions and habitat destruction, undervaluing the true cost of economic activities. Consequently, investments in environmentally harmful industries might appear beneficial for GDP growth despite their adverse effects on the planet.

On the other hand, the GDP squared has a favourable effect on green growth, albeit not significant for demand-based CO2 productivity, possibly reflecting heightened awareness of environmental concerns leading to policies advocating sustainability and the reduction of CO2 emissions as a byproduct of economic progress. These findings align with the Environmental Kuznets Curve literature, which suggests that economic activities often escalate energy consumption in early growth stages, primarily from fossil fuels and major CO2 emission sources. Conversely, in later stages, maturing economies tend to embrace cleaner technologies, renewable energy sources, and enhanced production methods [7, 8].

Furthermore, the results indicate that renewable energy exacerbates production- and demand-based CO2 productivity in OECD countries. This may stem from the energy-intensive processes involved in renewable infrastructure production and maintenance and the intermittent nature of some renewables, necessitating backup systems that can increase CO2 emissions. Additionally, manufacturing renewable infrastructure involves energy-intensive processes, contributing to CO2 emissions. Also, globalization unfavourably impacts green growth by amplifying production-based and demand-based CO2 productivity through increased trade, transportation, and industrial activities. Meeting global demand results in heightened energy consumption, primarily from fossil fuels. Outsourcing manufacturing to regions with lax environmental regulations further escalates emissions, worsening the global climate crisis. This aligns with Kirikkaleli and Addai's [55] findings, highlighting how globalization, prioritizing profit over environmental concerns, drives up resource extraction, production-based, and demand-based CO2 productivity through expansive trade networks.

The results further demonstrate that technological innovation fosters green growth. Specifically, within the OECD sub-region, technological advancements enhance environmental sustainability by improving efficiency, conserving resources, and reducing pollution. These innovations diminish reliance on fossil fuels, thereby curbing greenhouse gas emissions. Smart grid technologies optimize energy distribution, minimizing wastage, while advancements in waste management, such as recycling and composting, reduce landfill usage. Moreover, innovations in transportation, including electric vehicles and efficient logistics, contribute to carbon emission reductions. Indeed, studies by Suki et al. [56], Nosheen et al. [57], and Mensah et al. [58] affirm that technological innovation cultivates a more sustainable balance between human activities and the environment.

Finally, the findings also reveal that urbanization has a negative and significant effect on both production-based and demand-based CO2 productivity in the OECD countries. This indicates that urbanization contributes to green growth by fostering denser living arrangements, thereby decreasing per capita resource consumption and carbon emissions. Compact cities promote public transportation and shared infrastructure, mitigating urban sprawl and conserving natural habitats. Moreover, centralized services enhance efficiency in waste management and energy distribution, promoting a more environmentally sustainable urban environment.

5.3 Sensitivity check

This section validates the findings by examining potential sources of bias, bolstering the study's credibility, and confirming the generalisability and consistency of the analytical approach. It incorporates assessments of time variances and renewable energy sources to ensure the consistency of the results.

5.3.1 Does time matter in green growth and the FDI relationship?

Different time periods affect green growth due to evolving societal attitudes, technological advancements, and policy frameworks. In the early days, limited awareness of environmental issues led to unsustainable practices. Industrial revolutions accelerated resource exploitation, causing environmental degradation. However, with the emergence of environmental movements in the mid-twentieth century, awareness grew, prompting the adoption of conservation measures and early environmental regulations. As we progressed into the twenty-first century, concerns about climate change intensified, leading to increased emphasis on sustainable practices and green technologies. Today, with a greater understanding of the urgency to address climate change, there's a global push for green growth.

Policies supporting green technologies, circular economies, and sustainable development goals shape contemporary approaches. Therefore, the trajectory of green growth is shaped by the socio-economic context and the level of commitment to sustainable practices across different time periods. Tables 5 and 6 present the effect of FDI on production-based and demand-based CO2 productivity accounting for different time periods. However, the results generally align with the baseline, although with minor exceptions; for example, GDP's negative impact on demand-based CO2 productivity in the first quantile across different periods, albeit statistically insignificant.

Table 5 FDI and production-based CO2 productivity accounting for time differences
Table 6 FDI and demand-based CO2 productivity accounting for time differences

5.3.2 Robustness checks accounting for renewable energy by sources

Renewable energy sources such as solar and wind power exhibit availability and technological application variability, uniquely affecting their contributions to sustainable development and green growth. Solar thermal energy capitalizes on sunlight to produce heat or electricity, diminishing dependence on fossil fuels and lowering greenhouse gas emissions. Conversely, wind energy employs turbines to generate electricity, reducing carbon emissions. However, wind energy's effectiveness relies on wind availability, whereas solar thermal energy can offer more consistency in specific regions. Both technologies are pivotal in broadening the spectrum of renewable energy sources and advancing sustainable development goals.

This study's choice of solar thermal and wind energy is predicated on data availability for the covered time period. Tables 7 and 8 unveil the impact of FDI on production-based and demand-based CO2 productivity while considering renewable energy sources, specifically solar thermal and wind energy. After accounting for the difference in renewable energy to check the consistency of our result, we observed that the result remained unchanged. Upon examining the control variables, we observe minimal alterations. For instance, urbanization positively impacts production-based CO2 productivity, although this effect is deemed insignificant. Additionally, globalization negatively influences demand-based CO2 productivity in the last two quantiles.

Table 7 FDI and production-based CO2 productivity accounting for renewable energy by sources
Table 8 FDI and demand-based CO2 productivity accounting for renewable energy by sources

5.4 Indirect effect result

The indirect effect analysis investigates the moderating role of technology innovation on the effect of FDI on green growth within the OECD member state. The indirect effect results have been conducted to examine whether the quest technology advancement enables FDI recipients to adopt cleaner production methods, reduce resource consumption, and minimize environmental impacts. Investments in environmental technology, smart grids, and sustainable infrastructure can be facilitated through technological advancements, promoting green growth [57, 58]. Additionally, innovations in waste management, water purification, and pollution control help mitigate negative externalities associated with FDI. Through technology, FDI can catalyze the development and deployment of environmentally friendly solutions, fostering a more sustainable and resilient economy [9, 12, 13]. This synergy between technology innovation and FDI contributes to achieving long-term environmental objectives while stimulating economic growth.

The introduction of the indirect effect guides us towards avoiding broad policy approaches. It offers a framework for devising strategies to enhance green growth within the OCED countries with inadequate environmental management. In this section of the study, the Two-Step System GMM strategy is employed to determine a consolidated net effect of FDI interaction with tech-innovation in the OECD sub-region to easy policy orientation. By utilizing the GMM strategy, the study ensures that the findings are unaffected by endogeneity, cross-sections, autocorrelation, and heteroscedasticity, as suggested by Wirajing et al. [50]. The outcomes of the system GMM analysis are presented in Table 9. The findings suggest that FDI exerts a notable and positive influence on production—and demand-based CO2 productivity, aligning with the core findings. Upon interaction with technological innovation, we discern a positive impact on production-based CO2 productivity but a negative impact on demand-based CO2 productivity. This suggests that technological innovation can moderate the influence of FDI on demand-based CO2 productivity. This finding supports the role of innovation in achieving SDG 9 and underscores the importance of fostering collaborative partnerships between foreign investors and local innovators (SDG 17).

Table 9 Indirect effect results

Technological advancements within OECD countries often attract FDI due to their growth potential and profitability. This prioritizes efficiency enhancements over environmental sustainability, consequently boosting production-based CO2 productivity. Conversely, the synergy between technological innovation and FDI fosters the advancement of cleaner technologies and energy-efficient processes. This leads to a decline in demand-based CO2 productivity, stemming from reduced energy consumption across various stages of goods and services production consumed domestically, regardless of the production locations.

5.5 Conclusion and policy implication

The Sustainable Development Goals advocate for advancing green growth, which entails fostering economic prosperity while safeguarding the environment. Central to this agenda are the principles of sustainable consumption, production, and energy utilization aimed at addressing climate change and preserving ecosystems. This study examines the moderating influence of technological innovation on the relationship between Foreign Direct Investment (FDI) and green growth within OECD member states. Our examination focuses on two dimensions of green growth: production-based CO2 productivity and demand-based CO2 productivity. Employing the EKC and STIRPAT frameworks, we analyze data from 1995 to 2021 across 37 OECD countries. Methodologically, our empirical approach involves employing Ordinary Least Squares (OLS), instrumental quantile, and System GMM methodologies. The results indicate that FDI hinders green growth, while technological innovation is pivotal in enhancing it. This dynamic holds across various periods and renewable energy sources. Moreover, our study reveals that FDI, in conjunction with technological innovation, leads to an increase in production-based CO2 productivity but a decrease in demand-based CO2 productivity. Additionally, we observe the presence of an environmental Kuznets curve for production-based CO2 productivity.

Adding to significant scientific value by demonstrating how technological innovation moderates FDI's impact on green growth in OECD countries, we propose the implementation of a policy framework aimed at fostering domestic technological innovation while prudently managing foreign direct investment (FDI) to support sustainable growth. Also, policy frameworks should prioritize investments in research and development, creating an enabling environment for innovation and the advancement of sustainable technologies. Encouraging collaborative ventures between foreign investors and local innovators can also harness global expertise while furthering green objectives. Concurrently, policies should stimulate demand for environmentally friendly products and services to bolster demand-based CO2 productivity. Moreover, investing in research and development (R&D) for green technologies is crucial. Lastly, integrating green criteria into FDI agreements and providing tax incentives for eco-friendly innovations will harmonize FDI with environmental goals.

5.6 Limitations and future recommendations

This study offers valuable insights into the interplay between Foreign Direct Investment (FDI), technological innovation, and green growth in OECD countries. However, several limitations stem from the design and methodology constraints, which may impact the interpretation of our findings:

First, the dataset covers 37 OECD countries over 26 years (1995–2021). While comprehensive, this temporal and spatial scope may not capture all relevant fluctuations and anomalies, especially short-term economic shocks or policy changes that could influence FDI and green growth dynamics. Second, using proxies, such as patents for technological innovation and production-based and demand-based CO2 productivity for green growth, introduces potential measurement errors. These proxies may not fully encapsulate the multi-faceted nature of technological innovation and environmental sustainability. Third, the focus on OECD countries, typically advanced economies, limits the generalizability of the findings to developing countries with different economic structures, regulatory frameworks, and technological capabilities. Also, the methodologies employed, including Ordinary Least Squares (OLS), smoothed instrumental-variables quantile regression (SIVQR), and System GMM, each have inherent limitations. For instance, OLS may not adequately address endogeneity issues, while SIVQR and System GMM require strong assumptions about the instruments and error distributions, which might not hold in all cases. Finally, technological innovation is a broad concept, and this study's focus on patents may overlook other forms of innovation, such as process improvements, managerial practices, and informal knowledge transfers that also significantly impact green growth.

Building on the findings and addressing the aforementioned limitations, the following recommendations are proposed for future research:

Future studies should incorporate a more extensive dataset, including non-OECD countries, to enhance the generalizability of the findings. Including data from emerging and developing economies could provide a more comprehensive understanding of the FDI-green growth nexus across different economic contexts. Moreover, employing alternative or supplementary measures for technological innovation, such as R&D expenditures, innovation indices, and qualitative assessments of technological capabilities, can provide a more nuanced understanding of its impact on green growth. Also, utilizing advanced econometric techniques that better handle endogeneity, non-linearity, and dynamic relationships, such as panel vector autoregression (PVAR) and machine learning approaches, can provide more robust insights. These methods can also help uncover complex interactions and causal relationships.

In addition, conducting in-depth case studies and sector-specific analyses can reveal contextual nuances and sectoral variations in the FDI-green growth relationship. This approach can identify best practices and policy interventions tailored to specific industries or regions. Lastly, integrating insights from other disciplines, such as political science, sociology, and environmental science, can enrich the analysis by considering broader socio-political and ecological dimensions influencing the FDI-green growth nexus. By addressing these limitations and following the outlined recommendations, future research can build on robust foundations, yielding valuable insights that inform practical applications and policy decisions to foster sustainable economic development.