Open Access Article
Simon Joyson Galbao
,
Sherlin Samantha Menezes
,
Syeda Reha Khadri
and
Dharmapura H. K. Murthy
*
Department of Chemistry, Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal 576104, Karnataka, India. E-mail: murthy.dharmapura@manipal.edu
First published on 26th November 2025
Due to its metal-free polymeric nature, ease of synthesis using low-cost earth-abundant precursors and tunable optoelectronic properties, graphitic carbon nitride (GCN) is extensively used in solar fuel production. Despite two decades of extensive research, the fundamentals of the thermal polymerization process leading to the formation of GCN are inadequately understood. In this work, we employ cyanamide (CYN) and dicyandiamide (DCDA) precursors and systematically reveal the polymerization mechanism. Though CYN has half the amount of C and N compared with DCDA, it yielded virtually similar structural properties and a similar degree of conjugation that determines the energetic difference for π-to-π* fundamental (optical) transitions and photoexcited lifetimes. Detailed complementary analysis using thermal methods, along with quantifying the amount of NH3 released using the temperature-programmed desorption technique, offered unique insights into the polymerization process. Unlike previous notions, the results unambiguously demonstrate that GCN formation need not always release NH3 as a result of a thermal condensation reaction. Rather, it is possible that molecular rearrangement (dimerization and/or cyclization) of intermediate condensates can also play a major role in the formation of melamine, which is found to be an important intermediate. The obtained mechanistic insights into the thermodynamics of the polymerization process and its impact on optoelectronic properties and photoelectrochemical performance will aid the rational design of GCN to enhance the efficiency of solar energy conversion.
GCN can be easily synthesized via thermal condensation using a variety of cost-effective N-rich precursors like cyanamide (CYN),8 dicyandiamide (DCDA),9 melamine,10 urea,11 and thiourea.12 Although GCN has been extensively employed for a wide range of applications in the fields of energy and sustainability,13,14 its basic polymerization mechanism has scarcely been investigated and remains unclear. Specifically, depending on the precursor and its C and N content, how the polymerization process changes and the nature of intermediates need to be studied in detail. It has been widely proposed that the thermal condensation of DCDA and CYN proceeds through a sequence of key intermediates like melamine, melam, melem and melon, which eventually form heptazine-based GCN.15 However, probing how the formation of melamine, which is an important building block and functional unit of GCN, is impacted by precursor type and temperature is essential. Note that the degree of polymerization significantly affects defect formation in GCN and its optoelectronic properties, impacting a range of photoinduced processes such as charge photogeneration and transport and interfacial charge transfer. All these processes crucially impact the solar fuel production efficiency and can be tailored by the rational design of GCN; for this, a comprehensive understanding of the polymerization process plays a key role.
Similar to conducting polymers, π conjugation that is responsible for optical absorption and charge transport in GCN is offered by sp2-hybridized C and N atoms in the heptazine ring. The highest occupied molecular orbital (HOMO) in GCN consists of N 2p and N 2s orbitals with a minor contribution from C 2p and C 2s orbitals. The lowest unoccupied molecular orbital (LUMO) comprises C 2p and N 2p orbitals.16 Note that the polymerization process is key for controlling the degree of conjugation, which determines the charge delocalization length, optical absorption onset (the energy difference between π and π* orbitals) and the efficiency of charge transport. However, if the polymerization process is incomplete, unreacted intermediates (condensates) can potentially form N-vacancies that trap photogenerated charge carriers and thereby strongly influence the efficiency of photocatalytic reactions.17–19 In short, the efficiency of polymerization plays a critical role in extending the conjugation length (and, hence, the optical absorption onset) and in N-vacancy formation, thereby offering an avenue to tailor the optoelectronic properties of GCN and the solar energy conversion efficiency.
Extensive research over the last two decades has focused on the application of GCN in various types of photocatalytic reactions. However, there is no consensus on the thermal polymerization process that leads to the formation of GCN. For example, there is no information available and a lack of consensus on: (i) the chemical nature of the intermediates formed and their thermodynamic properties, (ii) how the polymerization process changes upon employing different precursors with altered C and N amounts, and (iii) whether the thermal polymerization process always involves NH3 release as a condensation byproduct. Several fundamental questions regarding GCN have been overlooked and need to be addressed. In this direction, we elucidate the polymerization mechanism for the formation of GCN from two widely used precursors—DCDA and CYN. The aim is to provide insights into how changing the precursor will impact the various intermediates formed during the polymerization process and the resulting optoelectronic, surface, photophysical and structural properties. Furthermore, a comprehensive correlation between these properties and the photoelectrochemical (PEC) activity of GCN is rationalised. To the best of our understanding, such a complementary and systematic investigation is the first of its kind, which enables us to offer unique insights into the intriguing polymerization process.
N stretching of heptazine units. The broad peak at around 3150 cm−1 is characteristic of N–H stretching of –NH/NH2 groups.23 Comparing the FTIR spectra indicates a similarity in basic chemical functionality between GCN-D and GCN-C samples.
Fig. 1c shows the optical absorption spectra of GCN-C and GCN-D measured using diffuse reflectance spectroscopy. The similar absorption onset (around 450 nm) for both GCN-C and GCN-D is attributed to the characteristic π-to-π* fundamental transition in GCN. However, GCN-C shows an additional absorption tail, which can be attributed to electron transitions from the HOMO to N-vacancies (which will be discussed later). Fig. S1 presents steady-state photoluminescence (PL) emission spectra of GCN-C and GCN-D. The comparable emission spectra indicate identical radiative recombination phenomena and energetic distributions of emissive states. Fig. 1d compares the tr-PL transients of GCN-C and GCN-D. The similarity in average lifetime (Table S2) and transient decay behaviour indicates that the radiative deactivation mechanism of the photoexcited states in both GCN-C and GCN-D samples is similar.
C–N (C2 sites), respectively.24 The peak area percentages and positions remain similar (Table S3) with no significant changes. Fig. 2d compares the valence band XPS (VB-XPS) spectra of GCN-C and GCN-D samples. The absence of a significant shift (<0.05 eV) in the VB onset between the samples indicates that the carrier concentration (indirectly, the Fermi level position within the band gap) does not change. In addition, the similarities of the spectral profiles hint that the distribution of states in both the GCN-C and GCN-D samples is comparable.
![]() | ||
| Fig. 2 Deconvoluted high-resolution C 1s core-level XPS spectra of (a) GCN-D and (b) GCN-C. (c) The structure of GCN highlighting C1 and C2 sites and (d) VB-XPS spectra of GCN-D and GCN-C. | ||
To study the electronic nature of N-vacancies in the synthesized samples, N 1s XPS and electron paramagnetic resonance (EPR) analyses were carried out. Fig. 3a and b present the N 1s core-level XPS spectra, which were deconvoluted into three peaks at 398.9, 400.3 and 401.4 eV, ascribed to C
N–C (N1 sites), N–(C)3 (N2 sites) and –NHx (N3 sites), respectively.25 The N1/N2 peak area ratios from the deconvoluted N 1s spectra elucidate the sites of N-vacancies (either N1 or N2 sites). The N1/N2 peak area ratios were found to be 3.01 and 5.41 for GCN-C and GCN-D, respectively. A decrease in the ratio proves that N-vacancies are present at N1 sites in heptazine units. Furthermore, Fig. 2d illustrates the EPR spectra of the synthesized samples. A sharp signal was observed at g = 2.004, which is attributed to unpaired electrons at sp2-hybridized C due to adjacent N-vacancies at two-coordinated nitrogen sites (N1 sites in Fig. 2c).26 The higher signal intensity for GCN-C indicates a relatively higher concentration of N-vacancies compared to GCN-D. The N 1s XPS and EPR analyses collectively confirm the presence of a higher concentration of N-vacancies in GCN-C, which also results in the additional optical absorption tail (Fig. 1c).
![]() | ||
| Fig. 3 Deconvoluted high-resolution N 1s core-level XPS spectra of (a) GCN-D and (b) GCN-C. (c) The structure of GCN highlighting N1, N2 and N3 sites and (d) EPR spectra of GCN-D and GCN-C. | ||
Table 1 compares the results obtained for GCN-C and GCN-D from all analysis conducted. Despite changing the precursor from CYN to DCDA, which has half the amount of C and N, the bulk of the optoelectronic properties remain virtually similar. One of the most striking observations is the similar optical absorption onset at around 450 nm for both samples. This means that the degree of extended conjugation leads to an energetic difference between π and π* orbitals of around 2.75 eV in both GCN-C and GCN-D. A minor yet significant 12% increase in the N-vacancy concentration for GCN-C is noticed compared to GCN-D. This observation agrees with the pronounced tail-state absorption of GCN-C between 450 and ∼560 nm, which is attributed to electron transition from the HOMO to unoccupied N-vacancies below the LUMO (transition T2 in Fig. 1c). In short, notwithstanding the precursor and C/N content, most of the properties (structural and optoelectronic properties and excited-state behaviour) remain similar. In the following discussion, insights into such intriguing behaviour will be detailed by invoking distinctive polymerization processes that can occur.
| Similarities noticed | |
|---|---|
| The bulk structural integrity revealed from XRD | GCN-D ≈ GCN-C |
| The fundamental π-to-π* energy difference from the optical absorption onset | GCN-D ≈ GCN-C |
| The photoexcited state decay (lifetime) behaviour from tr-PL analysis | GCN-D ≈ GCN-C |
| The chemical functionality derived from FTIR | GCN-D ≈ GCN-C |
| The C constituents estimated from XPS | GCN-D ≈ GCN-C |
| The valence band onset from XPS | GCN-D ≈ GCN-C |
| Differences observed | |
| The N-vacancy concentration deduced from XPS and EPR | GCN-C > GCN-D |
| The minor tail-state optical absorption from 450 to ∼560 nm | GCN-C > GCN-D |
Let us first understand GCN formation from the DCDA precursor, which is now discussed. From DSC analysis of the precursor (Fig. 4a), the endothermic peak for DCDA at 207 °C corresponds to its melting, which is not accompanied by significant weight loss, as deduced from TGA (Fig. 4b). The prominent exothermic peak at 248–262 °C is ascribed to the cyclization of DCDA to form melamine. To confirm this assignment, when pristine melamine was studied using DSC, the exothermic peak at around 250 °C was absent (Fig. S3). Furthermore, the melting of melamine resulted in an endothermic peak at around 328–343 °C. Finally, the condensation of melamine into melem, which requires additional thermal energy, is evidenced by the endothermic peak at 394 °C. Previous studies predicted the release of NH3 during the polymerization of DCDA,29 and Fig. 4c shows significant release of NH3 from DCDA at around 250 °C. As seen in TGA and DSC analysis, the peak at 250 °C is attributed to the formation of melamine. This similarity indicates that DCDA follows a widely adopted polymerization pathway to form melamine with the release of NH3. Based on these experimental observations, a polymerization mechanism for DCDA is proposed in Fig. 4e. According to this scheme, two molecules of DCDA initially react by nucleophilic attack, further leading to cyclisation and subsequent resonance stabilization to form melamine at around 248–262 °C. This step will eventually lead to the removal of carbodiimide, which decomposes to release NH3, as confirmed by NH3-TPD analysis (Fig. 4c).
GCN formation from the CYN precursor is proposed to occur as follows. The endothermic peak at 44 °C (absent for DCDA) corresponds to the melting of CYN, followed by an exothermic peak between 170 and 174 °C, which is attributed to the dimerization of CYN to form DCDA.30 This latter process is also found to be accompanied by notable weight loss in the TGA scan (Fig. 4b). Upon the formation of DCDA, similar reactions are followed to form melamine. Comparing the thermal profiles of CYN and DCDA above 248 °C (Fig. 4a and b), similar GCN formation is expected from both precursors once melamine is formed. This observation suggests that melamine serves as the key intermediate and structural building block in the formation of GCN. Interestingly, unlike DCDA, the NH3-TPD profile of CYN shows that a significantly lower amount of NH3 is released. This indicates that the polymerization pathway differs in the case of CYN up until the formation of melamine.
Based on this experimental evidence, we propose a detailed mechanism for the formation of melamine from CYN. The lone pair of electrons in the amine group of CYN attacks the electrophilic centre of another adjacent CYN molecule. Further rearrangements and tautomerisation lead to the formation of DCDA (170–174 °C). The interaction of DCDA formed at 170–174 °C with other CYN molecules results in further cyclisation, leading to melamine formation. This set of reactions mainly involves rearrangements and thus does not produce significant byproducts, corroborating that a negligible amount of NH3 is released, as confirmed by NH3-TPD analysis.
It is essential to understand the effect of the yield of GCN upon changing the precursor when commenting on the optoelectronic properties. The GCN yields obtained from CYN and DCDA precursors were found to be 42.6 and 50.8%, respectively. For both GCN-C and GCN-D, the fundamental π-to-π* transition at ∼450 nm is unaltered. This means that despite differences in the GCN yield and CYN having half the amount of C/N compared to DCDA, a minimum number of melamine units subsequently polymerized to form electronically connected functional heptazine units to endow the materials with a sufficient π-conjugation length. Thus, preserving the C and N content and not allowing the release of NH3 seems to be key for obtaining a virtually similar π-to-π* transition at ∼450 nm and functionality in GCN.
In our earlier discussion, the optoelectronic properties of GCN samples derived from both precursors were found to be virtually similar. To further evaluate these observations, the PEC performances of GCN-C and GCN-D are compared. Fig. 5a shows the CV data from GCN-D and GCN-C. Both samples exhibit similar CV profiles, with a higher current response on the cathodic side compared to the anodic side, demonstrating their potential for the H2 evolution reaction in agreement with earlier reports.31 To confirm the cathodic behaviour, i.e., that electrons are indeed the active species, CV experiments were conducted in the presence of H2O2, as depicted in Fig. 5b. The threefold enhancement in the cathodic current corroborates the notion that electrons are indeed involved in the probed electrochemical reaction. Fig. 5c and d show increment in photocathodic current by a factor of 1.23 and 1.09 for GCN-D and GCN-C samples, respectively. The electrochemically active surface areas (ECSAs) of GCN-D and GCN-C are 1.20 and 1.29 cm2 (Fig. S4), respectively. This suggests that both samples have similar ECSAs. However, the magnitude of the photocathodic current of GCN-D is slightly higher compared to GCN-C, which may indirectly be attributed to an increased concentration of in-gap unoccupied N-vacancies that can potentially trap photogenerated electrons, leading to their inefficient migration towards the interface, thereby causing a marginal reduction in the photocathodic current of GCN-C compared to GCN-D. The chronoamperometry measurements shown in Fig. 5e indicate the prolonged stability of both these photoelectrodes measured up to one hour under light and bias. From a collective comparison of the data in Fig. 5, it is essential to note that both GCN-C and GCN-D, despite being formed from two different precursors via distinct polymerization mechanisms and notwithstanding the amount of NH3 released, demonstrate comparable PEC performances.
Though the polymerization mechanism presented here is related to heptazine-based GCN, a similar model may well be applicable in other classes of carbon nitrides, such as poly(heptazine imides) (PHIs) and poly(triazine imides) (PTIs). These newly emerging families of 2D photocatalysts based on C and N have attracted significant attention for overall water splitting,32 CO2 reduction,33 NH3 production34 and H2O2 production.35 These systems feature a delocalized π-electron system with triazine or heptazine units linked by imide groups and often require the use of eutectic salt melts with precursors to realize high performance.36 However, it is unclear how polymerization happens in these systems, which significantly impacts the photocatalytic performance. The new approach presented here may also be applied to elucidate correlations between polymerization mechanisms and photocatalytic activity. Such insights are essential when designing these materials to enhance the solar-to-chemical energy conversion efficiencies of these promising low-cost photocatalysts.
| This journal is © The Royal Society of Chemistry 2025 |