Relative humidity (RH) is one of the most important factors that deserve intensive study because of its impact on many aspects of life. In this work humidity sensor based on carbon nitride / graphene quantum dots (g-C3N4/GQDs) nanocomposites have been developed. The structure, morphology and composition properties of the g-C3N4/GQDs were investigated and analyzed by XRD, HR-TEM, FTIR, UV–Vis, Raman, XPS and BET surface area. The average particle size of GQDs was estimated from XRD to be 5 nm and confirmed using HRTEM. The HRTEM images prove that the GQDs are attached to the external surface of the g-C3N4. The measured BET surface area was found to be 216 m2/g, 313 m2/g, and 545 m2/g for GQDs, g-C3N4, and g-C3N4/GQDs respectively. The d-spacing and crystallite size were estimated from XRD and HRTEM and found in a good matching. The humidity sensing behavior of g-C3N4/GQDs was measured in a wide span of humidity from 7% up to 97% RH under different testing frequencies. The obtained results demonstrate good reversibility and fast response/recovery time. The implemented sensor exhibits a great application prospect in humidity alarm devices, automatic diaper alarms, and breath analysis, which have advantages such as strong anti-interference capability, low cost, and easy to use.