Background: Drug use during pregnancy is difficult to ascertain, and maternal reports are likely to be inaccurate. The aim of this study was to estimate the prevalence of illicit drug use among pregnant women by using maternal hair analysis.Methods: A toxicological analysis of hair was used to detect chronic recreational drug use during pregnancy. In 2007, 347 mother-infant dyads were included from the Hospital La Candelaria, Santa Cruz de Tenerife, Canary Islands (Spain). Data on socioeconomic characteristics and on substance misuse during pregnancy were collected using a structured questionnaire. Drugs of abuse: opiates, cocaine, cannabinoids and amphetamines were detected in maternal hair by immunoassay followed by gas chromatography-mass spectrometry for confirmation and quantitation.Results: Hair analysis revealed 2.6% positivity for cocaine and its metabolites. Use of cocaine during pregnancy was associated with unusual behaviour with potentially harmful effects on the baby.Conclusions: The results of the study demonstrate significant cocaine use by pregnant women in Canary Islands. The data should be used for the purpose of preventive health and policy strategies aimed to detect and possibly to avoid in the future prenatal exposure to drugs of abuse. © 2012 Joya et al; licensee BioMed Central Ltd.