This question already has an answer here:
Many big Sci-Fi and Fantasy works, such as Harry Potter and Star Wars, have so much material spanning multiple media types that they have to be pruned every now and again and redefine different levels of canonicity. For example, before Disney came along, there were (I believe) 5 different types of canonicity in the Star Wars universe. Even after Disney, there are still two types. There are also multiple levels in the Harry Potter universe, where the books and word of JK are Tier 1, and the movies are Tier 2.
Does Tolkien's Legendarium have a similar setup, where the books are on a higher level of canonicity than the movies, or is it simply a case of "The movies are not canon"? If so, what are these tiers?