Background: Biliary tract cancer is a highly lethal malignancy with poor clinical outcome. Accumulating evidence indicates targeted therapeutics may provide new hope for improving treatment response in BTC, hence better understanding the genomic profile is particularly important. Since tumor tissue may not be available for some patients, a complementary method is urgently needed. Circulating tumor DNA (ctDNA) provides a noninvasive means for detecting genomic alterations, and has been regarded as a promising tool to guide clinical therapies. Methods: Next-generation sequencing of 150 cancer-related genes was used to detect gene alterations in blood-derived ctDNA from 154 Chinese patients with BTC. Genomic alterations were analyzed and compared with an internal tissue genomic database and TCGA database. Results: 94.8% patients had at least one change detected in their ctDNA. The median maximum somatic allele frequency was 6.47% (ranging 0.1–34.8%). TP53 and KRAS were the most often mutated genes. The frequencies of single nucleotide variation in commonly mutated genes in ctDNA were similar to those detected in tissue samples, TP53 (35.1 vs. 40.4%) and KRAS (20.1 vs. 22.6%). Pathway analysis revealed that mutated genes were mapped to several key pathways including PI3K-Akt, p53, ErbB and Ras signaling pathway. In addition, patients harboring LRP1B, TP53, and ErbB family mutations presented significantly higher tumor mutation burden. Conclusions: These findings demonstrated that ctDNA testing by NGS was feasible in revealing genomic changes and could be a viable alternative to tissue biopsy in patients with metastatic BTC.