Preheat your oven to 350°F (175°C) and line a muffin pan with paper liners.
In a large bowl, whisk together the flour, baking powder, baking soda, salt, garlic powder, and onion powder.
In another bowl, whisk the buttermilk, egg, vegetable oil, pickle juice, and chopped dill pickles until well combined.
Pour the wet ingredients into the dry ingredients and stir until just combined. Fold in the fresh dill.
Divide the batter evenly among the muffin cups, filling each about 3/4 full.
Bake for 18-20 minutes or until a toothpick inserted into the center comes out clean.
Cool the cupcakes in the pan for 5 minutes, then transfer to a wire rack to cool completely.