The invention discloses a production technology of an environment-friendly medium-density fiberboard. The finished product is prepared by the steps of raw material chipping, proportioning, steaming, waxing, hot grinding, gluing, drying and winnowing, laying and forming, pre-pressing, final trimming, hot pressing, flap cooling, trimming and sanding, wherein the gluing step comprises a glue preparation technology, wherein formaldehyde and urea are used as main raw materials; the urea is added three times; and after urea is added each time, the molar ratio of the formaldehyde to the total quantity of urea is (2.4-3.0):1, (1.3-1.5):1 and (0.8-1.0):1, respectively. The glue preparation technology adopts a weak base-mediate strong acid-weak base reaction path, so that the raw materials sequentially react in three media with pH being 8.0-8.5, 2.5-3.5 and 8.0-8.5, respectively, and finally the urea resin adhesive level MDF_E1 is obtained. Through the production technology of the medium-density fiberboard, disclosed by the invention, an effect of reducing formaldehyde release amount can be reached without adding additives to the hot grinding technology or performing post-ammonia water treatment.