The invention discloses an automatic warehouse and a method thereof for storing and tacking goods. The automatic warehouse comprises a main load shelf, a pallet, a main traction part, a main hook taking part, a warehouse body and a lifting device, wherein, a multi-layer storing shelf is arranged on the warehouse body, the pallet is located the storing shelf, the lifting device is located on one side of the warehouse body, the main load shelf is located on the lifting device, the main traction part is in an annular shape and arranged on the main load shelf in a sleeving mode, the main hook taking part comprises a clamping hook and a main connecting column, the main connecting column is fixedly connected with the main traction part, the clamping hook is fixedly arranged on the side wall of the pallet, or the clamping hook is fixedly connected with the main traction part, and the main connecting column is fixedly arranged on the side wall of the pallet. The automatic warehouse is high inspace utilization rate, and an extra space is no need to be reserved as the safety margin for moving the pallet.