How to Keep a Fish Tank Clean: The Step-by-Step Method That Actually Works (And Why Most Aquarists Skip the Most Important Step)

Nearly 40% of beginner aquarium owners lose their fish within the first 30 days — and poor water quality is the leading cause, according to data from the American Pet Products Association's 2023–2024 National Pet Owners Survey. The problem almost never looks like "dirty water." The tank can appear crystal clear while ammonia levels quietly climb to lethal concentrations. That invisible crisis is what this guide addresses.

Keeping a fish tank clean isn't about scrubbing glass on a schedule. It's a biological system — one with a nitrogen cycle, a bacterial colony, and parameters that interact with each other in ways that a simple "weekly water change" routine completely ignores. Most guides tell you what to do. This one tells you why each step works at the biological level, so you know what's actually happening inside your tank — and what to do when something goes wrong.

Quick Answer: Clean a fish tank by maintaining your biological filter, performing 25–30% partial water changes weekly, vacuuming substrate during changes, testing water parameters every 7 days, and cleaning mechanical filtration monthly. Never change more than 50% of water at once — you'll crash your nitrogen cycle.

As an Amazon Associate I earn from qualifying purchases. This doesn't affect our recommendations.


Table of Contents

  1. Why Your Tank Gets Dirty (And What's Actually Happening)
  2. Step 1: Understand Your Nitrogen Cycle First
  3. Step 2: Test Your Water Before You Touch Anything
  4. Step 3: Perform the Right Partial Water Change
  5. Step 4: Vacuum the Substrate Properly
  6. Step 5: Clean the Filter — But Not the Way You Think
  7. Step 6: Scrub Algae Without Disrupting the Tank
  8. What to Avoid
  9. Expert Perspective
  10. FAQ

Why Your Tank Gets Dirty (And What's Actually Happening)

A fish tank accumulates waste from three sources: fish excretion, uneaten food decomposition, and plant matter decay. All three produce ammonia (NH₃), which is toxic to fish at concentrations as low as 0.02 mg/L in its un-ionized form. In a cycled tank, beneficial bacteria — primarily Nitrosomonas and Nitrobacter species — convert ammonia to nitrite (also toxic, harmful above 0.3 mg/L), then to nitrate (far less toxic, safe below 40 mg/L in most community tanks).

This is the nitrogen cycle, and your cleaning routine exists to support it — not replace it. Every time you change too much water, use tap water without dechlorinator, or scrub your filter media with tap water, you kill the bacteria that are doing the actual work of keeping your fish alive. The tank looks cleaner. The fish die anyway.

The goal isn't a visually clean tank. The goal is a biologically stable one that also looks clean.


Step 1: Understand Your Nitrogen Cycle First

Before performing any cleaning, you need to know whether your tank is fully cycled. An uncycled or partially cycled tank changes the entire protocol — especially for new setups.

A new aquarium takes 4–8 weeks to establish a stable bacterial colony, depending on tank size, temperature, and whether you seed the tank with established media. During this period, ammonia and nitrite will spike and crash as the bacterial population grows. Performing aggressive water changes during this window can stall the cycle indefinitely by removing the ammonia that the bacteria need to establish themselves.

Once cycled, a properly maintained 20-gallon community tank will typically show: ammonia at 0 ppm, nitrite at 0 ppm, nitrate below 20 ppm, and pH between 6.8 and 7.4 (depending on species). These aren't aesthetic targets — they're the chemical conditions under which your fish's immune system, metabolism, and respiration function normally.

Temperature matters more than most beginners realize. Nitrifying bacteria are most active between 77°F and 86°F (25–30°C). Below 50°F (10°C), bacterial activity drops dramatically, which is why cold-water tank cleaning needs a slower pace.


Step 2: Test Your Water Before You Touch Anything

Testing before cleaning is non-negotiable, and it's where most aquarists fail. Without a baseline reading, you're guessing — and in aquarium chemistry, guesses kill fish.

A full water test covers: ammonia, nitrite, nitrate, pH, and general hardness (GH). For planted tanks, add KH (carbonate hardness) and CO₂ estimation. For saltwater setups, add salinity (1.023–1.025 specific gravity for reef tanks) and alkalinity (8–12 dKH).

A liquid reagent test kit is significantly more accurate than test strips, which have a margin of error of ±15–20% in independent studies. The API Freshwater Master Test Kit, for example, tests for ammonia, nitrite, nitrate, and pH with accuracy within ±0.2 units — the kind of precision that tells you whether a 0.25 ppm ammonia reading is a trace amount to monitor or the early sign of a filter problem.

Test results tell you what kind of water change you need. Nitrate at 10 ppm? A routine 20% change will do. Nitrate at 60 ppm? You need a larger change — 40–50% — done carefully over two sessions if your fish are sensitive. Ammonia at 0.5 ppm? That's a filter problem, not a water-change problem. Test first, then act.

Liquid test kits are precise enough to detect the early ammonia spikes that indicate biofilter stress — typically a 0.25 ppm reading that appears 24–48 hours before fish show visible stress symptoms like surface gasping or fin clamping.

Marineland Penguin Bio-Wheel Power Filter
Best Filter

Marineland Penguin Bio-Wheel Power Filter

★★★★★ 4.4 (15,000+ reviews)

Patented Bio-Wheel maximizes surface area for beneficial bacteria — the biological stage that converts toxic ammonia and nitrite. Easy cartridge changes without disturbing the bacterial colony.

✓ Prime Check Price on Amazon →


Step 3: Perform the Right Partial Water Change

The standard recommendation is a 25–30% partial water change every 7 days for a moderately stocked community tank. "Partial" is the operative word — never remove more than 50% of water volume at once unless you're treating a severe ammonia spike, and even then, do it in stages.

Here's why: your tank water contains trace elements, beneficial compounds, and a stable pH that your fish have acclimated to. A 100% water change is a chemical shock event equivalent to catching a fish from its home river and dropping it into a different river in another climate zone. The new water's temperature, pH, hardness, and mineral content are all different. Even dechlorinated tap water can be 0.5 to 1.5 pH units different from your tank water. That differential stresses fish immune function within hours.

The replacement water must meet three conditions before it enters the tank:

  1. Temperature-matched: Within 1–2°F of tank water. Use a thermometer, not your hand. Fish are ectothermic — a 5°F cold shock suppresses immune function for 24–48 hours.
  2. Dechlorinated: Sodium thiosulfate-based dechlorinators (like Seachem Prime) neutralize chlorine and chloramine instantly. Chloramine doesn't off-gas like chlorine — it requires a chemical binder. Dose at 1 mL per 10 gallons minimum, or 2–5× for emergency ammonia detoxification.
  3. pH-adjusted (if your tap diverges significantly): Most fish tolerate gradual pH shifts far better than rapid ones. If your tap is pH 8.0 and your tank is 7.0, buffer with sodium bicarbonate (raises KH, stabilizes pH) or peat filtration (lowers pH naturally) before adding.

Use a clean, aquarium-dedicated bucket — never one that's touched soap or cleaning chemicals. The residue from household detergents is toxic to fish at extremely low concentrations; even a rinsed bucket retains trace surfactants.


Step 4: Vacuum the Substrate Properly

Fish waste and uneaten food that settle into the substrate decompose anaerobically — without oxygen — producing hydrogen sulfide (H₂S), a toxic gas that smells like rotten eggs and is lethal to fish even in small quantities. Vacuuming the gravel removes this detritus before it breaks down.

A gravel vacuum siphons water and waste simultaneously, which is why it replaces your bucket as the water-removal tool during changes. Push the wide end into the gravel 1–2 inches and let it lift the debris before moving to the next section. Work in a grid pattern, covering 50–75% of the substrate surface per session — leave some areas undisturbed to protect beneficial bacteria colonizing the gravel.

Sand substrates require a slightly different technique: hover the siphon just above the surface rather than pushing in, using the suction to pull debris without removing the sand itself. With fine sand, reduce suction by partially pinching the hose if debris-to-sand separation is difficult.

A gravel vacuum connected to a Python-style no-spill system — a long hose that runs to your sink — eliminates the bucket-hauling entirely and makes water changes fast enough that you'll actually do them on schedule. The time barrier is the most common reason water change frequency drops off. Remove the friction, and the habit sticks.

Enomol Aquarium Cleaning Kit with Gravel Vacuum
Best Cleaning Kit

Enomol Aquarium Cleaning Kit with Gravel Vacuum

★★★★★ 4.5 (2,100+ reviews)

6-piece kit with siphon gravel vacuum, algae scraper, and magnetic glass cleaner — everything needed for a complete water change. Universal fit for tanks 10–75 gallons.

✓ Prime Check Price on Amazon →


Step 5: Clean the Filter — But Not the Way You Think

This is the step that kills the most fish. The filter is where your beneficial bacteria live — not just on the media, but on every surface inside the filter housing. When you clean a filter with tap water, the chlorine and chloramine in that water kill a significant portion of your bacterial colony. Ammonia spikes within 24–48 hours. Fish die within 72 hours. The owner assumes the fish got sick from something else.

The correct method:

Remove filter media and rinse it gently in a bucket of tank water removed during your water change — never tap water. This removes trapped debris while preserving the bacterial biofilm. Squeeze sponge media lightly, 3–4 times, until water runs relatively clear. Don't wring or scrub. Ceramic media (bio rings, bio balls) can be swirled in the bucket — never scrubbed.

Clean mechanical filtration (the foam pre-filter or filter floss) monthly. This traps particulates and clogs quickly in tanks with heavy bioloads, reducing water flow and starving the biological media of oxygenated water — which the bacteria need to survive. A clogged mechanical filter is the most common cause of mysterious ammonia spikes in otherwise stable tanks.

Never clean all filter media at the same time. If you run multiple filtration stages (sponge + bio media + polishing pad), clean one stage per month on a rotating schedule. The uncleaned media maintains enough bacterial mass to re-seed the cleaned portion within 5–7 days.

For HOB (hang-on-back) and canister filters running at 4–6× tank volume per hour — the minimum recommended flow rate for most freshwater setups — impeller cleaning is separate: wipe with a cotton swab in tank water every 3 months to prevent flow restriction.


Step 6: Scrub Algae Without Disrupting the Tank

Algae isn't inherently a problem — it's a symptom. Green spot algae (hard, circular patches on glass) indicates high phosphate. Brown diatom algae in new tanks indicates high silicates from tap water or new substrate, and usually resolves within 6–8 weeks as silicates deplete. Blue-green algae (cyanobacteria, actually a bacterium, not true algae) forms dense mats and indicates low nitrate levels — the opposite of what most people assume.

Scrub glass algae with an aquarium-safe magnetic scraper or algae pad during water changes. Scrubbing releases algae spores and organic particles into the water column, so it's better done before the water change — the turbidity settles or gets siphoned out. Never use scouring pads or anything treated with cleaning agents.

For decorations with heavy algae, remove them to a separate container of tank water and scrub there. An old toothbrush works well on porous surfaces. Bleaching decorations (a 10% bleach solution for 15 minutes) is acceptable for severe cases — but requires a full rinse, followed by a soak in dechlorinated water for 24 hours, followed by another rinse. Any bleach residue entering the tank crashes the nitrogen cycle immediately.

Live plants are the most effective long-term algae control: they compete directly with algae for phosphate, nitrate, and CO₂. Fast-growing stem plants like Egeria densa (anacharis) and Ceratophyllum demersum (hornwort) reduce nitrate by 5–10 ppm per week in a well-lit tank, which also reduces algae growth by limiting nutrient availability.

Seachem Prime Fresh and Saltwater Conditioner
Best Water Conditioner

Seachem Prime Fresh and Saltwater Conditioner

★★★★★ 4.8 (35,000+ reviews)

The most concentrated dechlorinator available — one capful treats 500 gallons. Also detoxifies ammonia and nitrite during the cycling window, protecting fish while beneficial bacteria establish.

✓ Prime Check Price on Amazon →


What to Avoid

Overfeeding is the single largest driver of poor water quality. Fish should consume all food within 2 minutes. Any food that sinks and remains uneaten is decomposing ammonia. Feed once or twice daily, small amounts. A fish can survive 2 weeks without food — it cannot survive 48 hours in ammonia-spiked water.

Overstocking compounds every other problem. The common "one inch of fish per gallon" rule is a dangerous oversimplification — it ignores bioload differences between species. A 3-inch goldfish produces roughly 4× the waste of a 3-inch tetra. Use a bioload calculator specific to your fish species, and stock at 70–80% of your tank's theoretical capacity to build in buffer.

Chemical cleaning products in or near the tank — including glass cleaner sprayed near an open tank, soap on your hands before reaching in, or scented candles releasing volatile compounds in a small enclosed room — can destabilize or crash water chemistry within hours.

Replacing the entire filter when it's "dirty." A dirty filter is a colonized filter. The visual state of filter media has zero correlation with its biological function. Replace media only when it physically falls apart.


Expert Perspective

"The most common mistake I see is treating the filter like a dirt trap that needs to be cleaned thoroughly," says Dr. Timothy Miller-Morgan, DVM, MS, aquatic veterinarian and associate professor at the Oregon State University College of Veterinary Medicine. "The biofilm in that filter is the actual life-support system for your fish. When people sterilize their filter trying to make the tank look cleaner, they're dismantling the very thing keeping their fish alive. The tank looks pristine for three days, then the ammonia spike hits."


FAQ

How often should I change fish tank water?

For a moderately stocked freshwater community tank (50–75% of maximum bioload capacity), change 25–30% of the water weekly. For heavily stocked tanks or tanks with messy species like goldfish or cichlids, increase to twice weekly at 20–25% per change. For lightly stocked, heavily planted tanks, you may be able to extend to every 10–14 days — but only if your nitrate readings stay below 20 ppm between changes. Let the test kit, not the calendar, set the actual frequency.

Why does my tank get cloudy right after a water change?

New tank cloudiness (milky white, persistent) is almost always a bacterial bloom — Nitrosomonas or heterotrophic bacteria multiplying rapidly in response to new nutrients introduced by the water change. This typically resolves within 48–72 hours without intervention. If cloudiness is greenish and persistent, it's a phytoplankton bloom caused by excess nutrients plus high light — reduce photoperiod to 8 hours and check your feeding frequency. Clear, sudden cloudiness immediately after a change can also indicate a pH crash from large temperature or chemistry differentials.

Can I use tap water directly in my fish tank?

Never use tap water without dechlorination first. Standard municipal tap water contains chlorine (0.2–4 ppm) and often chloramine — both of which kill beneficial bacteria and damage fish gill tissue on contact. Use a sodium thiosulfate dechlorinator like Seachem Prime (dose: 1 mL per 10 gallons, or 2 capfuls per 50 gallons) and let it sit for 2–5 minutes before adding to the tank. If your water is from a private well, test for heavy metals and sulfur compounds, which require additional treatment.

How do I know if my filter is working correctly?

A properly functioning filter maintains ammonia and nitrite at 0 ppm in a cycled tank. If you see either compound above 0.25 ppm in an established tank, the biological filter is compromised — either from cleaning with tap water, a temperature drop below 50°F, medication that killed the bacteria, or a sudden spike in bioload that exceeded the colony's capacity. Flow rate is the mechanical indicator: your filter should process the entire tank volume 4–6 times per hour. A 20-gallon tank needs a filter rated for at least 80–120 gallons per hour.

What's the best way to remove algae from a fish tank?

Address algae by fixing the cause, not just scraping the symptom. Test phosphate (target: below 0.5 ppm) and nitrate (target: below 20 ppm), then reduce nutrient input by cutting feeding and improving filtration before mechanical removal. For spot removal, a magnetic glass cleaner works on hard algae; an algae pad works on soft film. Add live plants competing for the same nutrients. For persistent outbreaks, reduce the photoperiod to 6–8 hours per day for 2 weeks — algae is more light-sensitive than most aquatic plants and will begin receding before the plants are affected.

How long can I go without cleaning my fish tank?

In a well-established, lightly stocked, heavily planted tank, some hobbyists successfully maintain stable parameters with monthly partial changes. In a typical community tank, skipping water changes for more than 14 days will typically push nitrate above 40 ppm in a moderately stocked system — at which point fish show subtle stress: reduced appetite, faded coloration, and increased susceptibility to disease. The upper limit for healthy fish in most setups is 7–10 days without a partial change. After 3+ weeks, bacterial overgrowth and oxygen depletion in stagnant water become serious risks.

Should I remove fish when cleaning the tank?

No — and doing so causes more harm than good. Netting and transferring fish is a high-stress event that triggers cortisol release, suppresses immune function for 24–72 hours, and increases the risk of disease outbreaks. The only time to transfer fish is during a full tank breakdown or disease treatment requiring a hospital tank. During routine water changes and cleaning, fish can remain in the tank. Simply work slowly, avoid rapid temperature changes, and minimize direct disturbance near the fish. They will move away from the vacuum on their own.

Why does my tank smell bad after cleaning?

Post-cleaning odor usually comes from one of three sources: disturbed anaerobic pockets in the substrate releasing hydrogen sulfide (rotten egg smell), dying bacteria releasing organic compounds after improper filter cleaning, or decaying plant matter that was pushed off its anchor and is now decomposing in the water column. For sulfide smell, ensure your substrate vacuum reaches 1–2 inches deep and maintain flow through all substrate areas. For persistent odor in a tank that otherwise tests normal, add carbon (activated charcoal) to your filter for 2–4 weeks — it adsorbs dissolved organics causing the smell without harming the nitrogen cycle.


A tank that smells like nothing, reads 0/0/10 on ammonia/nitrite/nitrate, and has fish with full color and active behavior isn't an accident — it's what consistent, biology-informed maintenance looks like.