The invention discloses an environment-friendly plugging agent for drilling fluid, which is prepared from the following raw materials in parts by weight: 40-55 parts of modified starch, 20-30 parts of lignocellulose, and 5-15 parts of antioxidant , 3-10 parts of nano-calcium carbonate and 15-30 parts of dispersant, wherein the antioxidant is 2,5-di-tert-butyl hydroquinone, didodecyl thiodipropionate and hindered phenolic antioxidant One or more of the oxygen agents. The invention also discloses a method of an environment-friendly plugging agent for drilling fluid, which is characterized in that it comprises the following steps: stirring the modified starch and lignocellulose, mixing evenly, and then adding a dispersant, at 65-90°C Stir at high temperature for 90-120min, then add nano-calcium carbonate, stir for 30-50min, heat up to 85-115°C, add antioxidant, stir for 1-1.5h, then cool down to 80±5°C, and keep warm at this temperature React for 4-5 hours, pulverize, and pass through a 60-80 mesh sieve to obtain an environmentally friendly plugging agent for drilling fluid. The invention has the advantages of environmental protection, good plugging effect and low fluorescence intensity.