The invention relates to an easy-to-install hydroelectric power generation equipment with a cleaning function, which includes a connection mechanism, a water tank, a filter mechanism, a processor and a power generation mechanism. The connection mechanism includes a connecting pipe, a water inlet pipe, a first cross bar, a moving assembly, and a moving plate , vertical rods and several fastening components, the fastening components include orientation rods, moving blocks, clamping blocks and support rods, the filter mechanism includes motors, discs, filter screens, fixed rings, waste discharge pipes, nozzles, water pumps, water pipes and The collection component, the easy-to-install hydroelectric power generation equipment with cleaning function, can easily realize the firm connection between the connection pipe and the drain pipe of the user's domestic water through the connection mechanism, so that the domestic water can be easily passed into the water tank, and the domestic water can be filtered by the filter mechanism. And the filter screen is cleaned in time to ensure that the filter screen is unblocked, and the impurities in the water are filtered to ensure the normal operation of the power generation mechanism and improve the practicability of the equipment.