An earmuff for hats, including a holder assembly and a cover assembly. The holder assembly includes a first ring and a second ring coupled together from a bottom portion thereof defining a separated top portion. The cover assembly encloses the holder assembly. The cover assembly is attached to a hat through the holder assembly. The holder assembly is operated to open and close to be clipped to the hat. The cover assembly, when attached to the hat, is an earmuff.