The invention provides a self-cleaning livestock feeding trough, which includes a protective plate, a sliding frame, a track chain, a water pipe, a power cord, a movable block, a nozzle, an electric motor, a motor runner, a water flow control valve, and an electric motor. Forward and reverse switch, water feeding control valve, settling bucket and filter screen, a water inlet is opened on the front surface of the main body, and the drain pipe is installed on the right end surface of the main body, which is beneficial to the turbid water flow generated by the feeding tank. Precipitation filtration, to avoid large impurities inside the water flow from clogging the pipeline and affecting the cleaning effect. Specifically, when the water flow enters the sedimentation tank, the denser substances inside the water flow fall into the bottom of the sedimentation tank to prevent the external environment from being polluted. The outlet of the sedimentation tank is installed The special filter screen filters the less dense substances in the water flow to avoid pipe blockage.