Worms in houseplants aren't necessarily bad. Species like red wigglers are good for your plants while others like nematodes can be harmful. However, you will rarely see earthworms or red wrigglers in potted plants, so most times, worms or worm-like creatures in houseplants are a bad sign.
Are worms OK in potted plants?
Earthworms should not be added to potted plants since the soil used to pot the plant may not have enough food for them to grow and proliferate like ground soil or in a vermipost, they will eventually die or crawl out. You should use casting tea on the potted plant soil and as a foliar application on the plant.
How do I get rid of worms in my potted plants?
If you have worms in your plant, you can remove your plant from the pot and soak the plant's base with the soil in warm water and insecticidal soap for 20 minutes. The worms will try to escape, and you can catch and release them or put them into your compost bin. This works best for harmful worms.
More useful articles on a similar topic 👇
Will apple cider vinegar kill all worms in dogs?What kills parasites in your body?