Livestock confinement is often done during the night when carnivores are most active. How effective a specific enclosure design is, appears to be dependent on how well it targets the entrance technique of the carnivore species that threatens the livestock. The effect is thus context dependent.
The effect of night time confinement has been evaluated in two scientific studies. In the first study researchers found that sheep that were always, or sometimes, confined in a barn during the night suffered less risk of being killed by brown bears or wolves in Slovakia. The second study found that livestock that returned to night corrals suffered less risk of predation from pumas in southern Brazil.