The invention discloses a garbage collecting device. The garbage collecting device comprises an outer shell; two sets of garbage collecting units are symmetrically arranged on the outer shell; and thetwo sets of the garbage collecting units both comprise through grooves formed in the top wall of the outer shell, limiting grooves formed in the inner bottom wall of the outer shell, U type assemblybases, cover plates, motors and garbage cans. The garbage collecting device is higher in intelligence degree, can effectively prevent difficult cleaning caused by overflow falling on the inner bottomwall of the outer shell due to excessive accumulation of medical garbage in the garbage cans, provides convenience for work of hospital clean keepers, effectively reduces the working intensity of thehospital clean keepers, is convenient for garbage classification, facilitates environmental protection, prevents the medical garbage placed in the garbage cans from directly exposing in air, further prevents iatrogenic propagation caused by flowing of bacteria on the medical garbage along with the air, and can guarantee smooth feeding of the medical garbage into the garbage cans to prevent the trouble of secondary cleaning due to scattering of the medical garbage at the bottom of the outer shell.