Preheat your air fryer to 380°F (190°C) for about 5 minutes.
Pat the chicken drumsticks dry using paper towels to remove any excess moisture. This will help create nice crispy skin.
In a large bowl, add salt, pepper, smoked paprika, onion powder, garlic powder, and dried rosemary to the chicken drumsticks.
Drizzle the chicken drumsticks with avocado oil, ensuring they are evenly coated.
Place the seasoned chicken drumsticks in the air fryer basket in a single layer, leaving some space between them for even cooking.
Cook the drumsticks in the air fryer at 380F (190°C) for about 20-25 minutes, flipping halfway through. The chicken should reach a minimum internal temperature of 165°F (74°C) to ensure they are fully cooked.
Once cooked, remove the drumsticks from the air fryer and let them rest for a few minutes before serving.