In this study, the heaving and pitching motions of a biologically inspired airfoil (Bio airfoil) and a NACA 0015 airfoil in power extraction ( Po ) and propulsion ( Pr ) operating regimes are numerically simulated considering the ground effect. The effect of the mean distance of the flapping airfoil to the ground surface on the aerodynamic coefficients, Po and Pr efficiency, is investigated. The simulation is done at Reynolds number of 1100, using overset mesh capability of OpenFOAM. Mean distance from airfoil center of rotation to the ground surface varies from 1.25 to 4 times of airfoil's chord length, c. Motion parameters such as heaving and pitching amplitudes and their phase difference are kept constant at 1c, ∕4 , and ∕2 , respectively. The reduced frequency of the motion is selected 0.1 or 0.2. The obtained results show that the change in the distance to the ground does not change the nature of the operating regimes. In the Po regime, the Po efficiency of the Bio airfoil decreases with an increase in mean distance to the ground; however, it slightly changes for NACA 0015 airfoil. In the Po regime, the Bio airfoil has a higher efficiency than NACA 0015 airfoil. Due to the ground help, the leading edge vortex increases Po efficiency only on Bio airfoil. In the Pr regime, the Pr efficiency of both airfoils decreases with an increase in the distance to the ground, and NACA 0015 airfoil has a higher efficiency than Bio airfoil.