The optimal dose of warfarin depends on polymorphisms in the VKORC1 (the vitamin K epoxide reductase complex subunit (1) and CYP2C9 (cytochrome P450 2C9) genes. To minimize the risk of adverse reactions, warfarin dosages should be adjusted according to results from rapid and simple monitoring methods. However, there are few pharmacogenetic-guided warfarin dosing algorithms that are based on large cohorts from the Chinese population, especially patients with atrial fibrillation. This study aimed to validate a pharmacogenetic-guided warfarin dosing algorithm based on results from a new rapid electrochemical detection method used in a multicenter study. Three SNPs (CYP2C9 *2, *3 and VKORC1 c.-1639G > A) were genotyped by electrochemical detection using a sandwich-type format that included a 3' short thiol capture probe and a 5' ferrocene-labeled signal probe. A total of 1285 samples from four clinical hospitals were evaluated. Concordance rates between the results from the electrochemical DNA biosensor and the sequencing test were 99.8%. The results for gene distribution showed that most Chinese patients had higher warfarin susceptibility because mutant-type and heterozygotes were present in the majority of subjects (99.4%) at locus c.-1639G > A. When the International Warfarin Pharmacogenetics Consortium algorithm was used to estimate therapeutic dosages for 362 patients with AF and the values were compared with their actual dosages, the results revealed that 56.9% were similar to actual dosages (within the 20% range). A novel electrochemical detection method of CYP2C9 *2, *3and VKORC1 c.-1639G > A alleles was evaluated. The warfarin dosing algorithm based on data gathered from a large patient cohort can facilitate the reasonable and effective use of warfarin in Chinese patients with AF.