In this paper, a method of palmprint segmentation and location is proposed. The proposed method focuses on region of interest (ROI) extraction of palmprint images which involve transition and rotation. Firstly, binary of palmprint image is used to define the edge of palmprint. Then we separate the fingers and palms and find the two valley points of the index finger and middle finger, ring finger and little finger. Finally, rotate image based on the two valley points and correct image position and create coordinate system according to valley points to determine ROI. This method provides a necessary preprocessing for further feature extraction and matching.The effectiveness of the proposed method is verified using the PolyU palmprint database.