For a robust way of estimating time shifts near horizontal boreholes, we have developed a method for separating the reflection responses above and below a horizontal borehole. Together with the surface reflection data, the method uses the direct arrivals from borehole data in the Marchenko method. The first step is to retrieve the focusing functions and the updown wavefields at the borehole level using an iterative Marchenko scheme. The second step is to solve two linear equations using a least-squares minimizing method for the two desired reflection responses. Then, the time shifts that are directly linked to the changes on either side of the borehole are calculated using a standard crosscorrelation technique. The method is applied with good results to synthetic 2D pressure data from the North Sea. One example uses purely artificial velocity changes (negative above the borehole and positive below), and the other example uses more realistic changes based on well logs. In the 2D case with an adequate survey coverage at the surface, the method is completely data driven. In the 3D case in which there is a limited number of horizontal wells, a kinematic correct velocity model is needed, but only for the volume between the surface and the borehole. Possible error factors related to the Marchenko scheme, such as an inaccurate source wavelet, imperfect surface multiples removal, and medium with loss are not included in this study.