Poly(triazine imide), a 2D extended carbon nitride network compound that is obtained from ionothermal synthesis in LiCl/KCl or LiBr/KBr salt melt has been known for over a decade. We now have investigated the formation process of this material starting from various triazine‐ and heptazine‐based precursors as well as the differences between ionothermal and conventional synthesis via thermal condensation. Independent of chosen starting material, melem (triamino‐ s ‐heptazine) is initially formed from the starting material as the imminent precursor to poly(triazine imide). We elucidate the impact of various different carbon nitride precursor compounds on the formation process, propose a mechanism for the back reaction of heptazines to triazines, and rationalize the occurring processes.