The invention discloses a multi-functional window with the automatic control of opening in multiple directions, relating to the technical field of windows. The window comprises a window frame, an upper frame body and baffle plates. The inner side of the window frame is equipped with glass windows, the surfaces of the window leaves are coated with hydrophobic layers, the upper frame body is arranged above the window frame, the baffle plates are installed in front of the glass windows, the upper frame body is internally provided with hydraulic cylinders, screw rods are arranged under the hydraulic cylinders, fixed frames are fixed under the screw rods, cleaning brushes are installed under the fixed frames, the upper and lower sides of the glass windows are provided with sliding rails, rotating shafts are fixed to the inner sides of the middle parts of the baffle plates, reinforcing ribs are welded to the outer sides of the baffle plates, the upper side of the front of the upper frame body is equipped with a top plate, the left end of the top plate is provided with a movable shaft, and the lower side of the left of the top plate is equipped with an electric pushing rod. The multi-functional window has the advantage that the automatic cleaning of the glass windows is facilitated by setting the cleaning brushes.