A laser ranging system using all fiber high speed pseudorandom (PN) coded laser at 1550 nm and photon counting is proposed to realize high spatial resolution. Different lengths of PN code are employed in the optical fiber delay ranging test, the results show the improvement in both ranging accuracy