A medicine packing apparatus, comprising: medicine delivery means which is capable of delivering a medicine; medicine preparation means which is capable of receiving the medicine delivered by the medicine delivery means and is capable of delivering the medicine at a predetermined timing; packaging-sheet feeding means which is capable of feeding a packaging sheet used for packing of the medicine; packing means which is capable of packing the medicine delivered from the medicine preparation means with the packaging sheet fed from the packaging-sheet feeding means; printing means which is capable of printing a production-history information piece of the medicine delivered from the medicine delivery means on the packaging sheet fed from the packaging-sheet feeding means to the packing means; and control means which is capable of controlling operations from delivery of the medicine to the packing of the medicine according to prescription data, wherein the medicine delivery means comprises a plurality of medicine feeders each capable of accommodating and delivering the medicine, wherein the control means comprises a memory portion for storing the production-history information piece of the medicine accommodated in each of the plurality of medicine feeders and is capable of specifying the production-history information piece with reference to the memory portion, and characterized in that the medicine packing apparatus comprises a control means capable of carrying out each of the following steps: specifying, among the plurality of medicine feeders, a medicine feeder accommodating a packing-object medicine as a selected feeder, and delivering the packing-object medicine; comparing an actual delivery number of medicines delivered from the selected feeder to a designated delivery number of medicines designated based on the prescription data; judging that medicine shortage occurs in the selected feeder when the actual delivery number is smaller than the designated delivery number; confirming whether or not an alternative feeder accommodating the packing-object medicine exists among the plurality of medicine feeders when it is judged that the medicine shortage occurs in the selected feeder; delivering, from the alternative feeder, a medicine that is short in supply in the operation of the delivery of the medicine from the selected feeder when the alternative feeder exists; and performing separate packing in which medicines to be packed as one dose are packed separately into different packs based on respective production-history information pieces of the medicines to be packed as one dose when it is confirmed that the delivery of the medicine from the selected feeder has been completed. medicine delivery means which is capable of delivering a medicine; medicine preparation means which is capable of receiving the medicine delivered by the medicine delivery means and is capable of delivering the medicine at a predetermined timing; packaging-sheet feeding means which is capable of feeding a packaging sheet used for packing of the medicine; packing means which is capable of packing the medicine delivered from the medicine preparation means with the packaging sheet fed from the packaging-sheet feeding means; printing means which is capable of printing a production-history information piece of the medicine delivered from the medicine delivery means on the packaging sheet fed from the packaging-sheet feeding means to the packing means; and control means which is capable of controlling operations from delivery of the medicine to the packing of the medicine according to prescription data, wherein the medicine delivery means comprises a plurality of medicine feeders each capable of accommodating and delivering the medicine, wherein the control means comprises a memory portion for storing the production-history information piece of the medicine accommodated in each of the plurality of medicine feeders and is capable of specifying the production-history information piece with reference to the memory portion, and specifying, among the plurality of medicine feeders, a medicine feeder accommodating a packing-object medicine as a selected feeder, and delivering the packing-object medicine; comparing an actual delivery number of medicines delivered from the selected feeder to a designated delivery number of medicines designated based on the prescription data; judging that medicine shortage occurs in the selected feeder when the actual delivery number is smaller than the designated delivery number; confirming whether or not an alternative feeder accommodating the packing-object medicine exists among the plurality of medicine feeders when it is judged that the medicine shortage occurs in the selected feeder; delivering, from the alternative feeder, a medicine that is short in supply in the operation of the delivery of the medicine from the selected feeder when the alternative feeder exists; and performing separate packing in which medicines to be packed as one dose are packed separately into different packs based on respective production-history information pieces of the medicines to be packed as one dose when it is confirmed that the delivery of the medicine from the selected feeder has been completed.