A medicine ejecting device 1 having a medicine ejecting section 2 is mounted to a cleaning device 12. Then, the cap section 16 and the cleaning liquid feeding section 17 of the cleaning device 12 are connected respectively to the medicine ejecting section 2 and the cleaning liquid injecting section 5 of the medicine ejecting device 1. Cleaning liquid is supplied from the cleaning liquid storing section 13 of the cleaning device 12 to the cleaning liquid injecting section 5 and introduced into the medicine ejecting section 2 by way of a three-way changeover valve 8 by means of a cleaning liquid feeding pump 19. After the cleaning operation, the waste liquid is collected from the medicine ejecting section 2 to the waste liquid collecting section 14 by way of the cap section 16 of the cleaning device 12. Thus, the medicine ejecting device can be made compact and lightweight as a cleaning device storing cleaning liquid for cleaning the medicine ejecting section of the medicine ejecting device is arranged outside the medicine ejecting device.