The main difference between a fedora and a trilby is the brim size. The fedora has a wide or narrow brim, while the trilby has a narrower brim. Additionally, the fedora is often associated with classic style, while the trilby gained popularity in the 1960s and has recently become associated with nerd culture.