To attain food security, sub-Saharan Africa needs to increase its use of irrigation to improve agricultural productivity and resilience to climate change-induced droughts and erratic rain patterns. Stand-alone solar-powered irrigation systems are a promising technology to power irrigation where grid electrification is unavailable. However, these systems’ economic viability and sustainability are affected by spatially varying factors such as climate, water availability, and solar potential, making it challenging to plan their roll-out. This study addresses the planning challenge by developing a novel open-source reproducible geospatial methodology to determine irrigation water demand, peak power demand, life cycle cost, and locations where solar-powered irrigation systems would be cheaper than alternative off-grid irrigation technologies. The method considers spatial–temporal data for meteorological conditions, soil quality, water distance and depth, solar resource potential, technology efficiency and local equipment and fuel costs. Maize cultivation in Kenya is taken as a case study to demonstrate the method. We find the median peak irrigation water demand in Kenya to be 65,000 l/ha/day and the median peak power demand to be 2.6 kW/ha. The levelized cost of solar-powered irrigation systems ranges from US$ 0.09/kWh to US$ 0.25/kWh, making solar irrigation cheaper than diesel-powered irrigation in all Kenyan regions. The results from the method offer valuable insights to governments, farmers and investors on where water use regulations are required for sustainable water use, where subsidies and innovative financial models are needed for the affordability of solar irrigation and where alternative uses of energy from the solar systems beyond irrigation are possible.