This study examines how artificial intelligence affects corporate labor investment efficiency and demonstrates a positive association between artificial intelligence and labor investment efficiency. Artificial intelligence helps to enhance the information environment of decision-making and optimize the labor skill structure, thus contributing to labor investment efficiency. Furthermore, our additional results suggest that artificial intelligence reduces overinvestment (over-hiring and under-firing) and underinvestment (under-hiring) in labor. The positive impact of artificial intelligence on labor investment efficiency is more pronounced in firms with higher agency costs and environmental uncertainty, large-scale and labor-intensive firms. Further analysis reveals that artificial intelligence can reduce labor cost stickiness. Our findings have important implications for corporates to accelerate the development of artificial intelligence and improve labor resource allocation.