The aim of this study was to develop and to validate a toxicological untargeted screening relying on LC-HRMS in meconium including the detection of the four main classes of drugs of abuse (DoA; amphetamines, cannabinoids, opioids and cocaine). The method was then applied to 29 real samples. Analyses were performed with a liquid chromatography system coupled to a benchtop Orbitrap operating in a data-dependent analysis. The sample amount was 300 mg of meconium extracted twice by solid phase extraction following two distinct procedures. Raw data were processed using the Compound Discoverer 3.2 software (Thermo). The method was evaluated and validated on 15 compounds (6-MAM, morphine, buprenorphine, norbuprenorphine, methadone, EDDP, amphetamine, MDA, MDMA, methamphetamine, cocaine, benzoylecgonine, THC, 11-OH-THC, THC-COOH). Limits of detection were between 0.5 and 5 pg/mg and limits of identification between 5 and 50 pg/mg. Mean matrix effect was between −79 and −19% (n = 6) and mean overall recovery between 18 and 73% (n = 6) at 100 pg/mg. The application allows the detection of 88 substances, including 47 pharmaceuticals and 15 pharmaceutical metabolites, cocaine and its metabolites, THC and its metabolites, and natural (morphine, codeine) and synthetic (methadone, buprenorphine, tramadol, norfentanyl) opioids. This method is now used routinely for toxicological screening in high-risk pregnancies