4D computed tomography (CT) has been widely used for treatment planning of thoracic and abdominal cancer radiotherapy. Current 4D-CT lung image reconstruction methods rely on respiratory gating to rearrange the large number of axial images into different phases, which may be subject to external surrogate errors due to poor reproducibility of breathing cycles. New image-matching-based reconstruction works better for the cine mode of 4D-CT acquisition than the helical mode because the table position of each axial image is different in helical mode and image matching might suffer from bigger errors. In helical mode, not only the phases but also the un-uniform table positions of images need to be considered. We propose a Bayesian method for automated 4D-CT lung image reconstruction in helical mode 4D scans. Each axial image is assigned to a respiratory phase based on the Bayesian framework that ensures spatial and temporal smoothness of surfaces of anatomical structures. Iterative optimization is used to reconstruct a series of 3D-CT images for subjects undergoing 4D scans. In experiments, we compared visually and quantitatively the results of the proposed Bayesian 4D-CT reconstruction algorithm with the respiratory surrogate and the image matching-based method. The results showed that the proposed algorithm yielded better 4D-CT for helical scans.