An erucic acid-based anionic surfactant, AdEr, was synthesized by a simple neutralization reaction, and AdEr constructed a novel pH-responsive wormlike micellar viscoelastic system in the presence of potassium chloride (KCl). The viscoelasticity and pH-responsiveness of the pH-responsive wormlike micelles have been investigated using rheology, and its corresponding mechanism has been analyzed by Fourier transform infrared (FT-IR) spectra. The zero-shear viscosity (η0) of the AdEr/KCl system dramatically increases by 5 orders of magnitude as the pH increases from 6 to 10. The viscoelastic fluids and dispersion system with white precipitate can be converted by tuning the pH between 10.46 and 6.03, and the corresponding aggregates also transform between wormlike micelles and spherical micelles. Furthermore, by directly adding acid and alkali, the AdEr/KCl system can be precisely reversibly controlled in the pH range 6–10, and the viscosity stays unchanged after three reversible cycles, exhibiting strong pH reversibility. The pH-responsive behavior can be attributed to the manipulation of carboxylic acid protonation. This study promotes new applications of erucic acid resources in smart viscoelastic solutions.