In this numerical study, riblets on the airfoil were utilized to enhance the aerodynamic performance of NACA0018 airfoil. Riblets of identical height and base length are strategically placed on the suction surface of the airfoil with varying spacing ratios along the flow direction (x) and chord length (c), specifically x/c = 0.3 and 0.7. Four distinct riblet airfoil models are subjected to computational fluid dynamics (CFD) analysis within an angle of attack range from 0° to 21° at a Reynolds number of Re=1×105. The obtained results are systematically compared with the performance of the plain airfoil. Numerical analyses reveal the significant influence of the spacing ratio on flow control and the overall aerodynamic performance of the airfoil, establishing a direct relationship with riblet spacing. The presence of riblet structures is observed to increase the lift coefficient, concurrently delaying the stall angle up to 19°. Notably, the ribbed structures effectively mitigate the interaction between the laminar separation bubble and trailing edge separation, leading to a reduction in turbulent kinetic energy values.