Some dogs are afraid of people wearing hats. This quirky behavior can take hold when they’re puppies if they aren’t socialized properly.

But when dogs are exposed to lots of different people who look different and dress differently, they can become accustomed to all sorts of things. And without a fear of hats, sometimes you can even get your dog to wear one.

Since our pups just want to please us most of the time, many will sit still for an obligatory photo shoot.

These 50 good doggos are donning their finest headgear – and, for the most part, looking happy about it.