To address the inadequate salt resistance of viscosity reducers and their limited applicability to reservoirs with single salinity, we synthesized salt-resistant viscosity reducers PANxAn in this study. These compounds were derived from fatty alcohol polyoxyethylene ether acrylate, N-alkyl acrylamide, acrylamide, and 2-acrylamido-2-methylpropanesulfonic acid. The structures were identified using nuclear magnetic hydrogen spectroscopy. We investigated the effects of the hydrophilic group ethoxy-chain length (n = 14, 16, 18, 20 and 22) and hydrophobic group alkyl-chain length (x = 12, 14, 16, and 18) on the salt resistance, interfacial activity, wettability, interfacial viscoelasticity and emulsification viscosity reduction performance of the viscosity reducers. Futher, the structures of the viscosity reducers which can adapt to different salinities were determined. Based on the emulsification viscosity reduction effect, PAN14A16, PAN12A16, PAN12A18, PAN12A20/PAN16A16 and PAN12A22/PAN18A16 adapted to salinities range of 2 × 104-6 × 104, 4 × 104-8 × 104, 6 × 104-10 × 104, 8 × 104-12 × 104 and 10 × 104-14 × 104 mg/L, respectively. At the optimal salinity, PANxAn reduced the oil–water interfacial tension from 28.3 to 5.0 mN/m, dynamic contact angle from 130.0° to 61.0°, and heavy oil viscosity from 454.6 to 60.0 mPa·s with a viscosity reduction rate of 86.80 %. The synthesis of salt-resistant PANxAn provides theoretical guidance and application value for enhancing the recovery efficiency of viscosity-reducer flooding in high-salinity heavy oil reservoirs.