This paper introduces an improved ant colony system algorithm (IACS) for optimizing the path planning of mobile robots in complex environments, addressing the limitations of the traditional ant colony algorithm (ACS) that often gets stuck in local optima. The IACS enhances global search capabilities by incorporating chaotic behavior into pheromone updating, resulting in better performance in simulation experiments. Results demonstrate that IACS achieves quicker convergence and more effective path planning compared to traditional methods.