To deep clean an aquarium safely, first test the water and plan which areas actually need attention. Perform a substantial conditioned water change if needed, vacuum part of the substrate, clean glass and decor selectively, and service the filter without replacing all biological media. If the tank is very neglected, spread major substrate and filter work across several sessions rather than stripping everything at once.
The dangerous version of a deep clean is a reset disguised as maintenance: all water removed, gravel rinsed under the tap, filter media replaced and decor scrubbed sterile. That can discard much of the aquarium's established biology.

Test before you start
Check ammonia, nitrite, nitrate and pH. Very neglected tanks may have chemistry far from the tap, which makes an abrupt full-volume change more stressful than staged correction.
Prioritise dissolved waste first
A water change improves conditions immediately without removing the biofilter. Condition the replacement water and match temperature and mineral chemistry as closely as practical.
Clean the substrate in sections
Vacuum the dirtiest zones first and leave the rest for later if the bed is heavily loaded. This avoids releasing years of trapped detritus into the water in one session.
Preserve biological filter media
Rinse reusable media in old aquarium or dechlorinated water. Replace only genuinely spent or damaged material, and do not discard all mature media at once.
Recheck after the clean
Confirm normal filter flow, heater operation and fish behaviour. Test ammonia and nitrite over the following days if the clean was unusually extensive.
Related aquarium tools and guides
Frequently asked questions
Should I remove all fish for a deep clean?
Usually not. Keeping them in stable familiar water while you work in stages is often less stressful.
Can I rinse gravel under tap water?
For established substrate, aggressive untreated-tap rinsing is unnecessary and can reduce surface bacteria. Siphon it in place instead.
What if the tank has been neglected for years?
Make staged improvements and monitor chemistry rather than trying to restore showroom appearance in one day.
Sources and further reading
This guide separates general aquarium arithmetic from fish-welfare decisions. For species-specific limits, always check the needs of the fish you intend to keep.