Participants of the actions are expected to protest the Transatlantic Trade and Investment Partnership (TTIP) between the United States and the European Union, as well as US troops' deployment at Spanish bases.
One of the planned activities will take place in front of the US Embassy in Madrid on July 10. The same day, a protest will take place in Seville. Several other Spanish cities, including Cadiz and Cordoba, will also host rallies.
The US leader is also scheduled to meet with Spain's acting Prime Minister Mariano Rajoy and heads of three major Spanish parties, namely the center-left Socialist Workers' Party, the left-wing Podemos and the liberal Citizens.
Obama's trip is about to become the first visit of the US president to Spain in 15 years.