The invention discloses a security and environment-friendly city disinfecting and sterilizing compaction dustbin. The security and environment-friendly city disinfecting and sterilizing compaction dustbin comprises a dustbin body, an inclined guide plate, a supporting column, a base plate, a water collecting box, an electric stretchable rod, a disinfectant tank and a pressing plate; guide wheels are arranged on the bottom face of the dustbin body, the inclined guide plate is arranged inside the bottom end of the dustbin body, the base plate is arranged above the inclined guide plate, the watercollecting box is arranged at the bottommost end of the inclined guide plate, and a garbage inlet curtain door is arranged on the side wall of the upper end of the dustbin body; and an infrared emitter and an infrared receiver are arranged on the inner wall of the dustbin body, a radio transmission device is arranged on the outer wall of the top end of the dustbin body, a microprocessor and a storage battery are arranged on the inner wall of the top end of the dustbin body, the disinfectant tank is installed on the inner wall of the top end of the dustbin body, the inner wall of the top end of the dustbin body is fixedly connected with one end of the electric stretchable rod, and the pressing plate is arranged at the other end of the electric stretchable rod. The security and environment-friendly city disinfecting and sterilizing compaction dustbin is simple in structure and convenient to use, harmful bacterium breeding is effectively reduced, the safe life environment of people is improved, meanwhile, the garbage is pushed to be compacted, the transportation cost is greatly reduced, and the appearance of a city is effectively improved.