Energy is one of the prime factors in influencing the sustainable development of a country. Different energy sources play important roles in driving the income growth of different economic sectors such as industrial, agricultural, and services. Fossil fuels, however, have come under strong criticism for actively accelerating climate change. As such, it is imperative to investigate the contributions of various energy sources toward sustainable growth. With Malaysia as the test-bed, the present study analyzes the impact of energy prices on economic stability using the novel wavelet-based analysis. Specifically, the study analyzed the impact of crude oil, natural gas, and gasoline prices on the economic (brown) and green growth from 1995 to 2020. The results show that in continuous wavelet transform, the cone of influence of all five factors exhibits strong short-run variance and fluctuations from 2005 to 2013. However, the intensity of brown growth is more influential than green growth. Similarly, in wavelet coherence graphs, the downward right arrows indicate positively significant associations between crude oil prices, natural gas prices, and gasoline prices with brown and green growth. Additionally, wavelet-based Granger causality reveals a bidirectional causal relationship between all variables. The results thus strongly suggest that energy prices predominantly affect the economic (brown) and green growth progression of the Malaysian economy. The study concludes with some suggested implications to augment the country's sustainable growth., (© 2023. The Author(s), under exclusive licence to Springer-Verlag GmbH Germany, part of Springer Nature.)