Maureilhan is a commune of 2,260 people (2019). It is in Occitanie in the Hérault department in south France.