Because of the impacts from the road conditions and the hostile attacking, the military logistics distribution in wartime should consider the pressure degrees of various demand points to the materials, so it is much more complex than the common logistics. Aiming at the actual situation of the military logistics distribution in wartime, the basic ant colony algorithm is improved in the article, and the software of MATLAB is used to simulate the improved algorithm. The result indicates that the algorithm possesses higher solving efficiency, and can fulfill the requirement of the route optimization of the military logistics distribution in wartime.