The best sealant to keep mice out is a durable and weather-resistant material such as silicone caulk or expanding foam.