Swimming at the microscale has recently garnered substantial attention due to the fundamental biological significance of swimming microorganisms and the wide range of biomedical applications for artificial microswimmers. These microswimmers invariably find themselves surrounded by different confining boundaries, which can impact their locomotion in significant and diverse ways. In this work, we employ a widely used three-sphere swimmer model to investigate the effect of confinement on swimming at low Reynolds numbers. We conduct theoretical analysis via the point-particle approximation and numerical simulations based on the finite element method to examine the motion of the swimmer along the centerline in a capillary tube. The axisymmetric configuration reduces the motion to one-dimensional movement, which allows us to quantify how the degree of confinement affects the propulsion speed in a simple manner. Our results show that the confinement does not significantly affect the propulsion speed until the ratio of the radius of the tube to the radius of the sphere is in the range of O(1)−O(10), where the swimmer undergoes substantial reduction in its propulsion speed as the radius of the tube decreases. We provide some physical insights into how reduced hydrodynamic interactions between moving spheres under confinement may hinder the propulsion of the three-sphere swimmer. We also remark that the reduced propulsion performance stands in stark contrast to the enhanced helical propulsion observed in a capillary tube, highlighting how the manifestation of confinement effects can vary qualitatively depending on the propulsion mechanisms employed by the swimmers.