The present invention relates to a system and method of cultivating Cordyceps, specifically, provided herein is a system of cultivating Cordyceps comprising: a Hepialus moth trapping device (100); a Hepialus moth eggs screening device, wherein the device is connected with the Hepialus moth trapping device; an ascospores-collecting device; a mycelia-preparing device; a conidia-preparing device; an infection device, wherein the device is connected with the ascospores-collecting device, the mycelia-preparing device and the conidia-preparing device; and a feeding device, wherein the device is connected with the Hepialus moth eggs screening device and the infection device. And also provided is a method of using the system to cultivate Cordyceps. The system and method have advantages in less manpower, suitable for industrial-scale production of Cordyceps, harvesting Cordyceps with steady production and high quality.本發明涉及培植冬蟲夏草的系統和方法,具體提供一種培植冬蟲夏草的系統,包括:蝙蝠蛾捕獲裝置;蝙蝠蛾卵篩選裝置,該蝙蝠蛾卵篩選裝置與該蝙蝠蛾捕獲裝置相連;子囊孢子收集裝置;菌絲體製備裝置;分生孢子製備裝置;侵染裝置,該侵染裝置與該子囊孢子收集裝置、該菌絲體製備裝置和該分生孢子製備裝置相連;以及飼養裝置,該飼養裝置與該蝙蝠蛾卵篩選裝置和該侵染裝置相連。並且提供利用該系統培植冬蟲夏草的方法,該培植冬蟲夏草的系統和方法具有人工操作少、適於工業化生產冬蟲夏草及培植獲得的冬蟲夏草產量穩定、品質高等優點。