It typically takes 3–4 weeks for Java moss to attach to driftwood. The length of time will vary depending on the environment and the moss’s growth rate.
In a fertilized, well-lit tank with no algae, Java moss may be able to attach to driftwood within a week. On the other hand, the anchoring process can take up to three months in a dimly lit tank.
Because Java moss can’t grow properly if it floats freely in the tank, you need to help secure it to the driftwood before it can attach itself. You can use a thin fishing line, cotton thread, or super glue to do this.