A Scottish or Irish patronymic surname, from given names.
"The town hall was built by James Irwin, a descendant of an old family whose name derived directly from their ancestor's first name."
The name Irwin comes from the medieval given name Erwin, which combined Old English words for "boar" and "friend." This original meaning of a boar friend traveled into English as a personal name rather than evolving into a common noun.