Yes — Aena publishes two different timetables for the airport itself: 6:00 to 0:00 in winter, and 24 hours in summer. If your flight departs in the early hours of the morning, Aena’s own guidance is to check the terminal’s opening times before you plan your arrival, which only makes sense at an airport that doesn’t run around the clock year-round.