Cook hamburger patties from frozen in an air fryer set to 370 degrees for approximately 14 to 15 minutes, turning them over halfway through cooking. The Food and Drug Administration advises cooking hamburgers to an internal temperature of 165 degrees, so check that yours are done properly.