The present application relates to a method of preparing a bile acid derivative, or a pharmaceutical acceptable salt, solvate, or amino acid conjugate thereof, comprising reacting Compound 2 with paraldehyde to form Compound 3:.本案係有關一種膽酸衍生物,或其醫藥上可接受之鹽、溶劑合物,或胺基酸軛合物之製備方法,該方法包含化合物2與三聚乙醛反應而生成化合物3:。