Sildenafil and its analogues, which are used as illegal additives in several dietary supplements, were isolated by liquid-liquid extraction and column chromatography and analyzed by fast-atom bombardment mass spectrometry (FAB-MS). Structures of sildenafil and its derivatives were elucidated by FAB-tandem mass spectrometry (MS/MS) with exact mass measurement in the positive-ion mode. To find structurally diagnostic ions for the sildenafil analogues, authentic sildenafil was preferentially analyzed by high-energy collision-induced dissociation (CID)-MS/MS. The CID-MS/MS spectra of [M+H](+) precursor ions resulted in the formation of numerous characteristic ions via a series of dissociative processes. The product ions formed by CID provided important information on the modification of the piperazine ring, the phenylsulfonyl group and the pyrazolopyrimidine moiety of sildenafil. By interpreting their MS/MS spectra, the chemical structures of sildenafil analogues isolated from dietary supplements could be elucidated and fragmentation patterns were proposed. To clearly identify the sidenafil derivatives in dietary supplements, some of the derivatives such as acetildenafil, homosildenafil and hydroxyhomosildenafil which are not commercially available were synthesized and compared with their MS/MS spectra. In addition, high-resolution mass measurements were conducted to obtain the elemental compositions of sildenafil and its analogues.