A component supply device configured to supply components by using pallets, each of which is provided with an accommodating section configured to accommodate the components to be picked up, the component supply device comprising: multiple magazines (40A, 40B) each being provided with multiple slots capable of accommodating the respective pallets by allotting one or more of the slots depending on the height of the accommodating section, the multiple magazines (40A, 40B) including a first magazine capable of accommodating the pallets to be dispensed to a supply area of the components, and a second magazine capable of accommodating the pallets to be transferred to and from the first magazine; a loading/unloading device configured to convey the pallets into and out of the slots wherein the loading/unloading device is configured to move up and down relative to the multiple magazines (40A,40B), or wherein a lifting and lowering device is configured to lift and lower the first and second magazines relative to the loading/unloading device; a storage device configured to store accommodation information of the pallets accommodated in the multiple magazines (40A, 40B); and a control device configured to, in a case of moving the pallet from the first magazine to the second magazine among the multiple magazines (40A, 40B), set a moving destination from among available slots based on the accommodation information about the second magazine taking into consideration a number of slots occupied by the pallet to be moved, and control the loading/unloading device so as to move the pallet to the moving destination, wherein. the control device is configured to first acquire accommodation information, for second magazine for moving pallet, from storage device, and to extract position information of available slots, in which pallets are not accommodated, from the acquired accommodation information, and to subsequently compare the number of occupied slots by the pallet to be moved with a number of consecutive available slots and to determine whether there is a position where the number of consecutive available slots matches or exceeds the number of occupied slots. multiple magazines (40A, 40B) each being provided with multiple slots capable of accommodating the respective pallets by allotting one or more of the slots depending on the height of the accommodating section, the multiple magazines (40A, 40B) including a first magazine capable of accommodating the pallets to be dispensed to a supply area of the components, and a second magazine capable of accommodating the pallets to be transferred to and from the first magazine; a loading/unloading device configured to convey the pallets into and out of the slots wherein the loading/unloading device is configured to move up and down relative to the multiple magazines (40A,40B), or wherein a lifting and lowering device is configured to lift and lower the first and second magazines relative to the loading/unloading device; a storage device configured to store accommodation information of the pallets accommodated in the multiple magazines (40A, 40B); and a control device configured to, in a case of moving the pallet from the first magazine to the second magazine among the multiple magazines (40A, 40B), set a moving destination from among available slots based on the accommodation information about the second magazine taking into consideration a number of slots occupied by the pallet to be moved, and control the loading/unloading device so as to move the pallet to the moving destination, wherein. the control device is configured to first acquire accommodation information, for second magazine for moving pallet, from storage device, and to extract position information of available slots, in which pallets are not accommodated, from the acquired accommodation information, and to subsequently compare the number of occupied slots by the pallet to be moved with a number of consecutive available slots and to determine whether there is a position where the number of consecutive available slots matches or exceeds the number of occupied slots. the control device is configured to first acquire accommodation information, for second magazine for moving pallet, from storage device, and to extract position information of available slots, in which pallets are not accommodated, from the acquired accommodation information, and to subsequently compare the number of occupied slots by the pallet to be moved with a number of consecutive available slots and to determine whether there is a position where the number of consecutive available slots matches or exceeds the number of occupied slots.