The invention discloses a cyclodextrin glycosyl transferase with improved maltodextrin substrate specificity and a preparation method thereof and belongs to the fields of genetic engineering and enzyme engineering. According to the invention, for CGTase derived from peanibacillus macerans, lysine at a 47th site, tyrosine at a 89th site, asparaginate at a 94th site and aspartic acid at a 196th site are respectively mutated into leucine K47L, phenylalanine Y89F, praline N94P and tyrosine D196Y, so that AA-2G yields are respectively increased by 30.7%, 10.9%, 10.0% and 31.7%. Complex mutation is carried out on the mutant strains to obtain double mutants namely K47L/Y89F, K47L/N94P, K47L/D196Y, Y89F/N94P, Y89F/D196Y and N94P/D196Y, three-point mutants namely K47L/Y89F/N94P, K47L/Y89F/D196Y, K47L/N94P/D196Y and Y89F/N94P/D196Y and a four-point mutant namely K47L/Y89F/N94P/D196Y. Yields of AA-2G produced by the mutants while maltodextrin is utilized as a glycosyl donor are respectively increased by 42.6%, 11.0%, 37.6%, 43.6%, 43.6%, 41.6%, 44.5%, 50.5%, 20.8%, 35.6% and 64.4%. Compared with the wild type CGTase, the mutants is more beneficial to production of the AA-2G while the maltodextrin is utilized as the glycosyl donor.