The invention belongs to the field of artificial breeding of insects and in particular discloses application of a leguminous plant in artificial breeding of riptortus pedestris, and a method for artificially breeding riptortus pedestris as well. The method mainly comprises a step of feeding imagoes and nymphs of riptortus pedestris with cowpeas as a feed. By adopting the method provided by the invention, the hatching rate of the riptortus pedestris can be increased, the survival rate of the nymphs is increased, the egg laying amount of a single female is increased, the obtained nymphs of the riptortus pedestris are good in consistency and stability, and the credibility and the reliability of biological tests can be ensured; secondly, the cowpeas are high in nutrition value, nutrition requirements on growth and development of generations of the riptortus pedestris can be met, and the material is easy to obtain, low in cost and easy to preserve in four seasons; by adopting the method, eggs, nymphs and imagoes are bred separately, then the eggs are prevented from being punctured or sucked by the nymphs and the imagoes, the rate of mutual killing can be reduced, the hatching rate of the eggs can be effectively increased, the mating space of the imagoes and the egg laying space of female insects can be increased, and the method is applicable to large-scale breeding.