An approximate solution of the Fredholm integral equations (FIEs) of the second kind is obtained. The equations are converted into an unconstrained optimization problem. In this paper, an algorithm (BAC) for solving the Fredholm integral equations (FIEs), with a combination of Bees algorithm and Chebyshev polynomials, is presented. Chebyshev polynomials are first formulated, with undetermined coefficients, as an approximate solution of FIEs. These polynomials are replaced by the unknown function in the given Fredholm equation. The algorithm is in turn calculating the coefficients. Numerical examples are employed to approve the validity and the applicability of the proposed algorithm and the results are compared to the exact solution. The results show the efficiency and accuracy of the proposed algorithm to solve Fredholm integral equations (FIEs).