Meconium drug testing can detect maternal drug use during the last 4 to 5 months of pregnancy. A negative result does not exclude the possibility that a mother used drugs during pregnancy.