top of page

How to Prevent Green Algae in Hydroponic Jars and Reservoirs

Writer: Tom Findlay
Tom Findlay
2 days ago
6 min read

If you set up your first Kratky mason jar or countertop hydroponic herb garden on a bright windowsill, everything looks crystal clear for the first week—until a green film starts coating the inside glass and wrapping around your plant's white roots.


That green slime is single-celled algae. Because hydroponic nutrient solution is packed with dissolved nitrogen, phosphorus, and potassium, the moment bright sunlight or an LED grow light hits a clear glass jar or white plastic lid, microscopic algae spores bloom rapidly—stealing dissolved oxygen and nutrients from your plants and causing pH swings.


This guide shows you why algae needs light to survive, four easy ways to light-proof jars and net-pot lids, and how to clean an algae-coated reservoir safely without harming your plants.


The short version


  • Block 100 percent of light from reaching the water: Algae cannot grow in total darkness—wrap clear mason jars in black socks, craft paper, aluminum foil, or matte black paint, and cover exposed net-pot gaps.

  • Keep water temperature cool: Aim for 65 to 72°F (18 to 22°C); warm water above 75°F (24°C) holds less dissolved oxygen and speeds up both algae and root-rot bacteria.

  • Clean & reset between crops: Scrub jars and clay pebbles with warm water and 3 percent hydrogen peroxide (or diluted unscented bleach rinsed thoroughly) before starting a fresh batch.

  • Never pour algicides meant for outdoor ponds or aquariums into edible hydroponic herbs or greens.


Why green algae appears in hydroponic jars (and why it matters)


Whether you are growing hydroponic herbs in a passive Kratky mason jar setup or running a compact countertop unit from Hydroponics at Home: A Guide for Urban Gardeners, algae needs three ingredients to multiply: water, plant nutrients, and light. Since your plants need the water and nutrients, cutting off light is the cleanest, chemical-free way to stop algae completely:


Side-by-side comparison of a clear glass mason jar showing green algae slime on the inside wall next to a light-blocked mason jar keeping nutrient solution clear

  • Nutrient & oxygen theft: Active algae consumes the exact nitrogen and trace minerals your basil or lettuce needs—and when algae dies off at night, bacteria consume dissolved oxygen around the roots, turning white roots brown and slimy.

  • Unstable pH readings: During the day, photosynthesizing algae pulls carbon dioxide out of the water and drives solution pH upward, locking out iron and calcium from your plants.


Four simple ways to light-proof jars and net pots


A single beam of sunlight shining through a clear glass wall or through gaps between clay pebbles is enough to turn a reservoir green within days:


  1. Step 1: Slip a dark sock or neoprene sleeve over glass jars. The fastest zero-mess fix for 32 fl oz (1 liter) wide-mouth mason jars is pulling a thick black crew sock or dark neoprene bottle sleeve over the glass—easy to slide down whenever you want to check water level and root health.

  2. Step 2: Paint jars with two coats of matte black chalk or acrylic spray paint. Before planting, stick a vertical strip of painter's tape down one side of the jar, spray the outside with two coats of matte black paint, and peel the tape off once dry to leave a narrow viewing window that you cover with a clip.

  3. Step 3: Top net pots completely with clay pebbles or a foil collar. Fill expanded clay pebbles (LECA) all the way to the rim of the net pot around your seedling stem—or cut a small circle of aluminum foil or black craft foam with a slit for the stem—so light never leaks down through the top lid.

  4. Step 4: Keep reservoirs out of direct afternoon sun. Let the green leaves enjoy bright window light or an LED grow light while shielding the jar body from hot afternoon sunbeams that heat water above 75°F (24°C).


How to clean an algae-covered hydroponic jar safely


If your jar already has green algae on the glass or roots, a quick 10-minute reset restores crystal-clear water without shocking your plant:


Scrubbing and sanitizing an empty glass hydroponic reservoir jar in a bright kitchen sink with a bottle brush beside clean expanded clay pebbles

  1. Step 1: Lift out the net pot and rinse the roots gently in lukewarm water. Hold the net pot under a gentle stream of room-temperature water to wash loose green slime off the white roots.

  2. Step 2: Scrub the empty jar with warm soapy water and a bottle brush. Empty the green nutrient water, scrub every corner of the glass jar and plastic lid ring, and rinse thoroughly until zero soap suds remain.

  3. Step 3: Sanitize with 3 percent hydrogen peroxide and refill with fresh solution. Swish 2 tablespoons (30 ml) of standard 3 percent hydrogen peroxide around the clean jar for 2 minutes, pour it out, refill with fresh pH-balanced nutrient water (5.5 to 6.5 pH), and put your light-blocking sleeve in place.


Common hydroponic algae mistakes to avoid


Using bare clear glass mason jars on a sunny windowsill


Clear jars look great in photos on day one, yet in real indoor setups—as we note in Hydroponics vs Soil: Which Is Better for a Small Apartment?—unshielded glass acts like a miniature greenhouse for algae. Always cover the outside of clear reservoirs.


Pouring aquarium algaecides into edible herb or lettuce jars


Chemical algaecides sold for ornamental fish tanks are not labeled for food crops and can be absorbed into edible basil, mint, or lettuce leaves. Stick strictly to physical light-blocking and food-safe 3 percent hydrogen peroxide sanitation between refills.


Topping off old green nutrient water instead of replacing it


Adding fresh nutrient solution on top of algae-filled water feeds the algae bloom faster and leaves imbalanced salt ratios behind. Always dump, scrub, and refill with fresh solution every 2 to 3 weeks.


Timing, measurements and aftercare


  • Reservoir light rule: 0 percent light transmission into the nutrient chamber; keep leaves in bright light.

  • Ideal water temperature: 65 to 72°F (18 to 22°C) to keep dissolved oxygen high.

  • Sanitizing rinse dose: 2 tablespoons (30 ml) of 3 percent hydrogen peroxide swirled inside a clean 32 fl oz (1 liter) jar for 2 minutes between nutrient changes.

  • Full reservoir refresh: Empty, scrub, and refill Kratky jars and small countertop reservoirs every 2 to 3 weeks.


Equipment mentioned in this guide

Opaque sleeves, clay pebbles, and a bottle brush keep small-space hydroponic reservoirs spotless.

Frequently Asked Questions


Why does my hydroponic mason jar keep turning green?


Green water or slimy green film inside a hydroponic jar happens when sunlight or grow-light beams hit nutrient-rich water. Algae spores need light to photosynthesize—wrapping the jar in a black sock, neoprene sleeve, or matte black paint stops algae growth completely.


Will green algae kill my hydroponic plants?


A small amount of algae will not kill a plant overnight, but heavy algae blooms steal dissolved nitrogen and oxygen from the roots, raise solution pH, and trigger slimy root rot if left uncleaned.


Can I put hydrogen peroxide in my hydroponic jar to kill algae?


Hydrogen peroxide works best as a 2-minute sanitizing rinse on empty, scrubbed jars and clay pebbles between nutrient changes rather than pouring large amounts onto live roots. Blocking 100 percent of light from the jar prevents algae from returning without chemicals.


How often should I clean and change the water in a Kratky hydroponic jar?


Empty, scrub, and refill small 32 fl oz (1 liter) Kratky mason jars with fresh pH-balanced nutrient solution every 2 to 3 weeks—and always leave an air gap around the upper roots when refilling so the plant can breathe.



About the author. Hi, I'm Tom, creator and curator of Urban Roots Guide. I'm lucky to have a garden, but not everyone does, so I bring my passion for plants indoors and share what I learn about houseplants, hydroponics and growing in small spaces. I'm not an expert, just someone who loves spending time in nature and wants to help more of us bring greenery home. Read more about me

bottom of page