Rosin is reputed as green petroleum because it is renewable, not expensive, and environmental friendly. China is rich in rosin resources. In this report, rosin was used as raw material to prepare rosinyl amine salt (RAS) surfactant. The optimal reaction conditions of RAS was modified rosin and dimethylamine mole ratio of 1:2, reaction temperature of 78 oC and reaction time of 2 h. The chemical structure of the product was identified by Fourier transform infrared spectroscopy (FTIR), electrospray ionization-mass spectrometry (ESI-MS) and 1H nuclear magnetic resonance (NMR) analysis. As a surfactant, it has a critical micellar concentration (CMC) of 7.07×10-5mol/L, a surface tension of 44.36 mN/m, an emulsification activity of 5min, a height of foam of 165 mm, and a foam stability of 143 mm.