Alcalá de Henares
A university city with a UNESCO World Heritage old town, around half an hour from Atocha by train, with rents that look nothing like Madrid's.
University of Alcalá (UAH) students, people working from home two or three days a week, and anyone who wants to live in a real town with its own street life, not a suburb.
Read the Alcalá de Henares guide