Patient-derived organoids (PDOs) have been proposed as a novel in vitro tumor model that can be applied to tumor research and drug screening. However, current tumor organoid models lack components of the tumor microenvironment, particularly tumor-associated macrophages(TAMs).We collected peripheral blood and tumor samples from 6 patients with extrahepatic cholangiocarcinoma(eCCA). Monocytes were induced into TAMs by cytokine and conditioned medium, and then co-cultured with tumor organoids. Our comprehensive analysis and comparison of histopathology and genomics results confirmed that this co-culture model can better capture intra- and inter-tumor heterogeneity retain the specific mutations of the original tumor. Drug sensitivity data in vitro revealed that gemcitabine and cisplatin are effective drugs for cholangiocarcinoma, but TAMs in the tumor microenvironment promote organoids growth and chemotherapy resistance. In conclusion, our organoid model of cholangiocarcinoma co-cultured with TAMs can not only shorten the model construction cycle, but also preserve the heterogeneity of original tumors to improve the accuracy of drug screening, and can also be applied to the researches of TAMs and tumors.