We used solid acid and solid base we made ourselves prepared 5-hydroxymethylfurfural (5-HMF) from glucose. Researched on the effects of quality ratio of solid acid and solid base, substrate concentration, volume ratio of two phases, reaction temperature and reaction time on 5-HMF yield. Results were shown that the conditions quality ratio of solid acid and solid base was 3: 4, substrate concentration was 50%, volume ratio of water phase and organic phase was 1: 2, reaction temperature was 120 °C, time for 12 h were the best that 5-HMF yield reached 48.39%.