• A mathematical model of the problem of nonlinear oscillations of a viscoelastic pipeline conveying fluid is developed. • A computational algorithm is developed to solve the problems of the dynamics of viscoelastic pipelines. • Numerically investigated the influence of singularity in the heredity kernels on vibrations of the pipeline. A mathematical model of the problem of nonlinear oscillations of a viscoelastic pipeline conveying fluid is developed in the paper. The Boltzmann–Volterra integral model with weakly singular kernels of heredity is used to describe the processes of pipeline strain. Using the Bubnov–Galerkin method, the mathematical model of the problem is reduced to the study of a system of ordinary integro-differential equations, where time is an independent variable. The solution of integro-differential equations is determined by a numerical method based on the elimination of the singularity in the relaxation kernel of the integral operator. Using the numerical method for unknowns, a system of algebraic equations is obtained. To solve a system of algebraic equations, the Gauss method is used. A computational algorithm is developed to solve the problems of the dynamics of viscoelastic pipelines with a flowing fluid. The algorithm of the proposed method makes it possible to investigate in detail the effect of rheological parameters on the character of vibrational strength of viscoelastic pipelines with a fluid flow, in particular, in the study of free oscillations of pipelines based on the theory of ideally elastic shells. On the basis of the computational algorithm developed, a set of applied computer programs has been created, which makes it possible to carry out numerical studies of pipeline oscillations. The influence of singularity in the heredity kernels and the geometric parameters of the pipeline on the vibrations of structures possessing viscoelastic properties is numerically investigated. It is shown that an account of viscoelastic properties of pipeline material leads decrease in the amplitude and frequency of oscillation. It is established that to reveal the influence of viscoelastic properties of structure material on the pipeline oscillations, it is necessary to use the Abel-type weakly singular kernels of heredity. The obtained results of numerical simulation can be used in the enterprises of oil and gas industries, as well as in design organizations.