Energy efficiency in photovoltaic systems is especially important when batteries are part of the system. Performance optimization includes the selection of the best efficiency point for each stage of the system, and the inclusion of devices that reduce energy losses when some elements of the system are not operating. This paper proposes improving b. ••High-voltage battery-based PV pumping system is compared with direct pumping system.••Added IoT board enables remote control improving system efficiency successfully.••The battery-based system is advantageous over direct mode, especially on cloudy days.••Batteries could increase the availability of energy for purposes other than pumping.••High-voltage lithium-ion battery storage solutionsBattery-based photovoltaic water pumping systemsEnergy efficiencyOptimum operating pointSOC managementPerformance ratioAC Alternate currentAV Average (subscript)BMS Battery management systemcha Charge of the battery (subscript)d DayDB The sustainable management of water supply based on renewable resources is essential, especially in developing countries or areas with water scarcity. It also contributes to achieving the Sustainable Development Goals set by the United Nations. Water demand depends on the population supplied, usage and type of service, local weather, and seasonal variations, etc. Both water and energy demand usually increase when availability increases. The World Health Organization recommends a typical water consumption per person of between 50 and 100 L/d, although in humanitarian emergencies this can decrease to 20 L/d or less, as reported in. A minimum of 7.5 L per capita per day is recommended to meet the requirements of most people under most conditions. Pumping systems are used for the extraction and supply of water. The technological solutions available for water pumping infrastructure are analyzed in,. Grid-connected, fuel-based, or battery-based water pumping systems (WPSs) can operate at rated conditions, while solar pumping progressively pumps the required water volume during daylight hours. Due to the different modes of operation of direct photovoltaic water pumping systems (DPVWPS) (only at nominal conditions for a short period at midday on sunny days), the time needed to pump a fixed volume of water is longer. Since the daily operating time in DPVWPS is limited by sunshine hours, the pumps chosen require more power than those used in pumping systems based on en.