Uncertain. Often suggested to derive from hog, either in reference to Hog Island, a site of shipyards that employed Italian immigrants (who were supposedly called hoggies and who supposedly packed these sandwiches for lunch), or in reference to pork as an ingredient.
Meanings
(Mid-Atlantic, Pennsylvania, US) A sandwich made on a long Italian bread or Italian roll.
I'm going to Wawa to get a hoagie for lunch. Do any of yuhz want anything?
(Scotland, qualifier:chiefly Central Belt) A tortilla or chapati wrap filled with meat (usually doner kebab meat; seasoned lamb or mutton), chips and cheese.
Known as a "hoagie", the combination of chips, doner kebab meat and cheese - which contains 136g of fat and 1224 calories - has been identified as the unhealthiest fastfood meal served to pupils in a recent survey. 2005 August 20, “Forget turkey twizzlers... the 1200-calorie hoagie has arrived Takeaways used by school pupils to be told how to make their food more healthy”, in The Herald:
Many of my early paychecks from waitressing at 15 were spent on hoagies; fat and sauce dripping down my chin as the beige delights in the wrap merged together to create a wrong-but-right finished product. 2018 August 24, Jessica Lindsay, “Central Scotland’s hoagie wrap is a thing to behold”, in Metro: