ABSTRACTDistance-related errors complicate the resolution of real-time ambiguity in medium–long baseline marine surveys. Therefore, detection and recovery of cycle slips in real time is required to ensure high accuracy of global navigation satellite system positioning and navigation in marine surveys. To resolve this, an improved method was presented, where linear combinations of the triple-differenced (TD) between carriers L1 and L2 were formed for a wide lane and free ionosphere. To overcome severe ill-conditioned problems of the normal equation, the Tikhonov regularization method was used. The construction of a regularized matrix by combining a priori information of known coordinates of reference stations, followed by the determination of the corresponding regularized parameter are suggested. A float solution was calculated for the TD ambiguity. The search cycle slip (TD integer ambiguity) was obtained using the least-squares ambiguity decorrelation adjustment (LAMBDA) method. Using our method, cycle slips of several reference station baselines with lengths of a few hundred to one thousand kilometers were detected in real time. The results were consistent with professional software, with a success rate of 100%.