Preheat the oven to 425°F (220°C)
Pat the chicken legs dry with paper towels
Place the chicken legs on a baking sheet or in a baking dish
Rub or brush the chicken legs with oil
Season with salt, pepper, and any desired spices
Arrange the chicken legs in a single layer
Bake for 35 to 45 minutes
Turn the chicken legs halfway through baking
Check that the internal temperature reaches 165°F (74°C)
Remove from the oven and let rest for 5 minutes
Serve warm
