Preheat oven to 450 degrees F.
Remove pork tenderloin from the refrigerator. Remove it from the packaging and let it rest at room temperature for 20 to 25 minutes. Pat the tenderloin dry with paper towels.
Combine the onion powder, garlic powder, paprika, salt, chili powder, thyme, oregano, and black pepper in a small bowl. Stir to combine.
Then rub the pork with olive oil and pierce with a fork several times on both sides.
Sprinkle the spice blend over the tenderloin and rub it in with your hands.
Place the tenderloin on a sheet pan with a wire rack or roasting tray.
Bake for 20 minutes or until the tenderloin reaches an internal temp of 145 to 160 degrees F, on an instant-read thermometer, in the thickest part of the meat.
Remove from the oven and allow the tenderloin to rest on a cutting board for 10 minutes before slicing.