The effectiveness of green finance in driving clean energy and environmental sustainability in the current era is receiving attention. Therefore, this study proposes an empirical framework highlighting the effects of green bonds (GB) on clean energy investment (CEI), clean energy investment efficiency (CEE) and environmental sustainability of 29 green bond issuing countries between 2014 and 2022. Using system and difference GMM approaches, this study finds that (i) green bond issuance drives clean energy investment. (ii) Green bonds sufficiently enhance the selected countries' environmental quality. These results supplement the promotion of green bonds in increasing the transfer of funds towards renewable energy projects by reducing reliance on fossil fuels. (iii) Using Driscoll & Kraay, Fully Modified-OLS, and changing the dependent variable, this study further supported the idea that green bonds effectively promote the CEE and environmental sustainability of the chosen countries. (iv) Similarly, this study conducted income heterogeneity, showing that green bonds improve high- and middle-income countries' CEI and environmental quality. (v) Finally, the results indicate that resource consumption escalates CO2 emissions by declining the CEI. Technological innovations increase CEI, whereas they do not mitigate CO2 emissions directly, hinting at the requirement for a comprehensive approach. Therefore, inclusive policies on green bond frameworks, robust incentives, and rigorous environmental criteria should be implemented to attract investment in clean energy development and ensure the environmental sustainability of the selected countries.