In contemporary biomedical research, the zebrafish (Danio rerio) is increasingly considered a model system, as zebrafish embryos and larvae can (potentially) fill the gap between cultured cells and mammalian animal models, because they can be obtained in large numbers, are small and can easily be manipulated genetically. Given that capillary electrophoresis–mass spectrometry (CE–MS) is a useful analytical separation technique for the analysis of polar ionogenic metabolites in biomass‐limited samples, the aim of this study was to develop and assess a CE–MS‐based analytical workflow for the profiling of (endogenous) metabolites in extracts from individual zebrafish larvae and pools of small numbers of larvae. The developed CE–MS workflow was used to profile metabolites in extracts from pools of 1, 2, 4, 8, 12, 16, 20, and 40 zebrafish larvae. For six selected endogenous metabolites, a linear response (R2 > 0.98) for peak areas was obtained in extracts from these pools. The repeatability was satisfactory, with inter‐day relative standard deviation values for peak area of 9.4%–17.7% for biological replicates (n = 3 over 3 days). Furthermore, the method allowed the analysis of over 70 endogenous metabolites in a pool of 12 zebrafish larvae, and 29 endogenous metabolites in an extract from only 1 zebrafish larva. Finally, we applied the optimized CE–MS workflow to identify potential novel targets of the mineralocorticoid receptor in mediating the effects of cortisol.