Skip to main content

How to get rid of aquarium worms from your tank quickly

Even the best aquarist will find parasites occasionally, but you can eliminate them

When you became an amateur aquarist, you probably didn't anticipate dealing with worms as one of your many challenges. It has a big yuck factor, but, luckily, there's no need to panic. As a matter of fact, some aquarium worms won’t hurt you or your fish and can be left alone if they appear only in small numbers.

However, if you have a parasite, you need to treat your fish tank without harming your fish, which can be tricky. And with a few simple steps, you can get rid of these aquarium worms and hopefully prevent them from ever returning.




30 minutes

What You Need

  • Water testing kit

  • Cleaning supplies

  • Fish medicine

  • Tank conditioner

Man cleans aquarium with fish
Image used with permission by copyright holder

How do I know if I have worms?

Let’s start with the weird part: You’re almost guaranteed to have a few worms at some point, and some are not really harmful. Obviously, the yuck factor makes you want to eliminate them entirely, but that will probably be an impossible and misguided endeavor.

Worms can live in the tank or on the fish. Some you will spot easily, while others will be quite difficult to see, and a few are microscopic. Check your fish, gravel, and other accessories for obvious signs of an infestation, but don’t stop there. You should also look for symptoms in your fish, such as losing weight, a change in behavior, or extra gross poop.

Fireworm in coral fish aquarium
Image used with permission by copyright holder

How do I know which worms I have?

Unfortunately, aquarium worms come in all different types, and you can’t treat them all the same. Hookworms, tapeworms, fireworms, leeches, anchor worms, detritus worms, flatworms — there’s too many to even count. However, a few of the most common can be easily taken care of.

The first step is to try to determine which kind of pest you have. It’ll help to notice where they are in the habitat, which color they seem to be, how big they are, and any other notable characteristics. If you can gather a specimen, you should bring it to your local fish store or expert, who will help you identify it.

Boy watches his fish tank closely
Catherine MacBride/Getty Images

How do I get rid of worms in my aquarium?

A dirty tank causes a lot of the most common worm problems in the underwater home. Detritus worms specifically live on the leftover food that falls to the bottom of the aquarium. They like to nestle in the substrate and turn it into a breeding ground for unwanted creatures.

If you discover white worms on the floor of your tank, you'll want to get to cleaning.

Step 1: Make sure you're not overfeeding.

This could be the culprit as the leftovers float around in there and eventually rot, just as the food does in your fridge when it doesn't get eaten.

Step 2: Do a full tank clean.

This means scrubbing your filter, wiping down the glass, and vacuuming your substrate.

Step 3: Give your fish meds.

Some species, like tapeworms, will require medicine for your fish that he’ll ingest during feeding or that you dissolve into the water.

Step 4: Ask an expert about conditioners.

Rarely do chemicals need to be used to eliminate a problem, but only in extreme examples when you have confirmed with a professional that this is the right course of action.

Hand holding a pH testing kit next to an aquarium

How do I keep parasites out of my tank?

There are several steps you should take depending on which parasite you have in your aquarium.

Step 1: Keep your tank clean.

After you do a deep clean, switch to regular partial water changes and a proper filtration system.

Step 2: Move fish as needed.

Remember that no amount of filtering and cleaning will make up for an overcrowded tank, so make sure your fish have enough room to stretch their fins.

Step 3: Check for detritus daily.

You also need to remove any dead organisms promptly, especially plants or leaves.

Step 4: Test your water.

Checking your nutrient, pH, and nitrate levels can give you an early indication that something’s off in the tank and more problems are coming down the line.

Step 5: Only buy from a reputable source.

Lastly, ensure that all living things — flora and fauna — come from a reputable buyer to keep any issues to a minimum. A brief quarantine in a separate tank will help prevent a new fish from bringing parasites with them that might infect the whole population.

The question of how to treat worms in a fish tank might plague a number of aquarists, but you don’t have to wonder any longer. With careful maintenance, a good cleaning regimen, proper quarantining, and keen observation, you’ll be sure to catch and eliminate a worm problem early. Always confirm a major infestation with a pro since you don’t want to overtreat your fish or mini ecosystem and open the way to bigger problems in the future. Your fish will appreciate your diligence.

Editors' Recommendations

Rebekkah Adams
Rebekkah’s been a writer and editor for more than 10 years, both in print and digital. In addition to writing about pets…
Check these 3 things immediately if you have fish swimming at the top of the tank
Here's what might be causing fish to swim on the top of their home
Fish swim around in a tank with a bubbler

Before you set up your first tank, you likely didn't realize how much work went into maintaining the perfect ecosystem. In nature, we have the checks and balances of evolution to guide the delicate balance, but in an aquarium, it's just you. Learning how to clean, feed, and decorate takes time and research but will certainly benefit you — and your swimmers — in the end. Since fish can't tell you what they feel or even bark to let you know they need something, you'll discover other cues that tell you something's up. If you find your fish swimming at the top of the tank, take action right away. Here's what to do when your fish spend too much time at the surface.
What does it mean when your fish swim to the top?
Usually, your fish go to the surface when they're not getting enough oxygen. Unlike you, fish use their gills to breathe the air that's already in the water. However, in some circumstances, there's not enough oxygen in the tank for all the fish to breathe easily. To combat this, they swim up to the surface, where there is oxygen-rich water. You may notice some gasping or other signs that they're not well while they are up there. 

How do you oxygenate a fish tank?
The basic solution is to keep your tank oxygen rich and also low in CO2. You can do this by moving the water a bit more with an air pump or fan, which exposes the liquid to the air and helps get it ready for easy breathing. Be careful not to negatively impact other factors like temperature (more on that in a bit). Whatever you decide, make sure you have a long-term solution in place or the fish will go right back to the top again.

Read more
Add rainbowfish to your tank – these beauties will brighten up any aquarium
There are a few things you need to know before you get a rainbowfish
A colorful rainbowfish swims in front of plants in an aquarium

You might know of rainbowfish from the beloved children's book, but these are real animals that you can keep in your own home. As the name suggests, this group of swimmers is well regarded for being beautiful to behold. Many also get along nicely with other fish and can be handled by beginners. This is what you need to know before bringing home a rainbowfish.
What are rainbow fish?
It's a bit of a catch-all term because there are at least 50 species that all fall under the rainbowfish umbrella. Some work better as pets than others, and you'll probably be looking at boesemani rainbowfish, turquoise rainbowfish, featherfin rainbowfish, or red neon rainbowfish. If you're adding to an existing tank, research carefully to ensure you only get ones that will make friends with your current animals.
What conditions do they need to live in?
These are all freshwater fish, but their exact temperature and pH balance needs vary depending on which species you bring home. You can use your existing tank specs to narrow it down or do the opposite — pick the prettiest fish and then build your ecosystem around it. One thing to note right away is that you shouldn't keep males together and no rainbowfish wants to live on its own because they like to school. Consider keeping a group of six females if you want to prevent expansion.

Why should you add them to your tank?
Here are four excellent reasons to keep rainbowfish as pets.
They look beautiful
You can find just about any gradient you want in a rainbowfish. Some incorporate many colors, more like a traditional rainbow, while others skew toward blue, such as the turquoise rainbowfish, or red, such as the aptly named red rainbowfish.
They get along with other fish
While you want them to have friends of their own species, they'll also do great with others. Female rainbowfish can sometimes live with female bettas if you want to create a color explosion. Otherwise consider catfish, gouramis, and loaches as tank mates.
They're good beginner fish
The care level of most rainbowfish sits at about the same as a neon tetra (in fact, they can live together). Make sure your tank stays clean and that you change and test the water frequently, but they don't have any specialty needs.
They live a long time
Many tank dwellers have short life spans, and rainbowfish won't be any different if not properly cared for. However, boesemani rainbowfish, in the right environment, regularly make it to 5 years and sometimes even t10 years!

Read more
How to set up your guinea pig cage – here’s everything you need
This is what you need to know before buying a guinea pig cage
Two guinea pigs sit on a branch in their cage in front of a small wooden house

We don't believe in starter pets, but some families (and individuals) will do well to focus on small pets, rather than keeping dogs or cats, at some point in their lives at least. It might be because your apartment is too small or you're traveling too much or you don't want to commit to 120 minutes of exercise per day (we feel you).

Guinea pigs make a solid and popular option because they're funny, cute, and generally live a lot longer than hamsters or fish — up to eight years. But that's only if you take good care of them and it starts with the cage.

Read more