The invention discloses a pipeline type internal inflow grille decontamination machine which comprises a rack shell, a driving roller, a rail and a baffle, a first cavity is formed in the inner side of the rack shell, a second cavity is formed above the first cavity, transmission chains are arranged on the inner sides of the first cavity and the second cavity, and sieve plates are connected to theinner sides of the transmission chains; the driving roller is installed on the inner side of the sieve plate, a rolling shaft is connected to the inner side of the driving roller, a speed reducer isconnected to the rear portion of the rolling shaft, a driving motor is installed on the rear side of the speed reducer, the rail is arranged on the outer wall of the transmission chains, a water inletsealing plate is connected to the outer side of the rail, and a water inlet is formed in the inner side of the water inlet sealing plate. The baffle is installed at the upper end of the water outletsealing plate, and a mud receiving disc is arranged above the baffle. According to the machine, sewage can be conveniently decontaminated, sludge on the sieve plate can be conveniently cleaned, the intelligent effect of the equipment is improved through the controller, manual participation can be reduced, and safety is improved.