The principal aim of this paper is to serve the numerical solution of an integral-algebraic equation (IAE) by using the Bernoulli polynomials and the residual correction method. After implementation of our scheme, the main problem would be transformed into a system of algebraic equations such that its solutions are the unknown Bernoulli coefficients. This method gives an analytic solution when the exact solutions are polynomials. Also, an error analysis based on the use of the Bernoulli polynomials is provided under several mild conditions. Several examples are included to illustrate the efficiency and accuracy of the proposed technique and also the results are compared with the different methods.