The invention discloses a municipal environment-friendly garbage can with compression function, include that barrel, A left side and a right side of that top of the barrel are symmetrically fixedly connecte with a first support bar, A rain shield is fixedly connecte to that top of the first support bar, A horizontal rotate shaft is rotatably connected above that barrel body, A left end of that horizontal rotate shaft is fixedly connected with a spiral fan blade, A turbine is fixedly connected to the right end of the horizontal rotating shaft, a bearing seat is fixedly connected to the right side of the barrel symmetrically, a longitudinal rotating shaft is rotatably connected to the inside of the bearing seat, a driven gear is fixedly connected to the top of the longitudinal rotating shaft, the driven gear is meshed with the turbine, and a driving pulley is fixedly connected to the bottom of the longitudinal rotating shaft. Compared with the prior art, the invention has the advantagesof simple structure, convenient use, capable of carrying out periodic reciprocating compression on garbage when in use, thereby enabling the device to contain more garbage, and meanwhile, the device does not use any electric power device, so that the device is more convenient to install and more energy-saving.