Introduction: Polar metabolites in Caenorhabditis elegans (C. elegans) have predominantly been analyzed using hydrophilic interaction liquid chromatography coupled to mass spectrometry (HILIC-MS). Capillary electrophoresis coupled to mass spectrometry (CE-MS) represents another complementary analytical platform suitable for polar and charged analytes. Objective: We compared CE-MS and HILIC-MS for the analysis of a set of 60 reference standards relevant for C. elegans and specifically investigated the strengths of CE separation. Furthermore, we employed CE-MS as a complementary analytical approach to study polar metabolites in C. elegans samples, particularly in the context of longevity, in order to address a different part of its metabolome. Method: We analyzed 60 reference standards as well as metabolite extracts from C. elegans daf-2 loss-of-function mutants and wild-type (WT) samples using HILIC-MS and CE-MS employing a Q-ToF-MS instrument. Results: CE separations showed narrower peak widths and a better linearity of the estimated response function across different concentrations which is linked to less saturation of the MS signals. Additionally, CE exhibited a distinct selectivity in the separation of compounds compared to HILIC-MS, providing complementary information for the analysis of the target compounds. Analysis of C. elegans metabolites of daf-2 mutants and WT samples revealed significant alterations in shared metabolites identified through HILIC-MS, as well as the presence of distinct metabolites. Conclusion: CE-MS was successfully applied in C. elegans metabolomics, being able to recover known as well as identify novel putative biomarkers of longevity.