A medicine sorting apparatus 1 includes a receiving part 100, an recognizing part 300 and a storing part 500. The storing part 500 includes a plurality of storing trays 5 arranged in multiple stages. A storing area for each of returned-back medicines 2 is defined at the time of storing each of the returned medicines 2 according to a size of each of the returned medicines 2 recognized by the recognizing part 300. Each of the returned medicines 2 is stored in the storing tray 5 in a state that the storing area for each of the returned medicines 2 is associated with identification information of each of the returned medicines 2 so that each of the returned-back medicines 2 can be taken from the storing tray 5 by a scalar type robot 800.