Using the World Bank survey of 1500 firms in five Chinese cities, we study whether the presence of foreign firms produces technology spillovers on domestic firms operating in the same city and industry. We find positive spillovers for more technologically advanced firms and no or negative spillovers for more backward firms. We analyze the channels of such spillovers and find that the transfer of technology occurs through movement of high-skilled workers from FDI firms to domestic firms as well as through network externalities among high-skilled workers. Moreover, these two channels fully account for the spillover effects we find, which demonstrate the importance of well-functioning labor market in facilitating FDI spillovers. Insofar as our results can be generalized to other countries, they reconcile conflicting evidence found in other studies.