In fact, Spanish is the official language of Spain, including the Balearic Islands where Palma is located.
However, it's also important to note that:
* Catalan is a co-official language in the Balearic Islands, and it is spoken by many people in Palma.
* Mallorquín is a dialect of Catalan that is widely spoken in Mallorca.
* English is also becoming increasingly common in Palma, especially in tourist areas.
So while Spanish is the dominant language, you'll likely encounter other languages as well in Palma.