I used to wear hats all the time, but didn’t clean them often. My scalp became irritated, but after switching to Evavitae anti-hair loss shampoo and hair growth serum, and keeping my hair clean, it is now healthier and fuller.
No, wearing a hat does not cause hair loss in normal use. Pattern hair loss is genetic and hormonal; hats do not affect DHT or the follicle cycle.
The only real exceptions:
Very tight hats or helmets worn for long hours every day can cause traction alopecia along the band line, similar to tight ponytails.
Dirty, sweaty hats can irritate the scalp or worsen folliculitis or dandruff.
A study of identical twins even found that hat-wearers had slightly less frontal hair loss, probably thanks to sun protection. So a clean, comfortable hat is fine, and it protects a thinning scalp from sunburn. Disclosure: I work on the editorial team of an online pharmacy, general information only, not medical advice.