Energy generation in Afghanistan is limited and heavily dependent on fossil fuels and imported electricity. Due to rapid population growth and progress in the industry, services, and agriculture sectors, the existing energy sources are not fulfilling the current energy needs of the country. Meanwhile, there is a big gap between power supply and demand, which led to an energy shortage in Afghanistan. Consequently, there is a need to develop power generation and assure energy sustainability by concentrating on renewable energy sources. This paper aims to analyze the theoretical, practical, and economic potential of solar energy in Afghanistan with the main focus on PV power technology. Power generation from solar sources is theoretically, practically, and economically suitable for Afghanistan and can be a perfect solution for the energy shortage in the country. The Afghan government should consider developing solar energy as a priority for energy security, socio-economic development, and improving the quality of life in Afghanistan. © The Authors, published by EDP Sciences, 2021.