Quick Answer. Cooked hamburger should be refrigerated within two hours of cooking. Any cooked hamburger or other perishable food that has been left at room temperature for more than two hours should be discarded. Continue Reading.