One of the many grievances I hear about as a professional dog trainer that has a very simple fix is that of dogs that bark and/or whine in the crate. Dogs that have minor crate issues are very easy to work with. Puppies are also very easy to crate train. There are many times where people want to work on private lessons, which are typically an hour long, just to teach the dog to be quiet in the crate, but I am here to tell you, it is very simple. I have outlined and provided a video for you detailing how to work on this issue. I work on this with all of my Day Academy dogs using this exact same method and have a 100% success rate with it. Not many people know it, but one of my biggest pet peeves, no pun intended, is that I cannot stand dogs that bark and whine. Because of this, I work heavily on ensuring dogs in my presence know they can have fun, but should be quiet about it. I also train this without having to use any sort of aversive such as a shock or citronella collar on the dog. A word of warning, this video is for dogs that whine or bark. This is not necessarily for dogs that have anxiety in the crate, separation anxiety, or dogs with a very negative association with the crate. Anything beyond mild barking or whining, you should consult either a certified dog trainer or certified behaviorist to work through those issues.
First things first, in order to figure out how you are going to treat the issue, you need to attempt to figure out the "why" of why the dog performs the behavior. All animals perform a behavior for a reason. If a behavior is continuing to occur or increase, it is being reinforced somehow. The keys to working through a behavior like this is to then stop that reinforcement and to add your own reinforcement for behaviors you would like to see occur, i.e. the dog being quiet in the crate. There are many reasons why dogs bark and whine in the crate, but the three more common ones I see and that will be discussed here are they want out of the crate, they want to be near you and receiving attention from you or another object, or they are bored. When you know the "why", you can either use that reason they perform a behavior as a reinforcement for a more desired behavior, or you can take away that potential reinforcement. An example of this would be if a dog wants out of the crate, letting the dog out of the crate when they are quiet will be reinforced by them getting to be out of the crate once they fall silent. If they are barking or whining, they don't get to be out of the crate. Sometimes it can be tougher to figure out why the dog does what it does when it doesn't seem to fall under the "common" categories, but use your powers of observation and try to figure out what specifically is causing your dog to perform this behavior.
If you have a dog that barks just because they want to get out of the crate, the answer is simple: do NOT let them out of the crate u