If there is a malodorous smell coming from your garbage bin, you probably attribute it to the bag, but you should take a good sniff at the bin itself as well. Over time, garbage bins become quite dirty and begin to smell almost as terrible as the garbage itself. Clean your garbage bin at least once a month (or more frequently if needed) to cut down on bacteria growth and to prevent bad odors, which can attract rodents and other wildlife.
Dump the garbage bin upside down and empty it of as much debris as possible. Use a broom to sweep out any bits of garbage that are stubbornly hanging on to the inside of the bin.
Wash the garbage bin with water and detergent. If your bin is large, do this outside with a hose and a long-handled scrub brush. Rinse with the hose, and turn the garbage bin upside down in order to let all the water drain out of it.
Turn the garbage bin back around so that it is right-side up, and let it dry completely in the sunshine.
Spray the inside of the garbage bin thoroughly with a disinfectant. Choose one that kills germs and will also neutralize any remaining odors.