Prostitution in Francoist Spain (1936–1975) presented the government with a problem. The Nationalist faction in the Spanish Civil War (1936–1939) tolerated the practice, but prostitution was actively opposed by the Catholic Church. During the 1940s, state policy was more tolerant of it, and allowed officially sanctioned brothels to serve the "needs" of men and prevent the spread of sexually transmitted infections (STIs). However, clandestine prostitution was actively suppressed, while its economic causes, which largely involved war orphans and women in dire economic situations, were ignored.

In 1956, the tolerance of prostitution that had been shown by the government of Francoist Spain largely ended, as a result of a number of factors, including the joining of international bodies dedicated to stopping the human trafficking of women. Following the death of Francisco Franco in 1975, prostitutes were one of several groups of women that feminists sought to gain amnesty for.

Background Accusations of prostitution have been used as slanders against women as a form of disempowerment dating back to the Christian Bible. Accusations of being a prostitute have also been used to define who is a "good woman" and who is a "bad woman." False accusations would also be made to discredit social and political opponents.

Fascism and prostitution Fascism sometimes supported regulated prostitution. Opposition to prostitution was much more frequent, often because of a belief that legalization of prostitution would result in a surge of men getting sexually transmitted diseases. In other cases, it was opposed as a violation of religious beliefs. Many fascists in this early period believed that women were defined around reproduction. Thus, the greatest opposition to prostitution often involved a belief that prostitution represented a deep moral and racial crisis. Fascists would slander political enemies of being or supporting prostitutes, as demonstrated through the spread of venereal disease which hurt a country on the whole. Jews in multiple countries would be accused of supporting prostitution.

Battle for women's identities The state set up a battle between women, by encouraging women to define themselves as mothers and state patriots or as prostitutes who opposed to the state.  It was supposed by Pope Pius XII's 1951 direction on the purpose of Christian marriage, which said, "In accordance with the Creator's will, matrimony, as an institution of nature, has not as a primary and intimate end the personal perfection of the married couple but rather the procreation and upbringing of new life. ... One of the fundamental demands of the true moral order is the sincere acceptance of motherhood's function and duties."  In the case of Spain, the Franco regime's imperative view was motherhood should only ever occur in the context of marriage.

Legality and practice Prostitution, and how to combat it, was a problem for the Franco regime, given its historical acceptance and Catholic views opposing it. A zealous system of monitoring public morality was created to combat it. The 1935 decree banning prohibition was overturned in 1941, when the regime made prostitution legal, with the purpose of providing economic relief for women and combating sexually transmitted diseases among men. Prostitution was no longer viewed as a problem, but the immorality of prostitutes themselves was. The Patronato de Protección de la Mujer was created in 1941, with the goal of eliminating prostitution. Aligned with Roman Catholic interests, it served as an arm of the regime, seeking to monitor prostitutes and to rehabilitate these women, to bring them into line with Spanish definitions of womanhood. The organization was presided over by Carmen Polo, Franco's wife. Their rehabilitation efforts were often done at asylums, like Ciempozuelos, or prisons, like Calzada de Oropesa, Toledo. According to Paul Preston, "The increase in prostitution both benefited Francoist men who thereby slaked their lust and also re-assured them that 'red' women were a fount of dirt and corruption".Preston, Paul. The Spanish Civil War. Reaction, revolution & revenge. Harper Perennial. 2006. London. p. 308 The Patronato de Protección de la Mujer created numerous reports on prostitution in the years after its founding. The two most important reports were published in 1943 and 1944.

Prostitution was tolerated by the Catholic church during parts of the Franco period, as it was seen as a way to provide marital harmony by giving men a relief valve. It was also a way of continuing to control female sexuality, and reinforcing Catholic concepts of male dominion over women.

Several types of prostitution existed in the 1940s. This included public prostitution organized by regulated establishments run by pimps or businessmen, and private prostitution organized by sex workers without the involvement of third parties both within and outside state exercised control. The regime was less concerned with regulated places of prostitution, and more concerned with clandestine prostitution. Street prostitutes were vulnerable to law enforcement official efforts to clean up prostitution, and put these women in prisons or reform institutions. Authorities justified these efforts by saying they were trying to prevent the spread of venereal disease. These women would be taken to prisons and reformatory institutions that "were the correct scientific response to the problem of prostitution from the psychological and pedagogical points of view". Still, many women had no choice but to become street prostitutes, because their economic situation was so dire.

During the 1940s, prostitution was described as causing a number of other social ills, including abortions, infanticide, and the corruption of minors.PATRONATO DE PROTECCIóN A LA MUJER: Informe sobre la moralidad pública en España. Memoria correspondiente al año 1942. Edición reservada, destinada exclusivamente a las Autoridades, Madrid 1943 y La moralidad pública y su evolución. Memoria correspondiente al bienio 1943–1944. Edición reservada, destinada exclusivamente a las Autoridades, Madrid 1944. Parque de Mendigos de los Mataderos area of Madrid was a particularly grim place for women and children to live in the 1940s. The zone was still feeling the effects of the Spanish Civil War, and had not recovered. Women with no other resources in that area turned to prostitution as a form of survival. A 1943 Patronato de Protección de la Mujer report from the found that, "There is notorious debauchery in the upper class of society; there are many Amancebamientos and children without a known father. Relaxation has reached such extreme, that sexual illicit relationships "almost dress well" in all spheres social, immoralities are recorded among the family members themselves, with sometimes the most serious and disgusting."

The government of the 1940s largely only recognized prostitution as a societal problem effecting cities, showing a lack of understanding of the economic situation in rural areas. In 1940, there were 1,144 registered prostitutes and 1,140 clandestine prostitutes in Barcelona. There were 1,050 registers and 700 clandestine prostitutes in Valencia. There were 850 clandestine prostitutes in Málaga. Per 1,000 people, Jaén, Palma de Mallorca, Ourense, Cádiz, and Málaga had the largest number of prostitutes. Huelva had 39 drinking houses and dance halls where men could engage prostitutes in 1942. The regime tolerated these so long as they did not openly advertise that these were little more than brothels. As a percentage of the population, smaller cities and major towns often had larger prostitute populations than bigger cities.

Prostitution was quite common in the province of Zaragoza in the 1940s, and was tolerated by the local government. Despite this, prostitutes were often charged with the corruption of minors and with having abortions, most of whom were minors themselves. During the 1940s, Luna represented an extreme case as 10 were found guilty of having abortions, in what appeared to be a co-ordinated effort to hide the existence of an under-age prostitution ring. Most of the girls were unable to sign their own names when brought in by the Guardia Civil.

Women could, and did, go to prison for being prostitutes. During the 1940s, in Almería, 20.45% of female prisoners were there for sexual offenses that mostly included prostitution. This compared to 9% of female prisoners being there because they had abortions, had committed infanticide or abandoned their children, and 4.9% who were in prison for crimes against authority. The remaining prisoners were there for other offenses, like coercion, crimes against religion, weapons possession, or having a false identity.

Prostitution attracted many minors, especially in rural areas. This was an effect of the Spanish Civil War and the regime's crackdown on political opposition in the post-war period. Most of these minors were children of parents who died in the war, who were disappeared by both sides of the war, or whose parents were in prison for political crimes. In this period, many maids found themselves with unwanted male sexual attention they could not escape, and were sometimes sexually assaulted. They would become pregnant and be forced out of their jobs. Men would also blackmail them over these relationships. Because many were unmarried, when relationships were discovered, even ones a result of male coercion, they would be fired for being involved. This would leave these women destitute. Many turned to prostitution, as a result of lacking any other economic opportunities.

Prostitutes were held at facilities run by nuns through Patronato de Proteccion a la Mujer from 1941 to 1985. They were always a minority, representing between 7 and 10% of the population. They would be put into cells next to girls abandoned by their families, spending only a few nights. According to Carlos Álvarez, researcher at the University of the Basque Country, "Their confinement fulfilled two objectives: on the one hand to separate them from the rest of society, so that they did not influence it, and on the other hand to be 'rehabilitated', along the path of redemption."

Many men in this period were addicted to going to prostitutes. Culturally, their virility was held in high esteem, and they faced few consequences for having sex outside of marriage, as it demonstrated their regime-endorsed masculinity. This contrasted with women, who, if they had sex outside of marriage, were slandered by others who accused them, among other things, of being prostitutes.

While the state was more willing to believe in the rehabilitation of prostitutes during the 1940s and 1950s, the Roman Catholic church was not. The Church taught the practice was a mortal sin, along with the use of contraception which they argued was lowering birth rates in Spain and evidence of further immorality in society.

+Number of prostitutes in Andalusia by city in 1941 City Number of licensed prostitution houses Number of unlicensed prostitution houses Number of licensed hour rooms for prostitutes to rent Number of licensed prostitutes Number of clandestine prostitutes Number of prostitutes per 1000 people refsAlmería 24 0 0 150 Some 1.89 Cádiz 34 16 15 350 Many 3.99 Jerez de la Frontera 15 4 2 (12 total beds) 88 200 0.98 El Puerto de Santa María 4 0 2 29 12 minors 0.99 San Fernando 8 0 0 30 to 35 0 0.91 Córdoba 46 0 14 (56 beds) 308 100 (mostly minors) 2.15 Córdoba (province) 21 0 50 0.08 Granada 79 0 1 or 2 beds 348 small number 2.24 Huelva 39 (mostly on 3 streets) Unknown Houses run by women to let beds exist 130 No precise numbers 2.3 Ayamonte 5 3 or 4 0 (13 beds) 16 1.32Rosal de la Frontera 0 0 0 0 30 in their homes, a few of whom are minors 0.0 / 8.66 Isla Cristina 4 0 0 10 Some in external barrios 0.79 Jáen 62 0 0 359 0 6.57 Málaga 120 Reduced number 0 850 Many 3.57 Sevilla No available data