The invention discloses a gas filter with a rotary scraper. The gas filter is composed of a housing, a motor, a support, a sealing device, a scraper device, a discharging device and a filtering plate. The housing is provided with a gas inlet, a gas outlet and an impurity removing port; the discharging device is installed at the impurity removing port; the motor is fixed to the housing through the support, and a motor shaft of the motor extends into the housing; the filtering plate is provided with through air holes; the filtering plate is installed between the gas inlet and the gas outlet and fixed to the housing; the scraper device is installed on the portion, extending out of the filtering plate, of the motor shaft, the motor drives the scraper device to remove impurities on the filtering plate continuously through the motor shaft, and the impurities scraped off from the filtering plate are discharged through a discharging valve of the impurity removing port. The gas filter can filter gas continuously, and the filtering plate increases the passing speed in gas filtration and optimizes the gas filtering effect; it is not needed to replace or clean the filtering plate in working, and thus the waste of labor and materials is reduced.