Why Is the Sand in My Aquarium Turning Black? Causes and When to Worry

Close-up of fine black sand, for a guide to aquarium sand turning black

Black under a lighter top layer may be compacted sand with little oxygen below the surface; Swell UK, an aquarium retailer, blames anaerobic bacteria in dirty sand. The other usual suspects are something rotting in one spot, a slime film (cyanobacteria) or algae on top, and dark soil showing through from under the sand.