There are no specific laws on sex work and migration, there is however legislation on trafficking in human beings for the purpose of prostitution. There is a restrictive immigration law, as in other EU countries

 Under the Spanish Immigration Law it is prohibited to remain in the country without a residence or work permit. Because prostitution is not considered a job and is not regulated, those working in prostitution have no legal means to regularise their situation and therefore live and work under very precarious conditions that make them extremely vulnerable.

 This means it is impossible for migrants to improve their situation through receiving a legal status or at least attaining access to the minimum rights of citizenship.

Due to their vulnerability created by the restrictive migration policies, even people who intend to work as sex worker can be faced with a situation where their labour is exploited.