Abstract The study suggests employing Euler wavelets to provide a precise and effective computational approach for certain fractional optimal control problems. The primary objective of the approach is to transform the fractional optimal control problem defined by the dynamical system and performance index into algebraic equation systems, which then can be readily solved using matrix techniques. Since Euler polynomials are employed to build Euler wavelets and since Euler polynomials have less number of terms than most of the other common polynomials to build wavelets, employing them results in sparser matrices, which are called operational matrices. The speed of the proposed numerical method is increased and the required computational load is decreased due to the fewer terms in Euler wavelet operational matrices. Incorporating operational matrices of Euler wavelets yields the corresponding systems of algebraic equations for state variable, control variable, and Lagrange multipliers (used to determine essential conditions of optimality). After transformation, those systems of algebraic equations are solved to obtain the numerical solution. Suggested method's efficiency is demonstrated using a few typical examples. The suggested procedure is accurate and efficient, according to the results.