Skip to main content

PawTracks may earn a commission when you buy through links on our site.

If your aquarium has flatworms, here’s how you can eliminate them

It was a few weeks after adding live rock to his saltwater aquarium that longtime aquarist Jeff Kurtz noticed rust-colored flecks on one of the rocks and the glass nearby. In a Tropical Fish Magazine article, Kurtz writes that at first he thought the flecks were just a form of coralline algae. Then he realized that they were all the same shape and moving. Flatworms had invaded his fish tank. Flatworms can become a problem in any home aquarium. They typically hitch a ride into the fish tank on new materials like plants and rocks and can also be attached to fish or invertebrates introduced to the tank.

Planarian flatworm.
Rattiya Thongdu Image used with permission by copyright holder

Types of flatworms seen in fish tanks

Several different types of flatworms can be found in home aquariums.

Rhabdocoela worms
These flatworms are tiny and seldom grow more than 0.2 inches in length. Aquatic specialists at Petco describe them as having rounded heads unlike the typical triangle-shaped head of the bigger flatworms. Their population growth is typically a result of too many nutrients in the tank.


Planaria, also known as flatworms, can be found in both saltwater and freshwater environments. Petco specialists say that their color can vary: white, reddish-brown, black, and even pink based on what they are eating. They are only about 0.1 to 0.6 inches long with heads shaped like an arrowhead and two black dots for eyes. If cut into pieces, planaria are capable of regenerating a new worm from each piece.

Rust brown flatworms 

According to aquatic specialists at LiveAquaria, this is the most common species of flatworm seen among saltwater aquarium hobbyists. They are tan, brown, or rust with a red dot and only reach about ¼ inch in length. Rust brown flatworms are oval and with what looks like two tiny tails protruding from behind. They are found on top of corals, and normally in areas of low flow in the reef aquarium. According to LiveAquaria, these flatworms will multiply rapidly in tanks with elevated nutrient levels.

Acropora-eating flatworms

Acropora-eating flatworms look like brown ovals and are almost impossible to spot on corals, say specialists at Reef Builders. They survive by eating the tissue of Acropora corals and lay their eggs at the base of the coral skeletons.

Are flatworms harmful to fish?

Petco specialists say that rhabdocoela flatworms feed on bacteria and microalgae and are harmless to aquatic life.  And while planaria won’t typically attach to a swimming fish or fast-moving invertebrate, Petco specialists say that they may take a bite out of an unsuspecting resting shrimp or fish. These flatworms also prey on fish eggs and babies, and may target weaker fish in the tank. According to LiveAquaria, the population of rust-brown flatworms perched on corals in a saltwater aquarium can increase to a point where they block the light from reaching the coral’s tissue. Acropora-eating flatworms in a marine aquarium can rapidly eat and destroy Acropora corals.

How to get rid of flatworms in the tank

Here are some things you can do to remove flatworms from your aquarium.

Use fish to help with the problem.

Some hobbyists seek natural means of control such as adding compatible fish known to eat flatworms to their tanks. For example, angelfish, guppies, and goldfish are known to eat flatworms in freshwater aquariums. For saltwater aquariums, yellow coris wrasse, leopard wrasse, and blue damsels might help keep flatworms under control.

Manually removing the flatworms

Siphoning flatworms from the tank may help keep numbers under control. In his Tropical Fish Magazine article, Kurtz shares that with each partial water change he vacuumed up as many of the tiny worms as he could. The aquarist writes that eventually the population began to diminish and the flatworms “disappeared almost as abruptly as they arrived.”

Use planaria bait traps

Some aquarium hobbyists have had luck keeping infestations under control using planaria traps. For example, the Aquarium Supplies ISTA Clear Glass Planaria Trap got a 4-star review on Amazon. One Amazon customer reports that she baited a trap overnight with freeze-dried shrimp and the following morning it was full of flatworms.

Use a deworming chemical

There are a variety of dewormers on the market. The type you choose will depend in part on the type of flatworm in your tank. Experts at PetMD say hobbyists should reach out to a fish veterinarian about safety precautions before using any dewormer. Invertebrate species like snails and shrimp are particularly at risk and should be removed before using a chemical, according to PetMD.  Additionally, silverfish, lionfish, piranhas, and bottom feeders may also have a negative reaction to deworming chemicals. And keep in mind that overusing dewormers can interfere with the ecosystem in your fish tank.

A reef fish tank.
Vojce/Shutterstock Image used with permission by copyright holder

In the end, experts say that the best way to control flatworms is to prevent them from entering your tank in the first place. That includes keeping up with routine maintenance and quarantining all new fish and invertebrates before adding them to your aquarium. Any new plants or rocks should be thoroughly washed before putting them in the tank. It’s easy for tiny flatworms to escape your notice but by taking precautions you can reduce the risk of turning them loose in your aquarium.

Editors' Recommendations

Vera Lawlor
Vera was the pet columnist for 201 Family magazine and has contributed pet and animal welfare articles to Bone-A-Fide Mutts…
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
Are female betta fish worth it? Here’s why you should consider getting one of these pretty fish
Unlike males, female betta fish can live together, and get along with other fish, too
A blue female betta in a tank

Betta fish (also known as Siamese fighting fish) rocketed to fame and took a spot as one of our favorite swimming pets for their beautiful color and elegant fins. They, too, are recognized for being aggressive toward each other and will even flare (a display) to you, their owner. However, many of those characteristics only apply to the males of the species, whereas the female versions look and act a little differently. Here's why you should consider bringing one of these lady bettas home.

What are betta fish?
These underwater beauties come from Thailand and live in rice paddies in the wild. It's a myth that they only need a small tank, but bettas often do make great solitary pets that can thrive in an aquarium by themselves. They can also live with many other fish, just not other bettas. One fun thing about these swimmers is that they learn to recognize their owners and will get excited when you come to feed them every night.
How do female bettas differ from males?
You probably know that you can't keep male bettas with others of their kind, as they will fight males and sometimes aggressively mate with females (we recommend only experts breed them). Female bettas won't likely be building any bubble nests though, as that's a job for the males.

Read more
Looking to add corydoras to your aquarium? Here’s what you need to know first
Read this before bringing home a cory catfish to add to your tank
Two cory catfish hang out on the bottom of the tank

One thing you might not know about aquariums until you get one: Every tank needs a janitor, which may wind up just being you. When you first dive into this hobby, it can take a while to realize how much maintenance is really involved — don't think that the filter will do all the work. But if you want a little a help in that department, you can add a catfish to the fray. If you don't have a ton of experience with these bottom feeders, we recommend one of the corydoras since they're generally best for beginners.

What are corydoras?
This is a type of catfish, but there are actually more than 170 species to choose from. These are a well-known group of swimmers who get their name from their barbels, which look a bit like whiskers. While you'll find dozens of options in the pet store, you will likely narrow it down quickly based on the size of your tank, temperature, habitat you've chosen, and the other fish that they'll live with eventually.
Are corydoras friendly?
Yes, corydoras are sweet and gentle fish. They particularly like spending time together, but get along with many others as well. In some cases, you should not buy just one as they'll get lonely. Instead grab a pair of the same type and watch them become best friends. You'll often see them as bottom feeders, well, at the base of the tank, but cory cats also come up to the surface for air or food from time to time.

Read more