Vitamins are essential micronutrients, but the mechanisms of vitamin chemoreception in animals are poorly understood. Here, we provide evidence that vitamin C doubles starvation resistance and induces egg laying in Drosophila melanogaster. Our behavioral analyses of genetically engineered and anatomically ablated flies show that fruit flies sense vitamin C via sweet-sensing gustatory receptor neurons (GRNs) in the labellum. Using a behavioral screen and in vivo electrophysiological analyses of ionotropic receptors (IRs) and sweet-sensing gustatory receptors (GRs), we find that two broadly tuned IRs (i.e., IR25a and IR76b) and five GRs (i.e., GR5a, GR61a, GR64b, GR64c, and GR64e) are essential for vitamin C detection. Thus, vitamin C is directly detected by the fly labellum and requires at least two distinct receptor types. Next, we expand our electrophysiological study to test attractive tastants such as sugars, carboxylic acids, and glycerol. Our analysis elucidates the molecular basis of chemoreception in sweet-sensing GRNs.