Beneficial nitrifying bacteria live mainly on oxygenated surfaces such as filter media. During medication, keep the filter operating unless the label specifically requires a change, remove only incompatible chemical media such as activated carbon when instructed, and do not replace mature biological media. Some treatments can affect the biofilter, so monitor ammonia and nitrite and be ready to use conditioned water changes if either becomes detectable.
Sick fish already have less margin for error. Losing the biological filter during treatment adds ammonia or nitrite stress at exactly the wrong time.

Keep biological media wet and oxygenated
Nitrifying bacteria depend on water, oxygen and a suitable surface. Do not allow mature media to dry out or sit stagnant for long periods while the filter is dismantled.
If you must remove media temporarily, keep it in oxygenated aquarium water when compatible with the treatment plan.
Separate carbon from biological filtration
Many treatments require carbon to be removed, but that does not mean all filter media should be discarded. Sponge, ceramic and other biological media can usually remain if the medication is compatible.
Know which part of your filter performs which job.
Some medications can affect bacteria
Antimicrobial treatments are not perfectly selective. Effects on nitrifying communities vary with the drug, dose and system.
Testing is more reliable than assuming the cycle is safe because the water still looks clear.
What to do if ammonia or nitrite appears
Use conditioned partial water changes to reduce exposure, maintain aeration and review the product instructions for redosing after water changes. Feeding less temporarily can reduce additional waste.
Do not add more livestock until the biofilter is stable again.
After treatment
Continue testing for several days after the course. If the filter was disrupted, mature disease-free media or an appropriate bottled bacteria product may help recovery.
Avoid transferring media from an infected system into a healthy aquarium.
Frequently asked questions
Do antibiotics always kill the aquarium cycle?
No, but some antimicrobial treatments can disturb biological filtration, so monitor rather than assume.
Should I remove all filter media during treatment?
Usually not. Remove only media the product specifically identifies as incompatible.
Can I seed the filter from another tank?
Only from a healthy disease-free aquarium; otherwise you may transfer pathogens.
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.