The amount of time you can leave wax in a dab pen will vary depending on the temperature and humidity of the environment. Generally, it is best to err on the side of caution and remove the wax as soon as it begins to cool or when the environment becomes too dry.