The invention relates to a preparation method of an edible ink. Development of present ink which is directly printed on surface of food is not mature. The preparation method of the edible ink comprises the following steps: placing a binder, purified water, monascus red pigment or green pigment, diluent, thickener, emulsifier, stabilizer, defoamer and preservative in part by weight into a container, and mixing the binder, purified water, monascus red pigment or green pigment, diluent, thickener, emulsifier, stabilizer, defoamer and preservative under the condition of a constant temperature of 70 to 90 DEG C to ensure that edible raw materials are primarily mixed; placing the edible raw materials which are primarily mixed into a food mixing machine for mixing for 10 to 30 minutes at a speed of 30 to 50 revolutions per minute; then regulating the rotation speed of the food mixing machine, and remixing for 30 to 40 minutes at a speed of 80 to 120 revolutions per minute to ensure that the edible raw materials are fully mixed to obtain the edible ink. The preparation method of the edible ink has simple process, and can realize industrial application. The prepared edible ink has excellent print adaptability, wet friction resistance, good adhesive force, and can be directly printed on the surface of the food.