You need to cook hamburger patties for 7 to 8 minutes in an air fryer preheated to 370℉. Cooking time will vary depending on burger thickness and how well you like the burger done, but the internal temperature should be at least 160℉.