Background and purpose: In real-time lung tumor-tracking stereotactic body radiotherapy (SBRT), tracking accuracy is related to radiotherapy efficacy. This study aimed to evaluate the respiratory movement relationship between a lung tumor and a fiducial marker position in each direction using four-dimensional (4D) computed tomography (CT) images.Materials and methods: A series of 31 patients with a fiducial marker for lung SBRT was retrospectively analyzed using 4DCT. In the upper (UG) and middle and lower lobe groups (MLG), the cross-correlation coefficients of respiratory movement between the lung tumor and fiducial marker position in four directions (anterior-posterior, left-right, superior-inferior [SI], and three-dimensional [3D]) were calculated for each gating window (<= 1, <= 2, and <= 3 mm). Subsequently, the proportions of phase numbers in unplanned irradiation (with lung tumors outside the gating window and fiducial markers inside the gating window) were calculated for each gating window.Results: In the SI and 3D directions, the cross-correlation coefficients were significantly different between UG (mean r = 0.59, 0.63, respectively) and MLG (mean r = 0.95, 0.97, respectively). In both the groups, the proportions of phase numbers in unplanned irradiation were 11 %, 28 %, and 63 % for the <= 1-, <= 2-, and <= 3-mm gating windows, respectively.Conclusions: Compared with MLG, fiducial markers for UG have low cross-correlation coefficients between the lung tumor and the fiducial marker position. Using 4DCT to assess the risk of unplanned irradiation in a gating window setting and selecting a high cross-correlation coefficient fiducial marker in advance are important for accurate treatment using lung SBRT.