The invention relates to a vehicle route optimization method with time window constraint based on improved particle swarm optimization (PSO). The method comprises the following steps of: step 10, initially setting parameters; step 20, constructing a particle swarm; step 30, decoding particles according to a decoding rule; step 40, calculating fitness for a distribution route obtained by decoding; step 50, searching an individual optimal state and a group optimal state to select the group optimal state Pg, which is the optimal route of the vehicle route problem under the current iteration conditions, determining the condition that the optimal position searched by the particle swarm is the optimal route in the current state, entering step 601 if a stop condition is not reached, and otherwise, entering step 603; step 601, updating the state; step 602, introducing crossover operator operation, and entering step 30 to repeat particle decoding; and step 603, stopping iteration, and outputting the optimal route result of the vehicle route problem.