The invention discloses an automatic file box storing and taking method, a partition frame is fixedly arranged between two mounting racks, a storing and taking frame is arranged on the front side of the partition frame, and the invention relates to the technical field of file storing and taking. According to the automatic file box storing and taking method, a multi-directional driving mechanism, a grabbing mechanism, an anti-falling mechanism and a self-separating mechanism are arranged among a mounting frame, a partition frame and a storing and taking frame, so that when the device needs to store and take the file box, the device can store and take the file box through cooperation of the multi-directional driving mechanism, the grabbing mechanism, the anti-falling mechanism and the self-separating mechanism; the storage and taking frame can conveniently and automatically lift and grab the file box, the effect that the file box is convenient to store and take is achieved, the grabbed file box is synchronously subjected to bottom bearing and position limiting, the file box is prevented from falling off accidentally, the file box which is grabbed and moved out of the partition frame is synchronously subjected to disengaging and clamping cooperation, and the clamping efficiency is improved. And the file box can be conveniently and directly taken by subsequent workers.