Sanitize your aquarium by removing fish first, then cleaning the tank with a bleach solution, rinsing thoroughly, and letting it dry completely before refilling

A full sanitization of your aquarium tank—not just a routine water change—kills algae, bacteria, and parasites that build up over time. You do this by emptying the tank completely, scrubbing surfaces with a diluted bleach solution, rinsing multiple times until no bleach smell remains, and air-drying before you refill. This is different from weekly maintenance and should happen once or twice a year, or whenever you notice persistent algae, cloudy water that won't clear, or fish showing signs of illness.

The key is timing: sanitize when you have a place to temporarily house your fish—a separate tank, a large bucket with an air stone, or even a cooler with a battery-powered air pump. Never sanitize while fish are in the tank, and never use soap or household cleaners other than unscented bleach.

Key Takeaways

  • Move all fish to a temporary container with water from the original tank before you begin any sanitization work.
  • Use a solution of one part unscented bleach to nine parts water to scrub the tank interior, decorations, and equipment.
  • Rinse the tank at least five times with fresh water and let it air-dry for several hours to may support no bleach residue remains.
  • Refill with fresh water treated with dechlorinator if your tap water is chlorinated, then wait 24 hours before returning fish.
  • Do not sanitize gravel or substrate with bleach; replace it instead or rinse it thoroughly in a separate bucket.

Prepare a temporary home for your fish

Before you drain the tank, set up a holding container large enough for all your fish to survive for 24 to 48 hours. A 10-gallon aquarium, a large plastic storage bin, or even a 5-gallon bucket works if you add an air stone connected to a battery-powered air pump. Fill this container with water from your original tank—not fresh water—because the bacteria in that water help keep the temporary environment stable for your fish.

Add a heater if your tank is tropical and the room temperature will drop below 75°F. Use a thermometer to match the temperature of the temporary container to your main tank before you move the fish. Transfer fish slowly using a net, and keep the temporary container in a quiet place away from direct sunlight and drafts.

Drain the tank and remove decorations

Once fish are safely in the temporary container, drain all water from the main tank. Use a siphon or a submersible pump to speed this up. Remove all decorations, plants, rocks, and equipment—filter, heater, air stone, and any other items inside the tank.

Set aside the filter media (sponges, cartridges, or floss) in a bucket of the old tank water. You will rinse this separately in the same water to preserve the beneficial bacteria living in it. Do not sanitize the filter media with bleach; those bacteria are essential for your tank's nitrogen cycle.

Mix and explore the bleach solution

Mix one part unscented household bleach (typically 5% sodium hypochlorite) with nine parts water in a large bucket or spray bottle. For a 20-gallon tank, that means about 2 cups of bleach mixed with 18 cups of water. This dilution is strong enough to kill algae and pathogens but weak enough to rinse away completely.

Pour the solution into the empty tank and use a soft-bristled brush or sponge to scrub all interior surfaces—the glass, the bottom, and the corners where algae and debris collect. Scrub for 5 to 10 minutes. If the tank has stubborn algae or mineral deposits, let the solution sit for 15 to 20 minutes before scrubbing. Scrub decorations and equipment (except filter media) in a separate bucket of the same bleach solution for 5 minutes each.

Rinse the tank thoroughly and repeatedly

Drain the bleach solution completely. Rinse the tank with fresh water at least five times, filling it completely and draining it each time. After the third rinse, smell the interior—if you detect any bleach odor, continue rinsing. Bleach residue is toxic to fish, so err on the side of too many rinses rather than too few.

Rinse decorations and equipment in fresh water at least three times each. For items with crevices or porous surfaces, hold them under running water and rub them with your hands to dislodge any bleach solution trapped inside. Rinse the filter media in the bucket of old tank water you set aside earlier—do not use bleach or fresh water on it.

Dry the tank and prepare to refill

After the final rinse, leave the tank empty and allow it to air-dry for at least 4 to 6 hours, or overnight if possible. Wipe down the exterior and stand with a clean cloth while it dries. Once dry, reinstall the heater, filter, and air stone. Do not turn on the filter yet.

Fill the tank with fresh water. If your tap water is chlorinated (most municipal water is), add a dechlorinator product according to the package instructions. Let the tank sit for 24 hours with the filter running before you return the fish. This allows the water temperature to stabilize and the filter to begin processing the water again.

Return fish to the sanitized tank

After 24 hours, check that the water temperature in the main tank matches the temporary container—use a thermometer and adjust the heater if needed. Float the temporary container in the main tank for 15 to 20 minutes so the water temperatures equalize. Then slowly transfer fish back to the main tank using a net, a few at a time if you have many.

Do not pour the water from the temporary container into the main tank; discard it. The bacteria in your filter media will repopulate the tank over the next few days. Feed fish lightly for the first few days and monitor water quality with a test kit if you have one. Avoid large water changes for at least a week after sanitization.

What to do with gravel and substrate

Gravel and substrate trap debris and are difficult to sanitize completely with bleach. The safest option is to replace the substrate entirely with new material. If you want to reuse it, rinse it thoroughly in a large bucket of fresh water, stirring and draining repeatedly until the water runs clear. This removes debris but does not kill pathogens the way bleach does.

If you choose to reuse rinsed gravel, add it to the tank after you have refilled with fresh water but before you return the fish. This gives you a chance to see if any debris clouds the water. If the water becomes cloudy, drain it again and rinse the gravel more thoroughly in a separate bucket before trying again.

Frequently Asked Questions

Can I sanitize the tank while the fish are still in it?

No. Bleach is toxic to fish even in diluted form, and the fumes can harm them. Always move fish to a temporary container first. The only exception is a routine partial water change, which does not involve bleach or draining the tank.

How often should I sanitize my aquarium?

Most aquariums need a full sanitization once or twice a year. Sanitize sooner if you notice persistent algae blooms, cloudy water that does not clear after a week, or if fish show signs of illness like spots, torn fins, or unusual behavior. A well-maintained tank with regular water changes may need sanitization less often.

What if I do not have a temporary container for the fish?

You can use a large plastic storage bin, a cooler, or even a clean 5-gallon bucket. Add an air stone and battery-powered air pump to keep the water oxygenated. Fill it with water from the original tank and maintain the temperature as close as possible to the main tank. The temporary home only needs to work for 24 to 48 hours.

Can I use other cleaners instead of bleach?

No. Vinegar, hydrogen peroxide, and other household cleaners leave residues that are harmful to fish or do not kill pathogens effectively. Unscented household bleach is the standard because it breaks down into harmless salt and water when rinsed thoroughly. Never use scented bleach or bleach with added cleaners.

Why should I not sanitize the filter media?

Filter media contains beneficial bacteria that break down fish waste and keep the water safe. Bleach kills these bacteria, and it takes weeks to rebuild the colony. Rinsing the media in old tank water removes debris while preserving the bacteria. If the media is falling apart or clogged beyond cleaning, replace it gradually—replace one-third at a time over several weeks.