Remove the food source that attract mice. Some outbuildings hold pet food, grains or seeds, and mice like to eat these kinds of food. Place these foods into rodent-proof containers, such as plastic bins or metal containers.
Store bulk food or straw stacked neatly on pallets. Some outbuildings, such as barns, must store food. Placing them onto pallets does not necessarily stop mice from eating them, but it can be easily inspected for droppings. Sweep and clean these areas daily.
Keep garbage in thick plastic garbage bins with tight fitting lids. Never leave garbage in plastic bags outside your home or outbuilding. This attracts mice. Clean your yard of debris or garbage.
Weed and cut grass around the perimeter of outbuildings. Tall grass and weeds attract mice, and keeping areas around outbuildings clear can deter some mice. Lay an 18-inch-wide strip of gravel around all outbuildings to prevent mice from burrowing. Keep lumber, firewood and debris away from the perimeter of the outbuilding. Store these items at least 1 foot off the ground
Caulk any cracks or small openings in the walls. Fill areas around drain pipes with silicone. Install screens on all windows. Any small openings must the closed to prevent mice from entering.
Lay mice traps in areas where you have seen droppings. Different kinds of traps are available. Some kill them, like snap traps, while others are live traps. Peanut butter can be used as a bait.
Spray mice repellent. Homemade mice repellent can be made from mint oil mixed with alcohol, and commercial mice repellents are available. Use these near bulk items, but be careful not to taint any food. Bait the mice with rodenticides, but use these with caution. Many of these are harmful to other animals and humans.
Adopt a cat to hunt for mice. Cats traditionally live in barns to keep mice numbers down. However, sometimes mice are able to feed off cat food and hide from the cats.