Have all the ingredients prepared for making your roasted nuts recipe.
Put the nuts into a mixing bowl and set aside while you make the spiced syrup.
Place the butter, sugar, and water in a small pan, then heat over medium heat until the sugar dissolves and the mixture starts to simmer.
Mix the salt, pepper, and spices into the syrup.
Continue to stir the roasted nuts spice mixture until everything is combined.
Pour the spice mixture over the nuts and stir to ensure all of them are well-coated in syrup.
Spread the spiced nuts and any excess syrup onto the prepared baking sheet.
Bake the nuts for 10 minutes, stirring to ensure even coating. Return to the oven for 5 more minutes, then stir again for perfect roasted nuts with spices.