The Mediterranean Sea is bordered by 21 countries, including Spain , France, Italy, Greece, Turkey, Egypt, and Morocco.