Bring to room temp: Take the tenderloin out of the fridge 45 to 60 minutes before cooking. Pat it dry very well with paper towels.
Season boldly: Sprinkle all sides with kosher salt and black pepper.
For best results, salt it at least 30 minutes before cooking to help it season through.
Preheat the oven: Set to 425°F (220°C). Place a rack in the center.
Heat your pan: Set a large oven-safe skillet over medium-high to high heat. Add the oil and heat until it shimmers.
Sear the beef: Lay the tenderloin in the hot pan and sear 2 to 3 minutes per side until deeply browned all over.
Don’t rush the browning—it builds flavor.
Add aromatics: Reduce heat to medium. Add butter, smashed garlic, and herbs to the pan. Tilt the pan and spoon the foaming butter over the beef for about 1 to 2 minutes.
Roast: Transfer the skillet to the oven.
Roast until the internal temperature hits your target: about 120°F for rare, 125°F for medium-rare, 130–135°F for medium. This usually takes 15 to 25 minutes, depending on thickness and your oven.
Check early: Start checking with an instant-read thermometer at the 12-minute mark. Insert it into the thickest part for an accurate reading.
Rest: Move the tenderloin to a cutting board and tent loosely with foil.
Rest for 15 to 20 minutes. The temperature will rise 5 to 10 degrees as it rests.
Optional pan sauce: While resting, place the skillet back on medium heat. Deglaze with a splash of red wine or beef broth, scraping up brown bits.
Simmer 2 to 3 minutes, then swirl in a tablespoon of butter. Season to taste.
Slice and serve: Remove the twine. Slice into 1-inch medallions for classic portions.
Finish with a sprinkle of flaky salt and serve with the pan sauce.