Preheat the oven to 400F and set a wire rack inside a rimmed baking sheet so the fat drips away and the bacon crisps evenly.
Press one pecan half into each pitted date, tucking it in so it sits flush with the opening.
Wrap half a slice of bacon around each stuffed date, pulling it snug but not tight enough to tear.
Secure each with a toothpick through the centre.
Whisk the maple syrup and cayenne together, if using, and brush it lightly over each wrapped date.
Arrange the dates on the rack, leaving space between them so hot air can circulate.
Bake for 15 to 20 minutes, until the bacon is browned and crisp and the pecan smells toasted.
Brush with the remaining maple syrup in the last 5 minutes for a shinier glaze, watching closely so it doesn't burn.
Let the dates cool on the rack for 5 minutes before piling onto a platter; the glaze stays hot longer than you expect.