Abstract: The present invention provides a knock box-integrated cleaner for a coffee machine portafilter, the knock box-integrated cleaner comprising: a knock box having an inner space part for receiving coffee grounds; a knock member in which fixing members are respectively coupled through guide rails to both sides of a cylindrical rubber bar disposed in the knock box, the guide rails being formed in upper parts of the knock box; a cleaner body in which a coupling projection and a mounting projection protrude from the cleaner body and a motor is installed in a center of a space part formed inside the body, the mounting projection having an upper part for mounting a handle of a portafilter; a collecting bucket which is inserted into the space part formed inside the cleaner body and has a protuberant part, formed protruding therefrom, for receiving the motor, and a space part for receiving coffee grounds inside, the protuberant part having a through hole formed in the upper end thereof, a motor shaft protruding out of t