The analogWrite() method in Arduino can be used with pins that support Pulse Width Modulation (PWM). These pins are typically marked with a tilde (~) symbol next to their pin numbers on Arduino boards.