The invention discloses a method for pollution-free cultivation of pumpkins in a greenhouse, belonging to the technical field of plant cultivation. The method comprises the following steps of: A, seed treatment: a, seed selection; and b, seed soaking to accelerate germination; B, preparation and disinfection of nutritive soil; C, culture of seedlings; D, sowing; E, seedbed temperature management; F, seedbed moisture management; G, soil preparation and spreading of base fertilizer; H, determination of the planting time and method; I, field management: a, temperature and humidity management; b, scaffolding; c, plant adjustment; d, topdressing; e, pollination; J, pest and disease control; and I harvesting. The method for pollution-free cultivation of pumpkins in the greenhouse is scientific and reasonable, the management is perfect, the fertilization is scientific, diseases of fruits can be reduced, the temperature conditions can be well controlled, the survival rate is high, the yield of fruits is high, the quality of the produced fruits is high, and demands of people for pumpkins grown in the greenhouse can be satisfied.