A medication dispensing device has: a medication preparation unit provided with a storage section that can store and discharge one package at a time of a solid medication supplied by a medication supply unit and a counting unit that can count the solid medication discharged from the storage section. The counting unit is provided with: a monitoring platform on which the solid medication discharged from the storage section rests an vibration unit that can vibrate the monitoring platform horizontally an imaging unit that can image the solid medication on the monitoring platform that has been vibrated and an image recognition unit that can count the solid medication on the basis of the image obtained by the imaging unit.