Beni Ansar (Riffian-Berber: ⴱⵏⵉ ⵏⵙⴰⵔ, Arabic: بْني نصار) is a town in Nador Province, Oriental, Morocco, located 12 km (7½ miles) north of the city of Nador. It is bordered on the north by the Spanish city of Melilla. According to the 2014 census, Beni Ensar has a population of 56,582, and its area is 20 hectares (50 acres).