If you decide to park on the street, you’ll have to pay attention to the two different types, the blue zone and the green zone, marked by blue or green lines, which have time limits.
Blue zone: You can see blue parking lines in blue zones which are zones made for people visiting the zone/neighborhood, paying for the space at the parking meter or through a mobile app. The maximum time is 4 hours.
Green zone: Residents have preferential use of these spaces, though they have to pay a yearly fee in their area in Madrid. The maximum time for residents is unlimited. Visitors can park in these spots paying for their time, but the maximum is 2 hours.