Provided is a water purification machine. The water purification machine comprises a housing and components of a composite filtration system containing RO membrane components, a booster water pump, a water inlet solenoid valve, a waste water solenoid valve and a low voltage switch, the composite filtration system, the booster water pump, the water inlet solenoid valve, the waste water solenoid valve and the low voltage switch are installed in the housing and connected to form a pure water preparation system. The water purification machine is characterized in that, a water cup component and a water sealing device matched with the water cup component are movably arranged on the housing; the water inlet of the water cup component is equipped with a self-closing valve and communicated with the pure water outlet of the pure water preparation system; a first control element matched with the bottom of the water cup component and a second control element matched with a float switch showing a water level in the water cup component are arranged on the housing to control turn-on or turn-off of the pure water preparation system. In the water purification machine, a pressure barrel is canceled, the water cup component is arranged, and water can be controlled according to requirements. A composite filter core is employed, thus the structure is simple and small in size, joints are decreased and water leakage risk is lowered. The layout is simple and reasonable, the material consumption is little, the cost is lowered greatly, the maintenance is convenient, the occupation space is small and freshness of water quality is guaranteed.