The invention discloses a preparation method of a nitrogen-doped graphene material based on 5, 5'-diamino-3, 3'-1, 2, 4-triazole. The method comprises the following steps: dispersing graphene into N,N '-dimethylformamide, adding an N, N'-dimethylformamide solution of 5, 5 '-diamino-3, 3'-1, 2, 4-triazole, heating at 50-100 DEG C for 30-60 minutes, cooling to 0-4 DEG C, and drying to obtain a graphene-coated 5, 5 '-diamino-3, 3'-1, 2, 4-triazole eutectic; grinding 5, 5 '-diamino-3, 3'-1, 2, 4-triazole eutectic into powder, and heating the powder at 500-800 DEG C for 3-5 hours to obtain a nitrogen-doped graphene material; according to the preparation method, the graphene is uniformly coated on the surface of the 5, 5 '-diamino-3, 3'-1, 2, 4-triazole crystal, and additives such as an adhesive are not needed, so that the surface performance of the 5, 5 '-diamino-3, 3'-1, 2, 4-triazole crystal is completely maintained.