[Field/Object] The present invention relates to an apparatus for automatic packing and withdrawal of a prescription drug. According to the present invention, prescription pills are dropped into a single hopper and then put into a pill bag or a pill bottle, and thus the present invention is capable of addressing a problem in the form of a different type of medicine powder dropped into the hopper moving in on the pills or the medicine powder in the hopper being put into the pill bag or the pill bottle along with the pills, which could result in a patient taking the prescription drug with other impurities mixed therewith and side effects and complications occurring as a result. [Solution] The apparatus for automatic packing and withdrawal of a prescription drug according to the present invention is configured to have an individual medicine discharge pipe in a pill supply cartridge storing pills or capsule pills, and thus mixing with impurities other than prescription medicine can be forestalled. Once a prescription QR code is read, the pill bottle is automatically placed for the medicine discharge pipe of the pill supply cartridge storing the prescription drug, and thus prescription medicine packing and withdrawal can be performed in a one-stop manner. [Advantageous Effect] According to the present invention, separation is performed during medicine classification and packing in accordance with the prescription so that the impurities or medicine elements other than the prescription drug are not mixed at all. Accordingly, medical accidents such as side effects and complications can be forestalled.[기술분야/해결과제]본 발명은 처방약 자동 포장 인출 장치에 관한 것으로, 처방된 알약이 하나의 호퍼로 낙하되어 약봉지나 약병에 투입되도록 되어 있기 때문에, 호퍼에 떨어진 다른 약가루들이 알약에 묻어서 들어오거나 호퍼에 있는 약가루가 약봉지나 약병 속에 함께 투입됨으로써, 환자가 다른 불순물의 약이 섞인 처방약을 복용하게 되어 자칫 부작용이나 합병증이 발생할 수 있는 문제점을 해결하기 위한 것이다.[해결수단]본 발명의 처방약 자동 포장 인출 장치는 알약 또는 캡슐약이 들어있는 알약 공급 카트리지에 약 배출관을 각각 별도로 구성하여 조제 약 외에 다른 불순물이 전혀 섞이지 않도록 구성하였고, 병원 처방전의 QR 코드를 판독하여 처방약이 들어있는 알약 공급 카트리지