Cook onions covered, over medium heat for 30 minutes or until onions begin to turn golden brown and caramelize. Watch them so they don't burn.
Remove lid and cook for 5 more minutes and then add 1/2 C water. Allow water to evaporate.
Set aside, onions can be made several days ahead of time and refrigerated.
Mix together the mayo, ketchup, relish and vinegar in a bowl and set aside.
Form meat into 8 patties about 4 inches wide and 1/2 inch thick.
Heat griddle and lightly brush with vegetable oil.
Toast the buns on the griddle, split side down.
After they are toasted golden brown spread the bottom bun with 1 Tbsp of the mayo mixture.
Top with tomato and lettuce.
Salt and pepper both sides of hamburger patties and cook on the griddle for 3-5 minutes.
Spread top of patty with 1 1/2 tsps mustard and flip.
Top patty with cheese and allow to cook until desired doneness.
Add hamburger to bun and top with caramelized onion.
Video
Notes
If you want to use your grill, the burger will have a different flavor to it The In n Out burger is cooked on a griddle. If you want a more authentic flavor, use a griddle.The recipe calls for ground beef chuck (at least 60% lean) This is different than regular ground beef. If you can't find beef chuck use a 70/30 or 80/20 ground hamburger.