The invention discloses a green ecological planting method for dragon fruits. The green ecological planting method includes the following steps that a seedling growing bed is constructed, each seedling growing groove is filled with a culture medium, after filling is completed, seeds obtained after seed soaking are lightly pressed into the culture medium until the seeds are just covered with the culture medium, two seeds are sown in each seedling growing groove, after sowing is completed, watering is carried out thoroughly, carbendazim is sprayed, and compound fertilizer is applied; before output, compost and fermented sheep manure is applied in a planting field, durian shell ferment powder is doped, deep plowing is carried out, urea, diammonium phosphate, superphosphate, borax, composite microbial inoculants, molasses powder, bamboo powder and ferric sodium edelate are applied for fine plowing, during output, a seedling nursery and the culture medium are planted by a ratio, and a support is buried; a greenhouse is put up through rope pulling, temperature in the greenhouse is controlled, and reasonable irrigation, fertilizer application, ventilation, prevention and control over disease and insect damage and pinching are carried out. The requirements for temperature, water and nutrition in dragon fruit planting are met, the yield is greatly increased, and obtained dragon fruits are large in size and good in mouthfeel.