NOVELTY - Preparation of carbon nitride material involves pyrolyzing non-metallic rodanide to give carbon nitride material.    USE - For preparing carbon nitride material (e.g. graphitic carbon nitride) (claimed) useful in applications such as wear and corrosion resistant coatings, electronics, optical coatings and in various composite materials to improve the properties of for example metal-, glass- and polymer-derived products; as additives (e.g. as composites) in metals, metal alloys, different kinds of polymer products and glass products; in manufacturing of electronics and semiconductors, household machinery and medical equipment, drilling, grinding and polishing products, in production of blue luminophore, in spray coating of computer hard disc, manufacturing of heavy duty tools used in metal processing, as solar cell materials. Useful for preparing carbon nitride material in different chemical and structural forms (e.g. alpha -, beta -, cubic-, pseudocubic-, graphitic- and amorphous forms) of carbon nitride. The graphitic carbon nitride can be useful as as fuel cell material and as a lubricant for difficult conditions; and in many new applications such as coating chemical process apparatus, creep-strengthening, and improving wear and/or hardness properties of different metal grades for different purposes etc.    ADVANTAGE - The method produces carbon nitride material that does not contain any traces of sulfur, and any other elements than carbon, nitrogen and hydrogen. The method produces carbon nitride materials having a carbon to nitrogen ratio of 3:4 in a simple and economically feasible manner. The method produces graphitic carbon nitride materials that can in turn be employed for preparing carbon nitride material in different chemical and structural forms including alpha -, beta -, cubic-, pseudocubic-, graphitic- and amorphous forms of carbon nitride (C3N4). The carbon nitride materials have outstanding properties and can be used in applications such as wear and corrosion resistant coatings, electronics, optical coatings and in various composite materials to improve the properties of metal-, glass- and polymer-derived products. The non-metallic rodanides such as ammonium rodanide can be employed efficiently and in economically efficient way in preparation of carbon nitride by simply pyrolysing the rodanides. Even when compared to pyrolysing alkali metal rodanides, the yields are increased and the production costs are decreased further. Since no alkali metal or metal traces are formed in the reaction, the product can be obtained without tedious washing sequences to remove the side-products. Compared to most of the known production methods, the production cost can be lowered by factor of 10-20 via using relatively cheap raw material and raising the yield of the ready-made end product. The method provides quantitative production of carbon nitride materials in particle form.