The invention relates to a preparation method of a gradient porous metal organic framework ZIF (Zeolitic Imidazolate Framework)-8. The preparation method comprises the following steps of dissolving anorganic ligand 2-methylimidazole in deionized water, after the 2-methylimidazole is thoroughly dissolved, adding a polydiallyl dimethyl ammonium chloride solution, and uniformly agitating; dissolvinga divalent zinc slat in deionized water, thoroughly dissolving, then mixing with an organic ligand solution, and carrying out an agitation reaction to obtain suspension liquid; filtering or centrifugally separating the suspension liquid to obtain a solid product, washing with deionized water, and then drying, so that a ZIF-8 series material is obtained. Due to the control, to deprotonation balance and the growth process of a crystal, of the positive ions of polydiallyl dimethyl quaternary ammonium, the prepared ZIF-8 series material has microporous and mesoporous structures at the same time,further, is adjustable in mesoporous volume and stable in performance, and is wide in application prospect, and the preparation method disclosed by the invention is simple, convenient, easy and feasible, is green and pollution-free and is convenient to industrially operate.