Previously it was a requirement that anyone deemed as a resident, i.e. living in Spain for more than six months each year, had to apply for a Spanish driving license. This requirement no longer exists: providing you have a valid pink European driving license and you are over 18 years of age, you are able to drive in Spain.
In order to purchase a car, new or second hand, you have to either own a property in Spain or have a rental contract for one year or more. You also need to be registered as an inhabitant of your municipality and be in possession of an NIE number or certificate of residencia.
Due to strong competition, car hire in Spain is the cheapest in Europe; this fact also puts Spain the top European destination for visitors renting cars. Andalucía accounts for a high percentage of the annual car hire figures in Spain and there is a plethora of hire companies vying for your business.