The anthocyanins and polyphenols in Sorbus melanocarpa are the highest in known plants, and have a variety of health-care functions. However, due to the poor stability and low bioavailability of anthocyanins, their application in various industries is limited. In this study, chitosan and polyglutamic acid were used to encapsulate the anthocyanin of Sorbus melanocarpa by ion gel method under pH drive to improve the stability of anthocyanin of Sorbus melanocarpa. On the basis of single factor experiments, three significant factors were selected to conduct response surface optimization experiments with the embedding rate as an indicator, the best preparation conditions for obtaining Sorbus melanocarpa nano-microcapsules are: 36 mg of anthocyanins, 1.3 mg/mL of chitosan, 60 minutes of mixing time, and mass ratio of chitosan: polyglutamic acid 2∶1, pH 4.5, the obtained Sorbus melanocarpa anthocyanin nano-microcapsules have an embedding rate of 59.54%, a particle size of 317.5 nm, and a Zeta potential of 36.7 mV, Observed by scanning electron microscope, the anthocyanin nanocapsules of Sorbus melanocarpa are smooth and oval in appearance. This indicates that the anthocyanin nanocapsules of Sorbus melanocarpa have good structure and stability, which is beneficial to expand its application range in the food industry.