The short answer
Many rocks and pieces of driftwood are safe, and a few cause problems. Stones that contain calcium carbonate, such as limestone and marble, can raise pH and hardness over time. Driftwood can release tannins that tint the water and, in soft water, lower the pH. Test anything before you add it, and prepare wood before it goes in.
Test rocks with vinegar
Scrub the rock and rinse it well. Put a few drops of white vinegar on a clean spot. A fizz usually means calcium carbonate is present. A rock that fizzes is one to keep out of any tank that needs soft or slightly acidic water.
The vinegar test is a rough screen rather than a lab result. A rock that does not fizz is not a guarantee of safety, since the test can miss rocks with only a little limestone in them. If you need certainty, ask the supplier what the stone is.
Stones that are usually safe
Granite, slate, lava rock and quartz are common choices in aquarium guides, and they are generally considered inert. Look out for a few other types:
- Limestone, marble and coral rock. These can raise pH and hardness over time.
- Soft stones, such as some sandstones. They can crumble in water and change its chemistry.
- Copper-bearing minerals, such as malachite and azurite. These are toxic to fish, so avoid them.
- Stones from unknown outdoor sources. You can’t tell what they contain, so test them or leave them out.
Whatever you choose, scrub the stones and rinse them well before they go in. Skip soap and detergent, since residue can harm fish.
Driftwood and tannins
Driftwood releases tannins, which stain the water the color of weak tea. Tannins are generally not harmful to fish at normal levels, and many keepers like the look. A common question is “does driftwood lower pH in aquarium?” The honest answer is that it can, but usually only in soft water with little buffering. In harder, better-buffered water the effect is much smaller, so test the pH before and after adding wood.
Prepare driftwood
Scrub the wood and remove any loose bark. Then soak it in a bucket until it stops floating, or until the water stops darkening. This can take one to two weeks for a large piece, and you may need to change the water as it stains. Boiling for an hour or two can speed things up and kill some microbes, and it works for pieces that fit in a large pot you will not use for food.
Neither method removes every tannin, so expect some tint to remain. That is normal and usually fades over time.
Cedar and unknown wood
Opinions on cedar differ. Many keepers avoid it, and wood sold for reptile enclosures may contain substances that harm fish, so don’t assume that it is aquarium-safe. Wood you find outdoors can carry pests, mold or chemicals, and it is hard to know what it has been exposed to.
If you are unsure, choose wood sold as aquarium driftwood, and prepare it the same way.
After you add them
Once the rocks and wood are in and the water has settled, test the pH, KH and hardness. If the pH moves more than you expect, remove the item and look for the cause before you change anything else. A small shift from driftwood is normal in soft water, but a sudden change is a sign something is wrong.