Preheat oven to 425 degrees. Trim green beans if necessary. Pat green beans completely dry with paper towels.
Place green beans in a large bowl and toss with olive oil and garlic until evenly coated.
Place green beans on a baking sheet and spread out so the green beans aren't touching each other if possible. You can divide them between two baking sheets if needed. Sprinkle beans with salt and pepper and place in the oven.
Roast for 15-20 minutes or until beans start to look toasted and brown spots start to form.
Notes
Notes: Roasting time may vary depending on the size of your green beans. Thinner beans like haricot verts may require less time, and thicker garden beans may take a little longer.