In this paper, an algorithm for vertices-constrained shortest path is put forward. Compared with a present algorithm, the (efficiency of this algorithm is high and its time complexity is O(k-2)n2)(n is the number of vertices in a graph, k is the constrained number of vertices). Another characteristic of this algorithm is that it is very simple and very easy to be described,fulfilled and understood .