The invention discloses a garbage can with an automatic sealing function of a garbage bag. The garbage can comprises a can body, wherein the outer side wall of the can body is fixedly connected with ahook, the hook is connected with a sealing mechanism cooperating with the can body, the sealing mechanism comprises a pull ring, a pull
rope and a
rubber band, the pull ring is hooked at the upper end of the hook, the pull ring is connected with the pull
rope, the end, away from the pull ring, of the pull
rope is connected with the
rubber band, the end, away from the pull rope, of the rubber bandis provided with a sliding seat, the sliding seat is located under the
rubber band, the sliding seat is slidably connected to the outer side wall of the can body, the bottom of the sliding seat is fixedly connected with an L-shaped transmission rod, and the lower end of the L-shaped transmission rod is perpendicularly and fixedly connected with a first connecting rod. The garbage can with the automatic sealing function of the garbage bag has the advantages that automatic sealing can be automatically carried out on the garbage bag, it is avoided that both hands are contaminated or a person feels uncomfortable during manual operation, a bag mouth of the garbage bag can be tightened, the garbage bag is lifted to be carried to the outdoor for treatment conveniently, the operation is convenient and fast, and the garbage can is more sanitary.