A common method to quantify chronic stress is the analysis of stress markers in keratinized matrices such as hair or nail. In this study, we aimed to validate a sensitive liquid chromatography–tandem mass spectrometry (LC–MS/MS) method for the combined quantification of steroid hormones and endocannabinoids (eCBs) in the keratinized matrix nail. Furthermore, we aimed to investigate the suitability of the nail matrix for the detection of these stress markers in a pilot study. An LC–MS/MS method was used for the simultaneous identification and quantification of four eCBs (2-arachidonoylglycerol (2-AG), anandamide (AEA), oleoylethanolamide (OEA), palmitoylethanolamide (PEA)) and five steroid hormones (cortisol, cortisone, androstenedione, progesterone, testosterone) in human nails using a surrogate analyte method for each analyte. The method was validated in terms of selectivity, response factor, linearity, limit of quantification (LOQ), precision, accuracy, matrix effect, recovery, robustness, and autosampler stability. Nail samples were extracted for 1 h with methanol following a clean-up with a fully automated supported liquid extraction (SLE). The influence of nail weight on the quantification was investigated by using 0.5–20 mg of nail sample. As a proof of concept, nail samples (N = 57) were analyzed from a cohort representing newborns (1 month old), children (between 1 and 10 years), and adults (up to 43 years). It could be shown that the established workflow using a 1 hour extraction and clean-up by SLE was very robust and resulted in a short sample preparation time. The LC–MS/MS method was successfully validated. Matrix effects with ion enhancement occurred mainly for 2-AG. Sample weights below 5 mg showed variations in quantification for some analytes. Certain analytes such as PEA and progesterone could be accurately quantified at a sample weight lower than 5 mg. This is the first study where steroids and eCBs could be simultaneously detected and quantified in infant and adult nails. These results show that nails may serve as an alternative keratinized matrix (compared to hair) for the retrospective monitoring of cumulative eCB and steroid hormone levels. The combined assessment of eCBs and steroids from nails could provide a new approach to gain new insights into stress exposure in newborns and adults.Graphical abstract