The invention discloses a trash can capable of packing automatically and relates to a trash can. The trash can comprises a can body, a lever, pulling strings, motor guide rails, motors, springs, a breakpoint double sticky tape, a base, a pedal, a trash bag storage chamber, an alligator clip, a connecting rod, a battery and a supporting rod, wherein the lever is arranged on an opening at the top of the can body, two ends of the pulling strings are connected with the lever and the motors, the motor guide rails are arranged at the upper ends of two sides of the can body, the motors are arranged on the motor guide rails, two ends of the springs are connected with the can body and the motors, the supporting rod is fixed on the upper portion of the front end of the can body, the breakpoint double sticky tape is arranged on the supporting rod, the pedal is arranged on the base and is located at the bottom of the rear side of the can body, the trash bag storage chamber is arranged on one side of the base, the trash bag storage chamber is provided with a middle shaft, a sliding cover is arranged on the outside of the trash bag storage chamber, a lower slender slot is arranged at a position of the upper portion of the trash bag storage chamber, which is close to the side of the can body, an upper slender slot is arranged at a position of the lower portion of the side of the can body, which is close to the trash bag storage chamber, the alligator clip is arranged on the motor, the lower end of the connecting rod is connected with the pedal which is arranged at the bottom of the rear side of the can body, and the upper end of the connecting rod is connected with the lever.