PurposeDespite the growing recognition of the complex interplay between macroeconomic shock indexes and stock market dynamics, there is a significant research gap concerning their interconnectedness and return spillovers in the context of the African stock market. This leaves much to be desired, given that the financial market in Africa is arguably one of the most preferred destinations for hedge and portfolio diversification (Alagidede, 2008; Anyikwa and Le Roux, 2020). Further, like other financial markets across the globe, the increased capital flow, coupled with declining information asymmetry in Africa, has deepened intra and inter-sectoral integration within and across national borders. This has, thus, increased the susceptibility of financial markets in Africa to spillover of shocks from other sectors and jurisdictions. Additionally, while previous studies have investigated these factors individually (Asafo-Adjei et al., 2020), with much emphasis on developed markets, an all-encompassing examination of spillovers and the connectedness between the aforementioned macroeconomic shock indexes and stock market returns remains largely unexplored. This study happens to be the first to consider the impact of each of the indexes on stock returns in Africa, with evidence spanning from May 2007 to April 2023, covering notable global crisis episodes such as the Global Financial Crisis (GFC), the COVID-19 pandemic and the Russia–Ukraine war.Design/methodology/approachThis study employs the novel quantile vector autoregression (QVAR) model, making it the first of its kind in literature. By applying the QVAR, the study captures the potential nonlinear and asymmetric relationship between stock returns and the factors of interest across different quantiles, i.e. bearish, normal and bullish market conditions. Thus, the approach allows for a more accurate and nuanced examination of the tail dependence and extreme events, providing insights into the behaviour of the variables under extreme events.FindingsThe study revealed that connectedness and spillovers intensified under bearish and bullish market conditions. It was also observed that, among the macroeconomic shock indicators, FSI exerted the highest influence on stock returns in Africa in both bullish and normal market conditions. Across the various market regimes, the Egyptian Exchange (EGX) and the Nairobi Stock Exchange (NSE) were net receiver of shocks.Originality/valueThis study happens to be the first to consider the impact of each of the indexes on stock returns in Africa, with evidence spanning from May 2007 to April 2023, covering notable global crisis episodes such as the GFC, the COVID-19 pandemic and the Russia–Ukraine war. On the methodology front, this study employs the novel QVAR model, making it one of the few studies in recent literature to apply the said method.