The invention discloses an automatic feeding and discharging device, which comprises a distribution mechanism, a dropping mechanism and a conveyance mechanism. The conveyance mechanism is arranged between the distribution mechanism and the dropping mechanism and consists of a base, a feeding mechanism, a lifting mechanism and a conveying mechanism are disposed on the base, the lifting mechanism is arranged between the feeding mechanism and the conveying mechanism, and the feeding mechanism is connected with the distribution mechanism, and is also connected with the dropping mechanism. By the aid of the joint action of the distribution mechanism, the feeding mechanism, the lifting mechanism, the conveying mechanism and the dropping mechanism, automatic feeding and discharging of pipes can be realized, labor intensity of feeding and discharging of the pipes can be greatly reduced, production efficiency is enhanced, and production cost is lowered.