Barrel-aged coffee is created by aging green coffee beans in barrels previously used to store spirits such as whiskey or bourbon. The beans absorb the flavors and aromas present in the barrel, resulting in a final roasted coffee product with distinct flavors like oak, vanilla, and caramel. The process typically takes a few weeks to months, depending on the desired outcome and intensity of flavor.