Beni Ansar is a town in Nador Province, Oriental, Morocco, located 12 km 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.