Detailed route Madrid - Lisbon

Or if for sure, from the center of Madrid to Lisbon city, the distance between the towns is metres.

From Madrid to Lisbon, you will get in minutes, subject to the rules of the road and no obstructions and congestion.