In this paper,a novel image encryption algorithm based on chaotic sort is presented.The substitute algorithm and the permutation algorithm are based on discrete one-dimensional chaotic map.The permutation algorithm is provided with big secret key space,well randomicity and uniform distribution.Experimental results show that the proposed scheme has high security.