Coconut oil works well for matted hair because it can help remove mats and tangles in your dog’s coat. You should apply coconut oil to the tangle or mat and gently work through with a comb. Coconut oil will help smoothen the coat and make the dematting process easier and less painful for your dog.