A housing apparatus includes housing units in which a plurality of permanent magnets are housed, respectively binding units which are arranged in the housing units, respectively, and bind the permanent magnets in the housing units, respectively permanent magnet detectors which are arranged in the housing units, respectively, and detect whether the permanent magnets are housed in the housing units, respectively and a control unit which controls the binding units to selectively keep the permanent magnets in a binding state or a nonbinding state on the basis of detection results of the permanent magnet detectors.