The invention discloses a method and a system for analyzing the vitality of a city complex. The method comprises the following steps: S1, obtaining the data of an interest point in the city complex, the data of a building area and traffic data; S2, obtaining the vitality index of the urban complex according to the data of the points of interest; Population density is derived from data on housing construction areas; According to the traffic data, the road integration degree is obtained. S3: According to the vitality index of the urban complex, combining with the population density and road integration degree, the layout conditions of different spatial regions are determined, and the optimization proposal of the layout of the urban complex is formed. The system comprises a data collection module, a data analysis module and a data output module, wherein, the data output module comprises a superposition analysis unit, a database and a data output unit. The scheme of the invention comprehensively considers the internal conditions and the external conditions of judging the vitality value, and the judging result is more accurate. At the same time, the judging model constructed can be flexibly configured according to the judging demand of the use scene, and the degree of flexibility is higher.