Massachusetts regularly ranks as one of the highest coffee consuming states in the country, and Cape Cod offers a bevy of specialty coffee shops and cafes to satisfy that insatiable need. Here are some of our best bets as you set out in search of a great cup of java.

Café Alfresco in Brewster perfectly embraces laid-back Cape Cod coffee shop culture with a range of specialty coffee, espresso drinks and seasonal lattes. The cafe uses locally sourced ingredients for their homemade breakfast and lunch dishes, and the bakery items are made in-house. The outside patio is a favorite gathering spot in summer, when patrons dine or leisurely sip iced coffees under the sun..

Cape Cod Coffee has been delivering hand-picked java to local coffee drinkers since 1970 - long before it was common in cafes across the country. You'll find more than 40 varieties of beans at the roasting facility and retail shop on Route 130, including single origin, organic, flavored and multiple variety blends. Grab a cup of freshly brewed coffee while picking up a bag of beans, or grab a seat to enjoy a craft cocktail with one of their specialty pizzas. Tours of the roasting facility are available on Tuesdays and Thursdays at 11 AM. Make a note: Cape Cod Coffee also has a cafe serving breakfast and lunch in Mashpee Commons.

Those looking for classic espresso, mocha or frozen coffee drinks with a side of handmade chocolates or rich cake should visit Hot Chocolate Sparrow in Orleans. The shop, which began as a chocolate confectionery in North Eastham, expanded to their Orleans location with a full-service cafe specializing in coffee from around the globe, dozens of desserts, and Richardson's Family Farm ice cream served year-round. For a unique treat, try out one of the house-made marshmallows as a snack, or in a giant mug of hot chocolate.

Grab a homemade pastry and unwind with locally-roasted specialty coffee at Great Awakenings Coffee House in Hyannis. The coffee house offers a cozy, homey vibe for great conversations over a cup of joe. Selections include everything from nitro coffee, teas and cold brews to espresso drinks, Chai and Matcha.

Pain D’Avignon in Hyannis was modeled after a neighborhood “Boulangerie,” or French bakery, where locals could congregate over the perfect espresso and fresh bread, croissants and pastries. Their house Espresso is a full bodied blend of Brazilian and Colombian beans with notes of dark cacao, sugar cane, caramel & citrus finish. In addition to great coffee, the café offers European style breakfasts, gourmet lunches and selection of imported cheeses, pates and olive oils.

If you're in search of a sweet snack or hearty breakfast with your coffee, the Hole in One Bakery and Coffee Shop in Orleans delivers. For a full meal, grab a seat at the counter or one of the booths and choose from breakfast and lunch favorites ranging from corned beef hash & eggs, potato pancakes and breakfast sandwiches to salads, paninis and burgers. A square meal is one option, but the cafe is most known for their well proportioned, hand-cut doughnuts, made fresh each day. Regulars stop in daily for flavors like old-fashioned sour cream, honey-dipped, and rich chocolate glazed.

Over at The Mariner Cafe in Hyannis, pair a muffin, croissant or fresh-to-order breakfast sandwich with several varieties of  hot and cold traditional coffee, along with specialty drinks like the Mushroom Mocha and such flavor add-ons as honey, organic maple syrup, vanilla, caramel, chocolate and peppermint.

And it may look like a barn on the outside, but inside, Snowy Owl Coffee Roasters in Brewster offers a warm, cozy retreat. The cafe roasts small batches in-house, filling the shop with a fragrant aroma. In addition to all the usual coffee shop beverages, specialty drinks include pour-over coffee, cold brews, flavorful teas, Peppermint Mocha and even house-made kombucha. Snacks and freshly baked pastries from local bakeries will satisfy hunger, while cozy seating and free wifi make it the perfect place for a few hours of remote working.