Helicobacter pylori infects approximately half of the human population and is the main cause of various gastric diseases. This pathogen is auxotrophic for cholesterol, which it converts upon uptake to various cholesteryl α-glucoside derivatives, including cholesteryl 6′-acyl and 6′-phosphatidyl α-glucosides (CAGs and CPGs). Owing to a lack of sensitive analytical methods, it is not known if CAGs and CPGs play distinct physiological roles or how the acyl chain component affects function. Herein we established a metabolite-labelling method for characterising these derivatives qualitatively and quantitatively with a femtomolar detection limit. The development generated an MS/MS database of CGds, allowing for profiling of all the cholesterol-derived metabolites. The subsequent analysis led to the unprecedented information that these bacteria acquire phospholipids from the membrane of epithelial cells for CAG biosynthesis. The resulting increase in longer or/and unsaturated CAG acyl chains helps to promote lipid raft formation and thus delivery of the virulence factor CagA into the host cell, supporting the idea that the host/pathogen interplay enhances bacterial virulence. These findings demonstrate an important connection between the chain length of CAGs and the bacterial pathogenicity.