The invention discloses a Chinese herbal medicine extraction nutrient solution, a preparation method and an ecological planting method. The Chinese herbal medicine extraction nutrient solution is prepared from the following raw materials in parts by weight of 10-15 parts of fermentation liquor, 1-5 parts of trace elements, 5-10 parts of amino acid and 300-400 parts of RO water. The fermentation liquor comprises elecampane, scutellaria baicalensis, dandelion, fructus forsythiae, coptis chinensis, cortex pseudolaricis, galangal, golden cypress, cinnamon, clove, mangnolia officinalis, radix sophorae flavescentis, radix salviae miltiorrhizae, rosemary, radix stemonae, radix gentianae, quisqualis indica, artemisia apiacea, dendrobium officinale, herba violae, smoked plums, euphorbia helioscopia, saccharomycetes, bifidobacteria, bacillus subtilis and pseudomonas. The planting method comprises the steps of applying base fertilizer to a farmland; after crops are transplanted, mixing a microbial agent with water for root irrigation; and spraying the Chinese herbal medicine extraction nutrient solution to crop leaves. The method has the advantages that less pesticide is sprayed or even no pesticide is sprayed, the crops using the nutrient solution can appear on the market in advance, the harvesting period is prolonged, the quality of agricultural products is greatly improved, and the problems of soil acidification, heavy metal pollution and the like in the planting environment can be remarkably solved.