Preheat your oven to 425°F (220°C).
Prepare the cauliflower by removing the outer leaves, cutting it into quarters, and slicing each quarter into bite-sized florets.
Toss the cauliflower florets with the garlic cloves, olive oil, salt, and pepper in a large mixing bowl until well-coated.
Spread the cauliflower and garlic mixture evenly on a baking sheet, ensuring enough space between pieces.
Roast in the oven for 25-30 minutes, stirring halfway through, until tender and golden brown.
Once roasted, taste and adjust seasoning if necessary. Serve warm as a side dish or enjoy on its own.