In this paper, the numerical solution of general linear fifth-order boundary-value problem (BVP) is considered. This problem is transformed into three initial value problems (IVPs) and then spline functions with four collocation points are applied to the three IVPs. The presented spline method enables us to find the spline solution and derivatives up to fifth-order of BVP. By giving four examples and comparing with the other methods, the efficiency and highly accurate of the method will be shown.