Exploring the spatial pattern of affordable housing land and understanding the allocation logic of multi-level governments can help promote the optimal land allocation and accelerate the equalization of regional basic public services. Based on the affordable housing land in China Land Market Network, this paper uses the kernel density and geographic detector model to study the spatial pattern of affordable housing land from the perspectives of the province, city and county levels in China and analyze the influencing factors of its spatial mismatch. The results show that: 1) The allocation pattern of affordable housing land shows strong spatial differentiation at all levels, and the dense distribution and scattered distribution are obvious. 2) There are spatial mismatches in the affordable housing land among all levels. Excessive and shortage mismatches coexist, and are closely related to land factors. 3) There are differences in the influencing factors of affordable housing land spatial mismatch. Affordable housing land basically follows the allocation logic of reducing costs among provinces. However, among cities and counties, it's affected by land constraints and land cost at the same time, showing a strong logic of task completion and cost reduction. Accordingly, suggestions are given: It should reasonably evaluate the demand for affordable housing and accurately allocate land resource, the supervision and assessment system of local governments needs to be optimized to prevent the strategic behavior