TripAdvisor looked at 52 locations to compare the average cost of a visit that included a night in a four-star hotel, cocktails for two people, a two-course dinner with bottle of house wine and a return taxi ride.
Barcelona topped the charts with an average of €229.11 ($296.35), closely followed by Ibiza (€221.43) and Palma, Majorca (€217.97).
According to Catalan daily El Periodico, the most budget-friendly locations were Lugo (€115.73) and Murcia (€116.52).
The cost of a night in a Barcelona hotel (€145) is almost that of the entire package in the nearby city of Tarragona (€143.73). A 3km return taxi ride cost €14.82 in the Catalan capital, some 34 per cent more than in the second most expensive city, Soria.
Cocktails in Madrid cost €26.10, the most expensive in Spain and €5.60 more than the Barcelona equivalent. The most expensive average dinner was in Ibiza and cost €59.63.
Although the TripAdvisor survey ranks Barcelona as most expensive it does not seem to deter tourists from flocking there in ever-greater numbers.
Some residents are unhappy with the number of visitors and claim that the influx is destroying the city's character.
Despite this, Barcelona remains the most popular tourist destination in Spain. According to a study by Esade Business School, it is also the European tourist shopping capital: almost 34 per cent of the average tourist's budget is spent in shops compared with just 28 per cent in London and 24 per cent in Paris.