Aiming at the low precision of TOA estimation by peak detection,on the basis of the existing threshold method,a TOA estimation method under indoor NLOS scenario is proposed.The threshold is optimized using measured data.Simulation results show that,compared with conventional peak detection,threshold optimization can increase average TOA estimation accuracy by 54.5%,and the system positioning accuracy by over 1meter.