Different kinds of carbon nanomaterials, free carbon (C free ), graphene, and Ncontaining graphene (NG), in single-source-precursors-derived SiCN ceramics, were in situ generated by modifying polysilazane with divinylbenzene, dopamine hydrochloride and melamine, respectively. Adjusting the carbon source brings phase structure and electromagnetic wave absorption (EMA) properties differences of SiCN/C ceramics. In situ C free enhances the EMA capacity of SiCN ceramics by improving their electrical conductivity of 9.2 × 10 −4 S/cm. The electrical conductivity of SiCN ceramics with 2D graphene sheets balloons to 2.5 × 10 −3 S/cm, causing poor impedance match thus leading to a worse EMA performance. In situ NG in SiCN ceramics has a low electrical conductivity of 5.6 × 10 −8 S/cm, making for excellent impedance match. The corrugated NG boosts dielectric loss, interfacial, and dipole polarization. NG-SiCN nanocomposites possess an outstanding EMA performance with RL min of −61.08 dB and effective absorption bandwidth of 4.05 GHz, which are ∼2.4 times lower and ∼4 times higher than those of SiCN, respectively.