Minecraft wiki entry for Villager_(old), associated text: At night or during rain, villagers will run inside, closing doors behind them, and staying indoors until morning. In the morning they will head outside and resume normal behavior.