Lipids were extracted from cysticerci of the human tapeworm Taenia solium isolated from various infected pigs and analysed by two-dimensional thin-layer chromatography. These consisted of both alkali-labile and alkali-stable glycolipids, and phosphorylated non-glycosylated lipids. Because abundant and immunogenic glycolipids of parasites have been implicated in host–parasite interactions, the major lipid, an alkali-stable glycolipid, was purified by chromatography and its structure and antigenicity were determined. The structure of the major glycolipid of T. solium, GSL-I, was elucidated through a combination of chemical degradative methods, gas chromatography/mass spectrometry analyses of the degradative products, matrix-assisted-laser desorption/ionisation time of flight mass spectrometry and nuclear magnetic resonance spectroscopy. This analytical strategy led to the identification of a family of β-galactosylceramides composed mainly of phytosphinganine (2-hydroxylated sphinganine) N-acylated by C16–C24 fatty acids, with the predominance of 2-hydroxylated homologues. Enzyme-linked immunosorbent assay showed no correlation between the antibody titres directed against GSL-I in the human sera and the infective status; in contrast, a very high specific immunoreactivity and a sensitivity above 50% were observed when GSL-I was tested with cerebrospinal fluids from well characterised infected humans. Thus, although these results do not support the use of GSL-I alone as an antigen for the detection of neurocysticercosis, its use as part of an antigen cocktail for the diagnosis of the disease in cerebrospinal fluids merits further investigations.