A patronymic surname, from given names.
"Many people mistakenly think Hewitt is a first name, but it is actually a patronymic surname derived from the given name Hugh."
The name Hewitt comes from a Middle English version of the personal name Hugh, which was used as an affectionate or smaller form of the original name. It entered English usage during the medieval period to describe someone associated with that familiar nickname for Hugh.