The invention relates to a building material for a colored bicycle track with anti-slip and waterproof functions and a preparation method. The raw material components include: 5-10 parts by weight of epoxy resin, 5-50 parts by weight of fly ash, 10-15 parts by weight of titanium dioxide, 10-30 parts by weight of quartz sand, 5-20 parts by weight of bauxite, diatomite 5-30 parts by weight, 0.5-10 parts by weight of water glass, 1-10 parts by weight of magnesium oxide, 1-3 parts by weight of sodium lignosulfonate, 30-80 parts by weight of white cement, 1-5 parts by weight of boric acid and 30 parts by weight of water ~80 parts by weight. The building material provided by the invention is green and environmentally friendly, does not contain volatile solvents, has waterproof, anti-skid, wear-resistant, and corrosion-resistant functions, and can effectively improve driving safety and comfort; and is easy to construct, easy to maintain, and has excellent durability. Long service life, not only can be used for colored non-slip pavement, but also can be used as bridge deck waterproof material, with obvious economic benefits and high cost performance.