The invention discloses a new type of environmentally friendly ashtray for garbage bins, which comprises an ashtray body, an ashtray, a filter plate, a filter hole, an ash plate, a cigarette butt box, a clamping plate, a magnet block, a fixing bolt, a cigarette butt sliding cavity, and a smoke extinguishing chamber. Box, smoke extinguishing plate, smoke extinguishing groove, chute, first block, second block, slider, reservoir, block, electric push rod, push plate, drainage pipe, sewage pool, drain pipe, valve , water inlet pipe, water injection pipe, water inlet hole and elastic spring. This kind of environmentally friendly ashtray for trash cans has reasonable structure and novel design. Through the set cigarette butt box and cigarette extinguishing box, and with the cooperation of the water reservoir, the cigarette butts can be effectively extinguished, avoiding the emission of smoke, protecting the surrounding environment, and Centrally store the extinguished cigarette butts, and introduce the water from extinguished cigarette butts into the sewage tank through the drainage pipe, which is convenient for cleaning workers to clean up later, has good market value, is easy to use, and is suitable for popularization and use.