Komazec (Комазец) is a Serbian surname.

The Komazec family settled in Dalmatia during the Great Serb Migrations. They are traditionally living in the former village of Žegar, which now constitutes Kaštel Žegarski, Bogatnik, Nadvoda and Komazeci (now in Obrovac).

Notable people with the name include: