The compost bin should be at least 10 feet from the house. This will help to keep pests away from your home.