Photoacoustic imaging is an imaging technology which combines the advantages of high-resolution optical imaging and deep detection depth of acoustic imaging. Photoacoustic imaging combined with hysteroscopy may be a new diagnostic technique for endometrial cancer. However, the energy loss after pulsed laser passing through the hysteroscope is very large. Therefore, the energy of pulsed laser after hysteroscopy based on photoacoustic imaging is worth further discussion. A coupling Program of pulsed laser and hysteroscope based on the optical path of pulsed laser and hysteroscope was designed in this paper. The Program was optimized by ZEMAX simulation, and then the optimal effect of pulsed laser observation through hysteroscopy was verified by phantom experiment. The results show that the pulsed laser can obtain better photoacoustic signals after passing through our coupling module. This method is expected to be applied to the detection of endometrial diseases in clinic.