Spores of Bacillus anthracis are highly resistant and can survive conditions used for food preservation. Sample size and complexity represent the major hurdles for pathogen detection in food-related settings. Eleven commercial DNA extraction kits were evaluated for detection of B. anthracis spores by quantitative real-time PCR (qPCR) in dairy products. DNA was extracted from serial dilutions of B. anthracis spores in milk powder, cream cheese, whole milk and buttermilk. Three kits (QIAamp DNA mini kit, Invisorb Food kit I and II) were determined to produce the lowest limit of detections (LODs) with equally good performance. These kits employed lysozyme and proteinase K treatments or proteinase K in combination with cethyltrimethylamonium bromide-mediated (CTAB) precipitation of cell debris for cell disruption and DNA release. The LODs for these three kits were determined as 10 2 spores/ml of distilled water, 10 3 spores/20mg of powdered milk and 10 4 spores/100mg of cream cheese, respectively. Performance testing of the QIAamp DNA mini kit demonstrated a good reproducibility and appropriate detection limits from 10 3 /ml for butter milk, 10 4 /ml for whole milk and 10 4 /100mg for low fat cream cheese. However, DNA extraction efficiency was strongly inhibited by cream cheese with higher fat contents with an increased LOD of 10 6 /100mg spores. This study demonstrated that qPCR detection depends directly on the appropriate DNA extraction method for an individual food matrix and bacterial agent.