Energy demand forecasting is crucial for effective resource management within the energy sector and is aligned with the objectives of Sustainable Development Goal 7 (SDG7). This study undertakes a comparative analysis of different forecasting models to predict future energy demand trends in Brazil, improve forecasting methodologies, and achieve sustainable development goals. The evaluation encompasses the following models: Seasonal Autoregressive Integrated Moving Average (SARIMA), Exogenous SARIMA (SARIMAX), Facebook Prophet (FB Prophet), Holt–Winters, Trigonometric Seasonality Box–Cox transformation, ARMA errors, Trend, and Seasonal components (TBATS), and draws attention to their respective strengths and limitations. Its findings reveal unique capabilities among the models, with SARIMA excelling in tracing seasonal patterns, FB Prophet demonstrating its potential applicability across various sectors, Holt–Winters adept at managing seasonal fluctuations, and TBATS offering flexibility albeit requiring significant data inputs. Additionally, the investigation explores the effect of external factors on energy consumption, by establishing connections through the Granger causality test and conducting correlation analyses. The accuracy of these models is assessed with and without exogenous variables, categorized as economical, industrial, and climatic. Ultimately, this investigation seeks to add to the body of knowledge on energy demand prediction, as well as to allow informed decision-making in sustainable energy planning and policymaking and, thus, make rapid progress toward SDG7 and its associated targets. This paper concludes that, although FB Prophet achieves the best accuracy, SARIMA is the most fit model, considering the residual autocorrelation, and it predicts that Brazil will demand approximately 70,000 GWh in 2033.