The invention discloses a programmable three-dimensional storage rail type stacking crane. The programmable three-dimensional storage rail type stacking crane comprises a cargo electronic tag, a codescanning gun, a storage, a singlechip microcomputer, a display screen and a stacking crane body, the cargo electronic tag is connected with the code scanning gun, the code scanning gun is connected with the storage, the storage is connected with the singlechip microcomputer, the singlechip microcomputer is connected with the display screen, the singlechip microcomputer is connected with the stacking crane body, the stacking crane body comprises two supporting plates, and a same transverse plate is fixedly mounted on the side, close to each other, of the two supporting plates. The programmablethree-dimensional storage rail type stacking crane is simple in structure, cargos on a bearing seat can be rapidly transported to a designated position through the cooperation of the stepping motor and a driving motor, compared with a traditional stacking type crane supplied power by a hydraulic cylinder, the stacking crane body reduces the pollution to the surrounding environment, meanwhile, theautomation degree is high, and the rapidity of modern logistics storage is met.