Line 2 rimmed baking sheets with parchment paper.
In a medium saucepan, bring the sugar, butter, milk, and salt to a rolling boil over medium-high heat. Let boil, stirring often, until the surface is covered in big, rapidly moving bubbles and the mixture registers 230°F on an instant-read thermometer, about 2 minutes. Remove from the heat.
Stir in the peanut butter and vanilla until everything is combined and smooth. Stir in the oats and pretzels.
Working quickly before the mixture sets up, drop 1 ½ tablespoons of the mixture onto the prepared pans, flattening slightly if you like. Let the cookies set at room temperature until firm, about 30 minutes.
Store in an airtight container at room temperature for up to 1 week.
