An enhanced whale optimization algorithm (WOA) through the implementation of a generalized type-2 fuzzy logic system (GT2FLS) is outlined. The initial idea is to improve the efficacy of the original WOA using a GT2FLS to find the optimal values of the r→1 and r→2 parameters of the WOA, for the case of optimizing mathematical functions. In the WOA algorithm, r→1 is a variable that affects the new position of the whale in the search space, in this case, affecting the exploration, and r→2 is a variable that has an effect on finding the local optima, which is an important factor for the exploration. The efficiency of a fuzzy WOA with a GT2FLS (FWOA-GT2FLS) is highlighted by presenting the excellent results of the case study of the benchmark function optimization. A relevant analysis and comparison with a bio-inspired algorithm based on artificial bees is also presented. Statistical tests and comparisons with other bio-inspired algorithms and the initial WOA, with type-1 FLS (FWOA-T1FLS) and interval type-2 FLS (FWOA-IT2FLS), are presented. For each of the methodologies, the metric for evaluation is the average of the minimum squared errors.