This article employs a Panel Mean Group Autoregressive Distributed Lag (PMG-ARDL) approach to investigate the interaction between carbon dioxide (CO2) emissions, Gross Domestic Product (GDP), fossil fuel, renewable energy consumption, trade, and their collective impact on life expectancy within the BRICS nations. The research reveals compelling findings. Notably, CO2 emissions and trade openness exhibit negative and statistically significant impact on life expectancy. In contrast, GDP per capita and renewable energy consumption are positive and significant determinants of longer life expectancy. The nuanced outcomes underscore the complex interplay of economic, environmental, and social factors within the BRICS nations. The effects found by PMG-ARDL and FMOLS are very comparable, except for the trade openness’ coefficients, which is the inverse. These findings hold significant implications for policy interpretation and sustainable development strategies. As nations struggle to balance economic growth and environmental improvement with public health, tailored interventions targeting CO2 reduction, trade openness, renewable energy, and GDP growth can collectively contribute to longer life expectancy. In a broader context, this research contributes to the global discourse on sustainability, economic improvement, and health issue.