Ducks sleep where they can, as long as they feel safe. They can sleep on water or on land, and they have interesting sleeping habits. They use USWS and camouflage to protect themselves as they sleep.
Wild ducks that live in an area with plenty of lakes and ponds typically sleep floating directly on the water. This is a great place for them to sleep because it prevents their top predators (hawks and eagles) from detecting them while they rest. Additionally, a duck that is floating will not be disturbed by ripples in the water that might indicate that a predator is near.
Farm or domesticated ducks, on the other hand, often roost at night in chicken coops or hen houses. These structures are built to provide ducks with a comfortable place to sleep. The fact that they are protected by a structure, in addition to the warmth provided by their feathers and a thick layer of body fat, makes them more comfortable during the night.
Many people may see ducks laying on the ground or in the mud during a cold evening and be tempted to throw them some bread. While this can be beneficial to the animals, it is important not to interfere with the natural habitat of wild animals. They are resilient creatures that have evolved to handle varying weather conditions and threats from predators, including humans.
During the day, ducks tend to roost on grass or the shore. At night, they can also be found roosting in trees. Muscovy ducks, in particular, prefer a perching position above the ground, rather than a floating position on the surface of the water.