The general rule of thumb is that two to four hours is the maximum length of time you can leave food in a slow cooker on warm. After this, it needs to be transferred into the refrigerator.