Most four day Barcelona plans fail in the same way: they are ordered by fame rather than by map, so the visitor crosses the city four times a day and spends a third of the trip on the metro. The city is actually very easy to group. The old city is one walk, the Eixample is another, Montjuïc is a hill, the Sagrada Família and Park Güell are on the same side of town, and the beach is where you go when you have had enough. Here is that, in an order that works.
Before you arrive
Book the Sagrada Família, and book the towers separately if you want them, because they sell out first.
Book Park Güell, which is cheap and still sells out.
Book Casa Batlló or Casa Milà if you want one of the houses in season. One is enough for most people.
Book a restaurant for at least one dinner if you are here at a weekend.
Leave the rest loose, because the pleasure of this city is unstructured hours.
Day one: the old city
Start at the cathedral before ten, while the streets are still empty.
Walk through Plaça del Rei and across into El Born, ending at Santa Maria del Mar.
Lunch at a market counter or two streets off the main axes.
The Picasso Museum in the afternoon on a booked slot, or the Roman level under Plaça del Rei if you prefer archaeology.
Vermouth or a drink in El Born in the early evening, then a long dinner.
Day two: Gaudí and the Eixample
The Sagrada Família first, on the earliest slot you can bear, because the morning light through the eastern windows is the thing people remember.
Walk down Passeig de Gràcia past the modernista houses, going inside one of them.
Lunch in the Eixample, on a side street rather than the avenue.
Park Güell in the afternoon, on a booked slot, with the free wooded park around it afterwards.
Down into Gràcia for the evening, which is a ten minute walk downhill and a completely different city.
Day three: Montjuïc and the port
Funicular up the hill on your ordinary transport fare.
The castle first, for the view over the port, then walk downhill.
One big museum, either the national collection or the Miró foundation, not both.
The gardens on the way down.
The port and the seafront in the late afternoon, ending with dinner in Poble Sec or Barceloneta.
Day four: the beach, the market and whatever you missed
A market in the morning, ideally a neighbourhood one rather than the famous one.
The beach or the coastal walk for the middle of the day, or a swim if the season allows.
The one thing you booked late or wished you had more time for.
A viewpoint at sunrise or sunset, since the city is best understood from above.
A last dinner somewhere you found rather than somewhere you researched.

What to change this for
With children, cut one museum, add the aquarium or the funfair on the ridge, and build in a beach afternoon in the middle rather than at the end.
In winter, move the beach day to a day trip and give the museums more room.
With a match on, build the whole trip around the fixture, because kickoff times are set late and everything else here is flexible.
On five days, add Montserrat or the coast as a full day, not as a morning.
On three days, drop day three and take a shorter version of Montjuïc on your last morning.
Where this fits in a Barcelona trip
This is the shape. The detail lives in the individual guides.
For the groundwork of a first trip, from transport tickets to how the city is laid out and what it costs, our first time guide to Barcelona covers what this plan assumes.
If you would rather read these four days as a schedule than as a plan to adapt, our day-by-day Barcelona itinerary sets out the same shape with the food stops and one signature experience written into each day.
And if there is a home fixture in your window, which reshapes an itinerary entirely, our guide to getting Barça tickets covers how the releases actually work.
The first morning is the one this plan is strictest about, and it rewards knowing the lanes in advance rather than following a map through crowds: our walk through the Gothic Quarter and El Born sets out a route that works before the shutters go up.

The short version
Book the Sagrada Família, its towers and Park Güell before anything else, and put both on the same day. Walk the old city on your first morning before ten. Give Montjuïc a full day and pick one museum on it rather than two. Keep the fourth day loose for a market, the beach and whatever you underestimated. Group by map rather than by fame, and if you want a day trip on top of this, accept that you are trading a day of the city for it rather than adding one.
