Cook from frozen. Keep that meat in the freezer! Do as most instructions advise, and cook the patties from frozen. When they have time to warm up, the outside of the patty thaws and gets mushy, and you won't get a good sear. Plus, the patty will cook unevenly since the middle of the burger is still frozen solid.
Preheat your (preferably cast-iron) pan. Turn your stove to medium, and get that pan at an even heat so that when you throw your frozen burger on there it sizzles.
Leave it be. As for how long to cook frozen hamburger patties, you're going to base the cooking time on sight rather than a specific time. (That being said, you're looking at around 10-12 minutes cook time per frozen patty.) Let the burger get a nice even sear on the first side—don't poke it, prod it, or press it. Once natural beef juices start to appear on the top of the patty, that's your sign to give it a flip.
Use a meat thermometer. You're cooking raw beef from frozen. Sometimes you're not going to get it right. To avoid a frozen hockey puck of a patty, use a meat thermometer to test the inside. It should register a minimum of 160 degrees Fahrenheit for medium doneness (and for food safety).
Use an air fryer. Yes, the air fryer really can do it all. Add your frozen hamburgers in a single layer to the air fryer basket. Then, all you have to do is cook on 375 degrees Fahrenheit for 20 minutes and flip halfway through cooking time.
Use the broiler. If you're wondering how to cook frozen burgers in the oven, the answer is all in the broiler. Preheat the broiler to high. Place your frozen patties on a tray about four inches from the heat source. Broil for five to six minutes per side, or 10-12 minutes total.
The grill method: Yes, burgers and grills go together like milk and cookies, but the same can't really be said for frozen burgers. The uneven heat of a charcoal grill can result in charred outsides and raw insides. Your best bet is a gas grill. Bring the grill up to a medium 325 degrees Fahrenheit. Cook the patties for six to seven minutes each side.