Carbon quantum dots co-doped with iron and nitrogen ([email protected]) were synthesized by using Passiflora edulis Sims (P. edulis) as a precursor. The [email protected] exhibit outstanding peroxidase-mimetic activity owing to successful doping with iron resulting in a behavior similar to that of iron porphyrins. In the presence of H2O2, the [email protected] catalyze the oxidation of the peroxidase substrate 3,3′,5,5′-tetramethylbenzidine (TMB) with a color change from colorless to blue. The blue oxidation product has a characteristic absorption peaking at 652 nm. A colorimetric assay was worked out for uric acid (UA) that measures the hydrogen peroxide produced during oxidation of UA by uricase. Response is linear in the 2–150 μM UA concentration range, and the limit of detection is 0.64 μM. The method was applied to the determination of UA in (spiked) urine, and recoveries ranged from 92.0 to 103.4%. Graphical abstractSchematic representation of the fabrication of iron and nitrogen co-doped carbon dots ([email protected]) using Passiflora edulis Sims as carbon-based materials. First, uric acid (UA) was oxidized to generate H2O2 by uricase. Then, the [email protected] catalyzed the oxidation of 3,3′,5,5′-tetramethylbenzidine (TMB) to form blue-colored oxidized TMB (oxTMB) in the presence of H2O2. UA can be quantified based on the theory.