Banking competition may enhance or hinder the financing of small and medium-sized enterprises. Using a survey on the financing of such enterprises in China, combined with detailed bank branch information, we investigate how concentration in local banking market affects the availability of credit. We find that lower market concentration alleviates financing constraints. The widespread presence of joint-stock banks has a larger effect on alleviating these constraints, than the presence of city commercial banks, while the presence of state-owned banks has a smaller effect.