Brass screws can be used with pressure-treated lumber, but it's important to note that some types of pressure treatment can be corrosive to brass over time. For the best long-term performance, stainless steel fasteners are often recommended for pressure-treated wood.