Additionally, toilet tanks can harbor rust, mold, mildew, and bacteria, which can cause unpleasant odors and reduce toilet longevity. Pour white vinegar into the tank, stopping at least an inch below the top rim, and let it sit for 12 hours. Give the toilet a couple of flushes, turn off the toilet's water valve to drain it, and scrub with a coarse sponge.