The invention discloses a graphitic carbon nitride / polypyrrole composite photocatalytic material and a preparation method thereof. The technical process of the preparation method comprises the steps as follows: dispersing graphitic carbon nitride in a medium, stirring the medium at the temperature of 0-10 DEG C for 30 min to obtain a graphitic carbon nitride dispersing liquid, dropwise adding pyrrole into the graphitic carbon nitride dispersing liquid with stirring to obtain a mixed solution, stirring the mixed solution at the temperature of 0-10 DEG C for 30 min, dropwise adding a prepared initiator solution into the mixed solution, stirring the mixture at the temperature of 0-10 DEG C for reaction for 10 h, washing an obtained product for several times, and performing vacuum drying on the product to obtain the graphitic carbon nitride / polypyrrole composite photocatalytic material. The graphitic carbon nitride / polypyrrole composite photocatalytic material and the preparation method thereof have the advantages that the preparation technology is simple, the cost is low, and the large-scale industrial production is facilitated; and the graphitic carbon nitride / polypyrrole composite photocatalytic material has good environmental stability, has a better degradation effect on organic dye rhodamine B with certain concentration and can be applied to treatment of contaminated wastewater.