The cultivation of chili peppers in Zhanjiang City, Guangdong Province, China, has long suffered from root-knot nematode, which has caused significant economic losses. Commonly used chemical nematicides are highly toxic to humans and animals, and they can remain in the soil, damaging soil health and affecting the cultivation of subsequent crops. There is a need to find a green and safe alternative. Therefore, the present field experiment was conducted based on laboratory studies to evaluate the effect of treatment of open field with lime nitrogen followed by different fertilizers on the control of root-knot nematode in chili and its growth. The highest preventive effect against root-knot nematode was found to be 53.37% after applying lime nitrogen treatment in the open field, and the highest preventive effect was 80.42% when combined with fertilizers. Compared with the control, the maximum increase in soil temperature was 8℃, and the pH value of the soil was increased from 5.83 to 7.52, effectively improving soil acidification and structure and increasing soil fertility. The present results show that this technology can meet the expectations when applied on the open floor, but it needs to be combined with other measures. It can be carried out in combination with the summer fallow period.