The apartment was right across from the train station which is exactly what we needed. It took around 25 minutes in a taxi to get to the main part of Madrid.