Dimethyl ether (DME) is regarded as a promising alternative fuel to reduce greenhouse gases and soot emission. However, the application of DME in actual engines is difficult because of its low calorific value and viscosity. DME is commonly utilized as a supplementary component in traditional fuels to enhance their combustion efficiency and emission performance. This study investigated the effect of DME blending on the soot and NO formation in laminar diffusion gasoline flames. The results showed that the peak soot volume fraction (SVF) reduced by 12.3 %, while the peak temperature increased by 19.2 K and the peak concentration of NO increased by 18.2 % when the blending ratio of DME increased from 0 % to 15 %. The primary reason for the reduction in the soot inception rate was the decrease in benzo(ghi)fluoranthene (BGHIF) concentration. The formation of BGHIF was controlled by the C6H5CH3 → A1 → A1-→A1C2H → A2R5 → A2 → A2-→BGHIF pathways. The decrease of initial soot particles led to a reduction in Hydrogen Abstraction Carbon Addition (HACA) surface growth rate. The increase in A4 concentration was due to the increase in the concentration of C4H2 in the reaction A2R5 + C4H2 = A4. Therefore, more benzo[a]pyrene (BAPYR) was formed through A4 + C4H2 = BAPYR, promoted the process of soot condensation. The increase in OH concentration promoted the oxidation of OH, and the decrease in soot inhibited the oxidation of O2. The majority of NO was primarily produced through the NO thermal pathway in the DME/gasoline flame, and N + OH = NO + H was the main reaction to form NO. The increase of O, H and OH radicals caused the increase in NO concentration.