Painting is better for Trex, as staining comes with a thinner consistency. Also, the paint lasts longer and ensures better durability.