The oil produced in the oil fields of the Republic of Kazakhstan contains a high percentage of sulfur. Synthesis and improvement of the properties of catalytic systems for the production of fuels with high octane number and low sulfur content is currently an urgent task for Kazakhstan. In this study, catalytic systems with a new composition based on zeolites with the addition of rare-earth metals (E) and phosphorus (P) have been prepared and tested in the process of the catalytic hydrotreating of straight-run gasoline and gasoline of catalytic cracking. In case of NiO-MoO3-E-P-HZSM-HY-Al2O3 catalyst, the octane rating of the gasoline after hydro-processing was increased to 88-90, which is much higher than for other catalysts. The octane number of straight-run gasoline up to 400°C is a maximum of 90 (Research Method) and 83.7 (Motor Method). At the same time, the sulfur content in the resulting gasoline decreases from 0.0088% to 0.0011%. In the case of catalytic cracking gasoline, the sulfur content is reduced from 0.0134% to 0.0012%. The smallest residual sulfur content in the final product, 0.0005% is revealed in case of catalyst CoO-WO3-E-P-HZSM-HY-Al2O3, and it is 2-4 times lower than for catalysts CoO-MoO3-E-P-HZSM-HY-Al2O3 and NiO-MoO3-E-P-HZSM-HY-Al2O3. These amounts of sulfur residue in raw materials is lower than that required by the Euro-5 Standard. The surface of the prepared catalysts was 211.0-274.0 m2/g, diameter of pores d ≈ 1.5-2.5 nm and d ≈ 7.0 nm. The total pore volume of the catalysts was not higher than 0.28-0.41 ml/g. The catalysts developed in this study can be used for hydrotreating raw materials and producing high-octane gasoline with a low sulfur content, corresponding in its characteristics to the Euro-5 Standard.