The synthesis of cationic polyacrylamides (CPAMs) with the desired cationic degree and molecular weight is essential for various industries, including wastewater treatment, mining, paper, cosmetic chemistry, and others. Previous studies have already demonstrated methods to optimize synthesis conditions to obtain high-molecular-weight CPAM emulsions and the effects of cationic degrees on flocculation processes. However, the optimization of input parameters to obtain CPAMs with the desired cationic degrees has not been discussed. Traditional optimization methods are time-consuming and costly when it comes to on-site CPAM production because the input parameters of CPAM synthesis are optimized using single-factor experiments. In this study, we utilized the response surface methodology to optimize the synthesis conditions, specifically the monomer concentration, the content of the cationic monomer, and the content of the initiator, to obtain CPAMs with the desired cationic degrees. This approach overcomes the drawbacks of traditional optimization methods. We successfully synthesized three CPAM emulsions with a wide range of cationic degrees: low (21.85%), medium (40.25%), and high (71.17%) levels of cationic degree. The optimized conditions for these CPAMs were as follows: monomer concentration of 25%, content of monomer cation of 22.5%, 44.41%, and 77.61%, respectively, and initiator content of 0.475%, 0.48%, and 0.59%, respectively. The developed models can be utilized to quickly optimize conditions for synthesizing CPAM emulsions with different cationic degrees to meet the demands of wastewater treatment applications. The synthesized CPAM products performed effectively in wastewater treatment, with the treated wastewater meeting the technical regulation parameters.1H-NMR, FTIR, SEM, BET, dynamic light scattering, and gel permeation chromatography were employed to confirm the structure and surface of the polymers.