Introduction

Numerous nations proactively strive to lure foreign direct investment (FDI) as they perceive that Multinational Corporations (MNCs) will aid in economic growth through the creation of job opportunities, heightened capital accumulation, and increased overall productivity (Eicher et al. 2012; Blonigen and Piger 2014). FDI is seen as a crucial component in modernisation theory, as it is believed to bring capital, technology, and managerial expertise to developing countries. This has caused most developing economies to implement policies that have attracted FDI. In Africa for example, there is the implementation of various policies such as the New Partnership for Africa's Development (NEPAD), the African Continental Free Trade Area (AfCFTA) and other trade policies to attract most FDI into the region (World Bank 1997; Aitken and Harrison 1999; Alagidede et al. 2013; Opoku and Boachie 2020). While other regions like East Asia and the Pacific, South Asia, Europe and Central Asia experienced a longer recovery after the 2008/9 global financial crisis, Africa recovered faster (UNCTAD 2015; Opoku et al. 2019). Although coronavirus disease 2019 (COVID-19) caused a reduction in FDI flows in other continents, Africa had already been experiencing a decline in FDI prior to the pandemic as there was a 10% decrease in FDI flow to $45 billion in 2019 (UNCTAD 2020). COVID-19 and Middle East and North Africa (MENA) vulnerabilities further declined FDI by 23% in 2020 (UNCTAD 2020; Iddrisu et al. 2023a). After the decline in 2020, the continent witnessed a robust rebound in FDI by US$83 billion which created a hope that FDI in 2022 will increase (UNCTAD 2022). However, FDI inflows to Africa decreased to $45 billion in 2022 from a record $83 billion in 2021 (UNCTAD 2023). In 2023, Africa's FDI flows remained relatively stable, with an estimated US$44 billion, representing only a slight 1% decrease compared to the previous year (UNCTAD 2023).

Although there has been some level of FDI inflows, it is inadequate to look at the growth and needs of Africa (Adegboye and Okorie 2023). Figure 1 also reveals that within the African sample, FDI inflows for the majority of countries tend to hover between 4 and 24% of GDP. Consequently, there is a pressing need to establish concrete measures for promoting FDI inflows in Africa. Africa Agenda 2063 (i.e., The Africa We Want) aims to use financial development and globalisation but lacks sufficient empirical backing. Therefore, the study test empirically if financial development and globalisation can attract sufficient FDI.

Fig. 1
figure 1

In-Country foreign direct investment (% GDP), 1997–2020

Financial development refers to the increased availability of financial goods and services to citizens and businesses within a country (Gesaka 2013). The financial system plays a crucial role in allocating resources, providing information, and reducing costs (Mahmood et al. 2018). The internalisation theory by Coase (1937) and the eclectic theory by Dunning (1977, 1980, 2000, 2009) stipulate that one of the important factors that attract FDI is financial development. This is because a well-developed financial system provides easier access to capital for foreign investors. This includes robust banking systems, capital markets, and financial institutions that facilitate the flow of funds and provide various financing options for investment projects. For example, during the lockdown periods, financial institutions played a crucial role in supporting governments' social protection efforts in Africa (Ofori et al. 2022). Their ability to allocate resources efficiently and stimulate economic growth became even more apparent as they assisted vulnerable households, facilitated online transactions, and provided aid to the extensive informal sector (Sam Quarm et al. 2020; Ofori et al. 2022). Although the financial sector is less developed in Africa, efforts are made to develop it (Iddrisu et al. 2022, 2023b). Since Africa is making an effort to develop the financial sector, we test empirically if financial development can induce more levels of FDI inflows.

On the other hand, globalisation has led to the integration of less globalised economies with highly globalised economies, resulting in increased export and import of goods and services. By reducing trade barriers, globalisation encourages FDI by making it easier and more cost-effective for firms to trade across borders, facilitating the growth of global supply chains and multinational corporations (Bojnec and Fertő 2018). Additionally, globalisation provides increased access to cheap labour markets in developing countries, making it more appealing for firms to invest in these markets, thereby contributing to the growth of export-oriented industries and increased FDI. During the pandemic era, most African countries received financial aid from international bodies due to globalisation. For example, in 2020, the International Monetary Fund (IMF) provided financial assistance to Ghana and Mongolia to help them address the impact of the COVID-19 pandemic. Ghana borrowed $10 million, part of which was used to support SMEs in partnership with the National Small Business Industries (Sam Quarm et al. 2020). Mongolia received emergency financial assistance of approximately $99 million from the IMF to provide urgent budgetary and balance of payment support to the sectors and groups most affected by the pandemic (Utsunomiya 2020). Therefore, the question the study seeks to answer is “Does a high level of globalisation enhance FDI?” Globalisation also acts as a catalyst for financial development, which can further enhance FDI. By facilitating the flow of capital across borders, globalisation provides opportunities for financial institutions to access funds from various sources, enabling them to offer financing to businesses, including FDI (Kaminsky 2005). Globalisation encourages technology transfer, enhancing financial sector operations and services, boosting inclusion, broadening global market access, diversifying portfolios, and lowering risk costs for businesses (Demirguc-Kunt and Levine 2008; World Bank 2020). By implication, globalisation can help financial development to further allow more inflow of FDI. Therefore, the study examines if this is possible in the case of Africa.

There are similar studies that focus on either the direct or indirect link between financial development or globalisation and FDI (see Bitzenis 2012; Bojnec and Fertő 2018; Chirila-Donciu 2013; Desbordes and Wei 2014, 2017; Drahokoupil 2009; Gholizadeh Keykanloo et al. 2020; Islam et al. 2020; Leitao 2012; Majeed et al. 2021; Sarbu 2015). A common shortcoming in the above studies is that the assessments are mainly based on direct relationships between financial development, FDI, and macroeconomic outcomes. However, this research contends that merely providing policymakers with determinants of macroeconomic variables based on estimated coefficients is insufficient. It delves deeper by assessing the nexus between financial development and FDI, incorporating globalisation as a moderating policy variable. The choice of globalisation as an indicator stems from its significant presence in Africa, where most countries exhibit an average globalisation index of 46% (see Fig. 2). By employing globalisation as a moderator, policymakers gain insight into its role in enhancing the absorption capacity of financial development to attract FDI inflows. This approach offers a nuanced understanding beyond simple correlations, facilitating more informed policy decisions to leverage globalisation for increased FDI. Hence, this study fills this gap by answering this question; “how does globalisation moderate the effect of financial development on FDI inflows?”.

Fig. 2
figure 2

In-Country globalisation, 1997–2020

In addressing these important gaps in the literature, this study contributes to knowledge and policy discourse on private capital flow on several fronts. First, the study deepens the understanding of the implication of financial integration for private capital flows. We do so by outlining whether unconditionally financial development is relevant for promoting FDI inflows in Africa. This study is relevant as African leaders are identifying strategies to attract foreign investors without adequate empirical backing. Second, this study contributes to knowledge by scrutinising and determining the impact of globalisation on financial development-FDI nexus. We inform African governments and their development partners on the extent to which globalisation conditions the effect of financial development on FDI inflow. This is because although African countries are making an effort to develop their financial sector, when financial institutions get access to international capital, they will be able to provide financial needs for foreign investors. Additionally, the disaggregation of globalisation into social, political and economic is novel and imperative for policy-specific recommendations. This study reveals a new insight where it identifies that the joint effects of financial development and globalisation attract FDI. The findings can serve as policy implications for the African Union policy that seeks to use financial development and globalisation to attract FDI but lacks empirical findings.

We organized the rest of the paper as: reviewed literature is captured in "Literature review" section,  "Materials and method" section for methods and data whereas presentation and discussion of results are shown in the "Empirical results" section and we end the paper with a conclusion and practical implication in "Conclusion and policy implication" section.

Literature review

We utilised Dunning (1977, 1980, 2000, 2009) eclectic theory, which integrates internalization theory, industrial organization theory, and location theory into a comprehensive framework. The Ownership Location and Internalisation (OLI) paradigm focused on explaining the motives behind international flows and foreign direct investment, rather than prescribing the level and structure of such investment. It combines macroeconomic location advantages and microeconomic ownership advantages into a single framework, recognizing that both are necessary to fully explain FDI (Spagat 2006). Furthermore, the paradigm acknowledges that government policies, market size, and the motivation of MNCs can also play a role in determining the location of FDI in a host country (Vasyechko 2012). The eclectic theory provides a general framework for understanding the motivation behind international flows and foreign direct investment and highlights the importance of both macroeconomic and microeconomic factors, including government policies and human nature.

Financial development has been empirically proven to have a significant impact on FDI (e.g., Agbloyor et al. 2013; Desbordes and Wei 2014, 2017; Sahin and Ege 2015; Gholizadeh Keykanloo et al. 2020; Nguyen 2020; Islam et al. 2020). According to these countries, financial development attracts FDI by creating a ready financial market for these foreign investors and ensuring efficient allocations. Most of these studies employed different estimation techniques and samples but still had similar results. For example, Agbloyor et al. (2013) used two different samples such as 42 and 16 African countries from 1970 to 2007 and 1990 to 2007 respectively using two-stage least squares (2SLS). Islam et al. (2020) employed 79 Belt and Road Initiative (BRI) partner countries from 1990 to 2017 using GMM whereas Nguyen and Lee (2021) also used a different sample of 116 countries from 1996 to 2017 which also used GMM.

Some other studies also showed that financial development either deterred or did not attract FDI (e.g., Tsaurai 2014; Hanif and Shariff 2016; Bayar and Gavriletea 2018; Meivitawanli 2021). These variations in the results can be attributed to diverse estimation techniques, samples and the measurement of financial development. For example, Hanif and Shariff (2016) found that using domestic credit by the banking sector as a measure of financial development hampers FDI flows in five ASEAN countries. However, when domestic credit to the private sector was utilized as a proxy for financial development, it attracted FDI. In Botswana, Tsaurai (2014) also found no causal relationship between financial development proxied with banking sector development and FDI flows. Hanif and Shariff (2016) support the findings of Tsaurai (2014), despite using different samples but similar measurements of financial development. Meivitawanli (2021) also found that in Indonesia financial development proxy with financial market capitalisation does not promote the inflows of FDI. The author reported that although financial development did not have a significant impact on FDI inflows when employing fixed effect estimations, different results were obtained through Granger causality testing. Bayar and Gavriletea (2018) found no significant long-run or short-run effects on FDI in Central and Eastern European Union countries, but unidirectional causality from financial sector development to FDI.

The effect of globalisation on FDI has received little attention in the literature as compared to its effect on other macroeconomic variables such as economic growth, standard of living, health and among others. The scant literature revealed that globalisation attracts more FDI into countries. For instance, Bojnec and Fertő (2018) find that globalisation attracts FDI using the knowledge-capital (KK) model for 22 OECD countries. The findings of Bojnec and Fertő (2018) supported the study of Chirila-Donciu (2013) who determined the inflows of global FDI in Europe and Romania. Aluko et al. (2021) also revealed a bi-directional relationship globalisation and FDI flows to Africa which support prior studies despite different method and data. Similarly, Aluko et al. (2023) reveal that globalisation induces FDI.

From the reviewed studies, it is evident that only a few have focused on the relationship between financial development and FDI and globalisation-FDI nexus. While some studies used a composite measure for financial development, others employed only certain aspects of financial development. Hence, the current study aims to contribute to the literature on financial development and FDI by using a composite index. Also, from reviewed studies, no studies have examined the joint effect of financial development and globalisation on FDI. As noted by Shittu et al. (2020), countries in Africa that are less globalisation receive little inflow of FDI. Hence the a need to examine its impact on FDI and how it can form synergy with financial development to further promote FDI.

Materials and method

Data

This research utilises yearly time-series data for 49 African nationsFootnote 1 spanning 1997 to 2020 due to the availability of data, where the data was comprehensively acquired from several sources such as the World Bank [including World Development Indicators (WDI), Global Financial Database (GFD), and World Governance Indicators (WGI)], International Monetary Fund (IMF), Konjunkturforschungsstelle (KOF) and Human Development Office (HDRO). FDI which is the dependent variable is measured with FDI inflows (% GDP) and is sourced from WDI (see Table 1).

Table 1 Variables and data sources

The variables of interest were captured using financial development and globalisation as shown in Table 1. Financial development was measured with the financial development index (MFD) and later used the two main components of MFD—the financial market index (FMI) and financial institutions index (FII) to see which components can promote the inflow of FDI. MFD, which is our main variable of interest, measures the depth (market size and liquidity), access (the ability of individuals and businesses to access financial services), and efficiency (the ability of institutions to provide financial services at low cost and with sustainable revenues, as well as the level of capital market activity) of the financial sector (Svirydzenka 2016). It is worth noting that, in contrast to some studies, we utilise a more contemporary and enhanced measure of globalisation known as the KOF globalisation index. The globalisation index is calculated as a weighted average of economic globalisation (36%), social globalisation (38%), and political globalisation (26%), making it a far more informative metric than alternative indicators such as trade openness (Dreher 2006; Dreher et al. 2008; Gygli et al. 2019). The KOF globalisation index combines de facto and de jure aspects. Our focus is on the main globalisation indices, integrating both components, and disaggregating them into social, economic, and political dimensions to analyse their influence on FDI inflow in policy discussions. Economic globalisation signifies international economic interconnection via cross-border trade, FDI, and capital flow. Social globalisation refers to global cultural, information, and human capital exchange. Political globalisation measures international political integration, including UN involvement and diplomatic presence (Dreher 2006).

We have incorporated six (6) control variables into our analysis, taking into account demographic factors of Africa (including data availability) and literature (e.g., Bojnec and Fertő 2018; Chirila-Donciu 2013; Islam et al. 2020; Nguyen and Lee 2021). These include trade openness, economic growth, domestic capital, infrastructure, inflation and institutional quality. We incorporated trade openness into our model, as it plays a crucial role in facilitating FDI flow to a country. This suggests that FDI is more likely to occur in countries that are open to international trade. Net trade (% GDP) was used as a proxy for trade openness and is sourced from WDI as shown in Table 1. As shown in Table 1, we proxy economic growth with GDP growth (% annual). According to the eclectic theory, MNCs may relocate to other countries in pursuit of various advantages, such as the level of economic growth. Africa is growing, with the World Bank (2020) reporting an average growth rate of at least 5% in SSA over the past two decades, exceeding the global average of 3%. As such, we test empirically if this growth can attract more FDI. We inculcate domestic capital into our model to see how it can attract enough FDI into Africa. This is because there exists a complementary relationship between domestic investment (gross capital formation) and FDI (Sghaier and Abida 2013; Nkoa 2018). As indicated in Table 1, this variable is sourced from WDI. Consumer price inflation (% annual), presented in Table 1, is used as a proxy for inflation. It assesses the macroeconomic stability of the host countries and its potential impact on attracting more FDI to Africa (Sghaier and Abida 2013; Nkoa 2018; Iddrisu et al. 2022). Infrastructure availability and quality significantly impact the location choices of multinational corporations by affecting business costs, productivity, and competitiveness (Ang 2008; Walsh and Yu 2010). Hence, we control infrastructure (i.e., mobile subscribers per 100 people). Investor confidence in a host country can be influenced by its institutions (Acemoglu and Robinson 2010; Staats and Biglaiser 2012). Therefore, institutional quality was used to see if it could help attract FDI. We used a composite index that combined the average of six available institutional quality measures sourced from WGI: corruption control, voice and accountability, rule of law, political stability and absence of violence, government effectiveness, and regulatory quality (see Table 1).

Model specification

The study is mostly based on eclectic theory since it accommodates the study's important variables in its assumptions. This is because these theories showed how a country's potential enhances its inflow of FDI. Therefore, we followed these theories and some empirical studies in the context of Africa (Dunning 2009; Chirila-Donciu 2013; Agbloyor et al. 2013; Bojnec and Fertő 2018; Islam et al. 2020; Nguyen and Lee 2021) and specify our model as follows;

$${FDI}_{it }={{\alpha }_{0}}+{\alpha }_{1}{FD}_{it}+{\alpha }_{2}{TO}_{it} {+\alpha }_{3}{GDP}_{it}{+\alpha }_{4}{GCF}_{it}{+\alpha }_{5}{INF}_{it}{+\alpha }_{6}{CPI}_{it}+{\alpha }_{7}{INSQ}_{it}+{e}_{it}$$
(1)
$${FDI}_{it }={{\tau }_{0}}+{\tau }_{1}{FD}_{it}+{\tau }_{2}{TO}_{it} {+\tau }_{3}{GDP}_{it}{+\tau }_{4}{GCF}_{it}{+\tau }_{5}{INF}_{it}{+\tau }_{6}{CPI}_{it}+{\tau }_{7}{INSQ}_{it}+{\tau }_{8}{GLO}_{it}+{\tau }_{9}{(FD\times GLO)}_{it}+{\varepsilon }_{it}$$
(2)

Equation (1) shows how financial development influences the level of FDI in Africa. Equation (2) on the other hand focuses on the joint effect of financial development and globalisation on FDI in Africa. In both Eq. (1) and (2), \({FDI}_{it}\) denotes FDI in Africa over time whereas FD denotes financial sector development. Whilst lag of FDI is captured as \({FDI}_{it-1}\), the control variables such as trade openness, economic growth, domestic capital, infrastructure, inflation, and institutional quality are represented by TO, GDP, GCF, INF, CPI and INSQ respectively. \({\alpha }_{1-7}\) and \({\tau }_{1-9}\) are the parameters to be estimated. GLO and \({(FD\times GLO)}_{it}\) in Eq. (2) represents globalisation and the interaction term between financial development and globalisation respectively. We test the significance of our interaction term by partially differentiating Eq. (3) concerning financial development to obtain the net effect of financial development on FDI. The study specifies the partial differential as;

$$\frac{\partial {FDI}_{it}}{\partial {FD}_{it}} = {\tau }_{1}+{\tau }_{9}{\overline{GLO}}_{it}$$
(3)

Where \({\overline{GLO} }_{it}\) is the mean of globalisation for the Africa sample.

Estimation technique

There is a potential issue of endogeneity in the relationship between financial development and FDI (Agbloyor et al. 2013). The issue of endogeneity arises due to the strong association between past and present values of the dependent variable (Ofori and Asongu 2021; Oduola et al. 2022). This problem stems from the conventional econometric assumption that endogeneity arises when the independent variables are not independent of the error term, and this can lead to biased or inconsistent estimates of the coefficients (Oduola et al. 2022). Some common causes of endogeneity include omitted variables, measurement error, simultaneity, and reverse causality. To address the potential issue of endogeneity in the relationship between financial development and FDI, the study employs a panel instrumental variable estimator, specifically 2SLS. The instruments used include the following; lag of FDI, lag of financial development, lag of GDP, lag of mobile and telephone subscribers, lag of institutional quality, arable land, and lag of GDP per capita (both annual growth and constant 2017). This estimator is robust to the presence of heteroskedasticity (Agbloyor et al. 2013; Mogstad et al. 2021). To show that the results are robust, there were various robustness checks such as the Hansen test to prove that a good instrument was used to solve endogeneity and the Kleibergen-Paap rk LM test for under-identification.Footnote 2

Empirical results

Descriptive statistics and correlation matrix

Table 2 provides a descriptive summary of the variables, including their respective means median, standard deviations, minimum, maximum values and normality statistics. Table 2 shows an average FDI of about 4.2% with a standard deviation of 8%. This indicated that FDI grows by 4.2% of GDP which is quite minimal as to China which has an average FDI inflow of 6.3%.Footnote 3 At the country level, Liberia stands out with the highest FDI inflow, accounting for 24% of its GDP. However, Burundi (4.8%) and Comoros (4.9%) display the lowest levels of FDI inflow (see Fig. 1). Although the MFD indicates that the African sample generally has a less developed financial sector with a mean of 13.737, breaking down the index into FII and FMI reveals a different story. Specifically, FII is comparatively high with a mean of 21.744%, while FMI has a mean of 5.659%. This implies that although the African sample may excel in terms of FII, their FMI may still be lacking. At the country level, South Africa (55.5%) has a financial development whereas Sierra Leone (6.7%) has a low-developed financial sector (see Fig. 3). Out of the different measures of globalisation, political globalisation exhibits the highest mean value of 55.911%, while social globalisation presents the lowest level of globalisation (i.e., mean of 38.793%). Mauritius and South Africa stand out as highly globalised economies, each scoring 65% whilst Eritrea (29%) demonstrates a lower level of globalisation (see Fig. 2).

Table 2 Descriptive statistics
Fig. 3
figure 3

In-Country Financial Development, 1997–2020

The degree of trade openness has a mean value of 71.234, with a minimum of 0.757 and a maximum of 230.958. The GDP growth of the African sample is 4.16% with its minimum and maximum value of -50% and 149.073% respectively. The average value of domestic capital is 24.028, with a maximum of 53.988 and a minimum of 1.097. This information suggests that there may be considerable variation in domestic capital across the African countries included in the analysis. The high maximum value indicates that some countries may be investing heavily in domestic capital, while the low minimum value suggests that other countries may be allocating fewer resources to domestic capital. Roughly 45% of individuals, as measured by mobile phone subscribers, have access to infrastructure. This level of infrastructure development has the potential to attract increased foreign investment. On average, the inflation rate (with a mean of 9.019) remains below the acceptable single-digit limit. However, certain countries experience extreme fluctuations with the highest rate recorded at 513.907 and the lowest at −78.562. Meanwhile, the composite index of institutions has a mean value of −0.616, indicating weak institutions and governance in Africa, as the mean value falls within the low range of institutions and governance.

Table 3 presents the correlation matrix which examines the relationships among the variables used for the study. While all variables exhibit a positive correlation with FDI, political globalisation had a negative relationship with FDI. The different proxies of globalisation all exhibit a positive correlation with FDI, but they are also highly correlated with one another. For example, economic globalisation and social globalisation are highly correlated, with a correlation coefficient of 0.778. Likewise, the study observed a strong correlation with the disaggregated measure of financial development. As a result, to avoid the issue of multicollinearity, the study included these variables separately in the estimations of the study. The study went ahead and tested multicollinearity with (variance inflation factor) VIF which is presented in Table 4. The results revealed no multicollinearity since the individual VIFs are less than 5 and mean VIFs are less than 10.

Table 3 Pairwise correlation matrix
Table 4 Variance inflation factor

The results in Table 2 reveal that the Jarque–Bera normality test fails to reject the null hypothesis of univariate normality across all variables. These findings contribute to the rationale for extending the analysis beyond ordinary least squares (OLS), as coefficients derived from this method may no longer uphold the principle of being Best Linear Unbiased Estimators (BLUE). Therefore, we first estimated pooled OLS as the baseline model whereas the main estimation results was the 2SLS which is one of the best estimators when the assumptions of OLS is violated.

Baseline results using pooled OLS

The empirical findings were systematically presented, beginning with an examination of the baseline regressor estimated via pooled OLS, as showcased in Tables 5 and 6. Table 5 outlines the direct effects (without interaction) of financial development and globalisation on FDI, while Table 6 delves into the moderating role (with interaction) of globalisation on the relationship between financial development and FDI. Given the recognised econometric limitations, particularly the presence of endogeneity (see Tables 5 and 6), associated with pooled OLS, our focus on elucidating these baseline results was relatively brief. Instead, the primary emphasis of this study lies in the insights derived from the 2SLS estimation, as presented in Tables 7 and 8.

Table 5 OLS results for financial development, globalisation and FDI nexus
Table 6 OLS results for the moderation role of globalisation on financial development-FDI nexus
Table 7 2SLS results for financial development, globalisation and FDI
Table 8 2SLS results for the moderation role of globalisation on financial development-FDI nexus

The baseline estimates, as seen in the OLS results, showcase coefficients that diverge in both magnitude and sign from the main findings derived from 2SLS. For example, Tables 5 and 6 illustrate that neither financial development nor globalisation appears to stimulate FDI, a contrast to the primary results elucidated in Tables 7 and 8. This disparity can be ascribed to the presence of endogeneity, which has been adequately addressed in the 2SLS results.

2SLS Results on financial development index, globalisation and FDI Nexus

This sub-section explores the interplay among financial development, globalisation, and FDI which is presented in Tables 7 and 8. We start by discussing the effect of financial development on FDI. The findings in Table 7 indicate that the MFD has a significant coefficient of 0.0552 in attracting FDI (shown in Column 1). This suggests that all things being equal, a one-unit increase in the MFD will result in a 0.0552-unit increase in FDI. This could mean that a well-developed financial system in a country can lower transaction cost and reduce risks for foreign investors, making the country more attractive for FDI (Islam et al. 2020). The results could also mean that financial development can facilitate the allocation of resources towards productive investments, improve access to credit and capital for local firms, and enhance the capacity of local firms to engage in international trade and investment. These factors can lead to increased investment and economic growth, creating a more conducive environment for foreign investment and promoting FDI inflows. Despite the descriptive summary indicating that the financial sector in the African sample is more developed than the financial market (see Table 2), the regression results demonstrate that it is the financial market that attracts FDI whereas FII does not (see Table 7). Specifically, FMI has a significant positive effect on FDI inflows, as indicated by a coefficient of 0.1841 as shown in Column (3) of Table 7. The positive effect of the FMI aligns with the hypothesis of market-seeking FDI and other empirical studies (Bilir et al. 2019; Donaubauer et al. 2020; Otchere et al. 2016). The insignificant effect of FII on FDI may be because their impact is not necessarily direct or immediate. This finding is supported by some empirical studies conducted in Africa and other developing countries (Tsaurai 2014; Phung and Mishra 2016).

The findings from Table 7 reveal that globalisation regardless of the proxy promotes the inflow of FDI. This means that if globalisation is achieved by one unit there will be an increase of FDI in the economy by 0.4404, 0.3997, 0.4152 and 0.27 units, ceteris paribus. By implication, globalisation eliminates obstacles to foreign trade and fosters the attraction of FDI (Incekara and Savrul 2012). Globalisation also facilitates the transfer of technology and expertise. MNCs bring advanced technology and management skills to African markets, which can lead to economic growth and innovation. Hence, policymakers must give careful consideration to this valuable variable and leverage its advantages. The empirical findings in Table 7 indicate that among the three components of the globalisation index, namely economic (0.3997 at 1% sig. level), social (0.4152 at 10% sig. level), and political globalisation (0.2700 at 5% sig. level), economic globalisation has a greater propensity to attract inflows of FDI compared to the other two components. The result implies that economic globalisation has the potential to attract FDI through the creation of a more receptive and dynamic environment for foreign investors. The results also mean that economic globalisation opens up African markets to the world. As countries become more integrated into the global economy, they offer larger consumer bases and potential profits for foreign investors.

Economic globalisation allows foreign companies to access and extract Africa’s resources for export to other parts of the world. For example, in some countries like Angola, Ghana, DR. Congo, Guinea, Nigeria and among others, the governments gave some resource development rights to some foreign companies to extract and export Africa’s natural resources.Footnote 4 Global companies may build roads, ports, and factories in Africa, improving the overall business environment. This mostly occurs in Africa where countries like Angola, Ghana, Nigeria and others build their roads, dams, buildings and other infrastructure with the help of foreign investment due to economic globalisation.Footnote 5

Our findings support the hypothesis that globalisation catalyses financial development to further promote the inflow of FDI as shown in Table 8. For instance, in Column (1) of Table 8, the study observes that financial development leads to an increase in the inflow of FDI, which is further amplified by the presence of the globalisation index. The joint impact of MFD and the globalisation index on the inflow of FDI is suggested by the coefficient of the net effect of financial development, which is determined as 0.6402 through Eq. (3). The results suggest that globalisation can facilitate the flow of capital and information across borders, thereby reducing transaction costs and improving the efficiency of international investment, which attracts foreign investors. Upon disaggregating the MFD into FII and FMI, we found a joint between the globalisation index and FMI (see Table 8). The net effect of FMI implies that in the presence of globalisation, FMI enhances the inflow of FDI by 0.6028 units. By implication, when financial markets are developed, firms have better access to capital, which can help them finance investments, expand operations, and enter new markets. This can make a country a more attractive destination for FDI. Globalisation can further enhance this effect by increasing the availability of capital across borders Additionally, developed financial markets also offer better risk management tools such as insurance, hedging, and derivatives. This can reduce the risks associated with investing in foreign markets and make FDI more attractive. Globalisation can further enhance this effect by increasing the availability and diversity of these risk management tools.

We disaggregated the globalisation index into economic, social, and political dimensions and analysed which of these variables could work in tandem with financial development variables to further enhance FDI inflows. Table 8 shows that political and social globalisation forms synergies with certain financial development variables to enhance FDI inflows. However, economic globalisation does not have a joint effect with any of the financial development variables. Additionally, the study found that political globalisation forms synergies with all of the financial development proxies examined, while social globalisation only forms synergies with FII. Political globalisation plays a moderation role by creating a more stable political environment and improving regulatory frameworks. This can reduce the risks associated with investing in foreign markets, making FDI more attractive. Political globalisation can incentivize the African nations to embrace clear and investor-welcoming legal and regulatory systems. This includes establishing well-defined property rights, enforcing contracts, and implementing mechanisms for resolving disputes, all of which serve to bolster investor confidence. Governments can use political globalisation platforms to promote their countries as investment destinations. Participation in international forums and organisations can increase a country's visibility and attractiveness to investors.

On the other hand, Table 8 shows that FII rather dampens FDI inflows whereas social globalisation reduces this effect. This suggests that the development of financial institutions can dampen FDI inflows by creating more stringent regulatory environments and increasing bureaucratic hurdles for foreign investors. In contrast, social globalisation, with its increased cultural integration and information exchange, can mitigate these negative effects, making it easier for foreign investors to navigate the business landscape.

Turning to the control variables, the findings in Table 7 show that the inflow of FDI is significantly impacted by trade openness, domestic capital, infrastructure, and inflation. However, the study did not observe any influence of economic growth and institutional quality on the inflow of FDI. The positive effect of trade openness on FDI inflows supports the assertions that certain African nations have pursued various macroeconomic policies, including trade liberalization, to encourage greater inflows of foreign investment such as FDI (see Aitken and Harrison 1999; Alagidede et al. 2013; World Bank 1997). Our findings indicate that the domestic investment variable in African countries has a positive and highly significant impact on FDI inflows (see Tables 7 and  8). This suggests that domestic investment is not simply a supplement, but rather a complement to FDI. When domestic investment increases, it can stimulate the development of infrastructure and create a favourable and sustainable business environment in the host country. This, in turn, can make the country more appealing to foreign investors, who may perceive it as having a lower risk profile and greater potential for growth and profitability. The empirical results conform with some empirical studies (e.g., Islam et al. 2020; Nkoa 2018; Sghaier and Abida 2013). The infrastructure of a country plays a major role in creating favourable conditions for businesses to operate effectively and efficiently (Islam et al. 2020). However, the results showed an opposite outcome where the study found infrastructure to dampen the inflow of FDI (see Table 7). This can be attributed to the fact that most of the infrastructure systems in Africa is less developed. For example, African countries often have inadequate road networks, unreliable power supplies, and limited access to telecommunications, which puts them at a disadvantage compared to other developing countries (Lakmeeharan et al. 2020; Myovella et al. 2020; Ayetor et al. 2021). Table 7 reveals that inflation rather attracts FDI. This could be that high inflation may create opportunities for speculative investments in assets like real estate. This result predicts the reality in Africa where most countries are associated with high inflation but still have some inflow of FDI. For instance, countries like Ghana, Nigeria, and Kenya are battling with their inflation rate but keep encouraging FDI.Footnote 6

Conclusion and policy implication

The study aimed to investigate how globalisation moderates the relationship between financial development and FDI in Africa for 49 African countries. This is because as prior literature has examined either how financial development or globalisation directly attracts FDI, none of these studies determine how globalisation plays a moderation role in the relationship between financial development and FDI inflows. Therefore, this current study fills this gap. The study first examines the direct effect of financial development on FDI, then examines the relationship between globalisation and FDI, before it investigates how globalisation can influence the link between financial development and FDI.. Using 2SLS, the study found that both financial development and globalisation had a positive impact on FDI in Africa. When financial development was disaggregated into FII and FMI, we found that only FMI promotes the flow of FDI.

These results suggest that while other studies found the development of financial institutions to attract more FDI in some countries (see, Desbordes and Wei 2014, 2017; Sahin and Ege 2015; Gholizadeh Keykanloo et al. 2020; Nguyen 2020; Islam et al. 2020) this study showed that in Africa it is rather the financial market that attracts more FDI. The important contribution of this study is by showing that financial development conditions on globalisation attract more FDI. However, the results on the disaggregated globalisation show that, political globalisation forms more synergy with financial development to further attract FDI into Africa.

The findings of the study have important policy implications for African countries that seek to attract more FDI. First, since, financial development is needed for the inflow of FDI into Africa, policymakers should make more effort to develop the financial system. This can be achieved through prioritising policies. This may include implementing policies to encourage the development of financial markets, such as the stock exchange, banking system, and insurance industry. More importantly, Africa should make effort to develop their financial sector since it attract FDI. Policymakers should encourage regional integration and cooperation in financial markets to attract more investment and create economies of scale. African leaders should also develop and strengthen stock exchanges to provide a platform for companies to raise capital. There should be strong legal and regulatory frameworks to protect investors and encourage confidence in the financial market. Second, African leaders should take advantage of globalisation policies such as Paris Agreement, energy transition agenda and among others to attract more FD. African countries with more natural resources should take advantage of resource finance infrastructure and resource-backed infrastructure agreements to attract more FDI. Possibly, an expansion of trading partnerships from Asia to markets on other continents could attract additional FDI. Finally, as political globalisation paly a moderation role with financial development, governments and policymakers should take advantage of high level of political globalisation to boost financial development to further attract more FDI. Achieving this goal can be realized by strengthening bonds with the international community, including the United Nations, European Union, and regional alliances, to bolster their financial sector.