The two most important spatial agglomeration patterns of producer services are specialized agglomeration and diversified agglomeration.This paper theoretically discusses the mechanism of different agglomeration patterns affecting local green economic growth and spatial spillover effect.Based on the data of 208 cities at prefecture level or above in 18 urban ag-glomerations from 2003 to 2019,the panel fixed effect model and spatial econometric model were established for empirical test.The results show that:Firstly,the green economic growth effect is the largest when specialized agglomeration and diversi-fied agglomeration coexist,but it is moderated by city size.Sec-ondly,compared with specialized agglomeration,diversified ag-gtomeration of producer services has a greater effect on local green economic growth,and only diversified aggtomeration has a posi-tive but insignificant spatial spillover effect.Thirdly,the effective pattern of collaborative division of labor has not yet been formed within urban agglomerations,such as diversified central cities and specialized peripheral cities.Therefore,the planning and division of productive service functions within urban agglomerations should be strengthened.The above research provides theoretical refer-ence and practical experience for the selection of urban producer services development model and urban green transformation devel-opment.