Household photovoltaic (PV) is booming in China. In 2021, household PV contributed 21.6 GW of new installed capacity, accounting for 73.8 % of the new installed capacity of distributed PV. However, due to the randomness and intermittency of PV power generation, large-scale household PV grid connection has a serious impact on the safe and stable operation of the distribution network. Based on this background, this paper considers different app. Household photovoltaic (PV) is booming in China. In 2021, household PV contributed 21.6 GW of new installed capacity, accounting for 73.8 % of the new installed capacity of distributed PV. However, due to the randomness and intermittency of PV power generation, large-scale household PV grid connection has a serious impact on the safe and stable operation of the distribution network. Based on this background, this paper considers different application scenarios of household PV, and constructs the optimization model of energy storage configuration of household PV with the annual net profit as the optimization goal. Taking a natural village in China as an example, the improved particle swarm optimization algorithm is used to solve the optimal energy storage capacity, power and typical daily energy storage output. According to the optimization results, the operation effects and economic benefit indicators of the household PV system and the household PV storage system in different scenarios are compared and analyzed. The results show that the configuration of energy storage for household PV can significantly reduce PV grid-connected power, improve the local consumption of PV power, promote the safe and stable operation of the power grid, reduce carbon emissions, and achieve appreciable economic benefits. Finally, some suggestions are put forward to further promote the development of household PV storage system. The research results can provide reference for promoting the sustainable develop. ••Configuring energy storage for household PV has good environmental benefits.••The household PV energy storage system can achieve appreciable economic benefits.••Configurating energy storage for household PV is friendly to the distribution network.Household photovoltaicEnergy storage optimization configurationImproved particle swarm algorithmLocal consumption of photovoltaic powerAs the world population alongside the desire for a better quality of life increases, so too does the demand for energy. Regrettably, as of 2021, 82 % of the global primary energy demand is supplied by fossil fuels. The production of energy using fossil fuels increases greenhouse gases emissions which in turn, negatively accelerates climate change. The global average temperature has increased by about 0.2–0.3 °C in the past 40 years. International Energy Outlook (IEO) predicts that CO2 emission will increase by 7.6 % in 2040 considering the rapid pace of economy and population growth in developing countries. In order to deal with the energy crisis and global warming, many countries and regions have set the goal of achieving carbon neutrality around the middle of this century. As major economies in the world accelerate the pace of energy transformation, exploring the path of green and sustainable energy consumption and promoting the development of new energy led by wind power and PV power generation has become an important consensus to promote world energy development. According to the statistics of the National Energy Administration, in 2021, the newly added installed capacity of new energy power generation in China reached 134 GW, accounting for 76.1 % of the total newly added capacity in the country. Among them, the newly added PV power generation capacity reached 54.88 GW, and the newly added wind power capacity reached 47.57 GW, accounting for 31.1 % and 27 % of the ne. Cinvpv initial investment of PV($)Cpvm,upv unit capacity cost of PV modules ($/kW)Cinverter,upv unit capacity cost of inverter ($/kW)Cfbpv unit cost of PV fixed support ($)Pcappv PV installed capacity (kW)afb .