Preheat the oven to 375 degrees F.
Mix brown sugar, cayenne, and black pepper together in a medium bowl. Add bacon and toss.
Line a baking sheet with a wire rack and lay bacon on the rack. Pat any remanding spice mixture on the bacon. Put the baking sheet on the top rack of the oven and bake until crisp, about 15 minutes. Remove from the oven to a serving dish and let cool slightly before serving.