Intrahepatic cholangiocarcinoma (ICC) is an aggressive malignancy, and there is a need for effective systemic therapies. Gene expression profile-based analyses may allow for efficient screening of potential drug candidates to serve as novel therapeutics for patients with ICC. The RNA expression profile of ICC and normal biliary epithelial cells were downloaded from the Gene Expression Omnibus (GEO) and The Cancer Genome Atlas (TCGA) databases. Function annotation and enrichment pathway analyses of the differentially expressed genes (DEGs) were finished using the Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) databases. A weighted gene co-expression network (WGCN) was constructed by WGCN analysis (WGCNA). Key genes from the DEGs and co-expression gene modules were analyzed to generate a protein–protein interaction (PPI) network. The association between the top 10 screened hub genes and the overall and disease-free survival of ICC patients was examined. The Connectivity Map (cMap) analysis was performed to identify possible drugs for ICC using hub genes. A total of 151 key genes were selected from the overlapping genes of 1287 GSE-DEGs, 8183 TCGA-DEGs and 1226 genes in the mixed modules. A total of 10 hub genes of interest (CTNNB1, SPP1, COL1A2, COL3A1, SMAD3, SRC, VCAN, PKLR, GART, MRPS5) were found analyzing protein–protein interaction. Using the cMap, candidate drugs screened with potential efficacy for ICC included three tyrosine kinase inhibitors (dasatinib, NVP-BHG712, tivantinib), two cannabinoid receptor agonists (palmitoylethanolamide, arachidonamide), two antibiotics (moxifloxacin, amoxicillin), one estrogen receptor agonist (levonorgestrel), one serine/threonine protein kinase inhibitor (MK-2206) and other small molecules. Key genes from network and PPI analysis allowed us to identify potential drugs for ICC. The identification of novel gene expression profiles and related drug screening may accelerate the identification of potential novel drug therapies for ICC.