Casablanca, city, western Morocco, largest city and chief seaport of the country, on the Atlantic Ocean, near Rabat. It is one of the leading commercial cities of North Africa. It has railroads, highways, and an international airport and has one of the largest artificial harbors in the world; most of the foreign trade of Morocco passes through the city. Cereals, leather, wool, and phosphates are the chief exports. Casablanca also is the country's chief industrial center. The leading industries are fishing, fish canning, sawmilling, and the manufacture of furniture, construction materials, glass, and tobacco products. Hassan II University (1976) and the Great Mosque Hassan II are here.
In medieval times Casablanca was a prosperous town known as Anfa. It was destroyed by the Portuguese in 1468 and rebuilt by them in 1515. Following a severe earthquake in 1755, the city was again rebuilt. In 1907 Casablanca was occupied by the French. Under French administration it grew rapidly, and the modern city was built around the old Moorish city.