An optical trackball is disclosed that is easy to operate without been worried about the contamination on the contacting shifts of encoders inside the trackball. When a distal motion from a user to rotate an operating ball having an uneven surface on the trackball, an image-detecting module will detect the varying of the reflected image from an illuminated portion of the uneven surface, causing the correspondingly moving of the cursor on the computer display.