Preheat your oven to 250°F.
In a large mixing bowl, combine the vegetable oil, ranch dressing mix, garlic powder, onion powder, dried dill weed, and cayenne pepper (if using). Whisk until well combined.
Add the pretzel sticks to the bowl and toss them in the seasoning mixture until they are evenly coated.
Spread the coated pretzels in a single layer on a large baking sheet.
Bake in the preheated oven for 30 minutes, stirring every 10 minutes to ensure even coating.
Remove from the oven and let cool completely before serving.