There are several reasons why your worms may be trying to escape the compost bin. These include: The bedding is too acidic: You can crush some eggshells and add them to help balance out the pH. High temperatures: Worms tend to escape when the temperature gets too high. You should relocate the bin to a cooler area to stop the worms from getting away. Excessive moisture: Try to drain the excessive moisture to help make the compost bin more habitable for the worms.