At Barcelona - El Prat airport, passengers connecting between two international flights can usually stay in the transit area without going through immigration.
The airport has 4 terminals or concourses (Terminal 1, Terminal 2A, Terminal 2B, Terminal 2C).
Connecting passengers go through a transfer security screening.