A tripodal amine (TPA) with −OH, N, and S donors is synthesized to functionalize a core−shell carbon dot composite (FCDs@SiO 2 -TPA) for sensing application. The TPA is characterized by spectroscopic and spectrometric techniques, and the composite is characterized by Fourier transform infrared spectroscopy (FT-IR), thermogravimetric analysis (TGA), Brunauer−Emmett−Teller (BET), scanning electron microscopy (SEM), transmission electron microscopy (TEM), and energy-dispersive Xray spectra (EDS) techniques. The composite has the ability to recognize mefenamic acid (MFA) selectively even in the presence of other drugs like ibuprofen sodium, acetylsalicylic acid, naproxen sodium, diclofenac sodium, and ketoprofen. It can also be used for the quantification of MFA by recording the emission quenching response of the sample at λ exc. = 350 nm and λ ems. = 460 nm (linear range = 1−8 μM and LOD = 197 nM). The density functional theory calculations and 1 H NMR titration suggest quenching of the emission signal due to photoinduced electron transfer via hydrogen bonding between the probe and MFA. The composite FCDs@ SiO 2 -TPA has been demonstrated as a reliable and cost-effective sensing probe for the detection of MFA in pharmaceutical formulations, water samples, and cow urine samples.