5-hydroxymethylfurfural (HMF) is an important platform molecule in the synthesis of various chemicals and materials. Herein, we reported a simple and effective dehydration of glucose-based carbohydrates to HMF in a biphasic system containing cyclopentyl methyl ether as the organic phase and AlCl3 with minute amounts of HCl as co-catalysts. The results showed that the mixed catalysts had a positive synergistic catalytic effect on glucose conversion to HMF compared with single AlCl3 or HCl catalyst. For glucose, the highest HMF yield of 54.5% was achieved at 175 °C for 20 min. More importantly, the optimal catalytic system was so efficient that it achieved one of the highest reported yields of HMF (30.5%) directly from corncob acid hydrolysis residues. Thus, the catalytic system can become a promising route for effective utilization of biomass in future biorefineries.