The invention relates to a method for biologically preventing root-knot nematode by taking brassica crop rapes as raw materials. The rapes are taken as the raw materials and are uniformly turned over to a plowing layer after crushed on site during growth, and plastic films for covering are used for high-temperature treatment for 15-20 days, so that the root-knot nematode is killed. The rapes internally contain a large quantity of thioglycosides, the thioglycosides can be decomposed into isothiocyanate substances under the action of self-contained myrosinase under the condition of a certain temperature and humidity, and the root-knot nematode is effectively killed. Besides, the ground temperature can be increased by the aid of the covering films, decomposition of straws is promoted, and the root-knot nematode can also be directly killed. Compared with an existing prevention method, the method has the advantages that natural plants are completely taken as the raw materials, chemical pesticides are completely omitted, energy consumption is low, the method conforms to the low-carbon concept and is applicable to wide area, simple in operation, low in service cost and remarkable in comprehensive benefit, the root-knot nematode can be effectively prevented, soil fertility and a soil structure can be improved, and high economic, social and ecological benefits are achieved.