Cotija and Bola de Ocosingo are artisanal ripened cheeses produced in Mexico. Both are made with raw bovine milk from free-grazing cows and with no starter cultures. Unlike culture-based techniques, molecular methods for pathogen detection in food allow a shorter turnaround time, higher detection specificity, and represent a lower microbiological risk for the analyst. In the present investigation, we analyzed 111 cheese samples (95 Cotija and 16 Bola de Ocosingo) by qPCR (TaqMan®) after an enrichment-culture step specific to each foodborne bacterium. The results showed that 100% of the samples were free of DNA from Listeria monocytogenes, Brucella spp., Escherichia coli enterotoxigenic (ETEC), and O157:H7; 9% amplified Salmonella spp. DNA; and 11.7%, Staphylococcus aureus DNA. However, the threshold cycle (Ct) values of the amplified targets ranged between 23 and 30, indicating DNA from non-viable microorganisms. Plate counts supported this assumption. In conclusion, 100% of the cheeses analyzed were safe to consume, and the enrichment step before DNA extraction proved essential to discern between viable and non-viable microorganisms. Hygienic milking, milk handling, cheese manufacturing, and ripening are crucial to achieve an adequate microbiological quality of cheeses made with raw milk.