The invention relates to a distribution network prosumer distributed optimal scheduling method for energy management of energy communities, which is characterized in that: the content includes energy community scheduling strategy modeling, ADMM-based distributed scheduling model and solution: energy community scheduling strategy construction The model incorporates system operating conditions and market operating mechanisms such as power flow and security, and builds a day-ahead optimal scheduling model for energy communities in consideration of economy and security; the distributed scheduling model and solution based on ADMM adopts graph theory for energy and community distribution network topology. Detailed modeling, while fully dispatching the flexibility of local systems, realizes the whole network through topology association, which meets the independent and interconnected operation requirements of the power grid, and can effectively solve the problem of large-scale prosumer optimization dispatching strategies, with scientific and reasonable methods , strong applicability, good effect and so on.