Wash the cauliflower and cut it into bite-sized florets. Trim away the tough stem and separate any large pieces so they cook evenly.
Place the cauliflower florets in a steamer basket over a pot with a couple of inches of water. Cover and steam for 8–10 minutes, or until tender. For a firmer texture, steam for 5–6 minutes. Drain any excess moisture.
Preheat your oven to 400°F. Lightly butter a 9 × 13-inch casserole dish and arrange the steamed cauliflower florets in an even layer.
Melt the butter in a medium saucepan over medium heat. Once melted, add the flour and whisk until thoroughly combined. Cook for about a minute to remove the raw flour taste.
Gradually whisk in the milk, stirring continuously to prevent lumps. Simmer until the sauce thickens slightly. Remove the saucepan from the heat and stir in the shredded cheddar cheese until melted and smooth.
Pour the warm cheddar cheese sauce evenly over the steamed cauliflower. Use a spoon to spread the sauce between the florets, making sure they're well coated. Grind fresh black pepper over the top.
Bake uncovered for 30 minutes, until the cheese sauce is bubbling and the top is lightly golden. Allow the casserole to cool slightly before serving.