The short answer
Yes, it can, but usually only a little, and not in a predictable way. Driftwood releases tannins, which are weak organic acids. They can lower pH and stain the water a tea color. In water with a good buffer, the effect is often small or hard to see.
How tannins work
Tannins leached from wood are weak acids. How much they lower pH depends on how much is released and on how well the water resists change, which is set by KH. High KH blunts the effect. Low KH makes the effect easier to see, but low KH also makes the tank less stable, so a visible drop is not automatically a good result.
What changes the result
- Wood type. Species differ, and sources disagree on which woods release the most tannins.
- Age. Freshly cut or unseasoned wood tends to release more tannins than wood that has soaked for a long time.
- Amount and size. One small piece rarely changes much. More wood, or larger pieces, in a smaller tank has a bigger effect.
- Buffering. High KH limits the change.
- Preparation. Hobbyists report that boiling and long soaking reduce tannin release, but may not remove it entirely.
What to expect
Hobbyist reports vary widely. Some tanks show almost no change. Others see a drop of a few tenths of a unit over a day or two, usually where buffering is low. Because of that spread, do not rely on driftwood to reach a target pH.
Driftwood and fish
Hobby guides generally treat tannin staining as a cosmetic effect at normal levels, and many keepers use wood without trouble. A new piece can still shift the readings slowly, so test again after a week or two. If you are unsure whether a piece of wood is safe to add at all, see are rocks safe for aquarium, which covers both wood and rock.
Testing the effect
Test pH and KH before you add a piece of wood, then again after a week or two. A test kit makes the change visible and tells you whether the wood is doing anything. For the basics, see how to test aquarium water.
Better options for a firm change
If you need pH to move in a specific direction, wood is a weak and uncertain tool. Other approaches are more controllable, and how to lower ph in aquarium compares them.