Non-EU licence holders, and those not from the countries listed above, after six months will have to sit a Spanish driving test to continue driving within Spain.
Spanish Drinving Licence - Autoescuela Gala v1.64.pdf
It will be necessary to undertake 2 tests:
A Theory test of 30 questions where a maximum of 3 mistakes is allowed. Test can be undertaken in Spanish, English, French and German. Examinations can be taken at Jefatura Provincial de Tráfico de Móstoles.
A Practical test of 25 minutes duration approximately. These will be held on the open highways of Mostoles.
Entry requirements for both tests are: ID card (Tarjeta de Residencia) and a medical certificate issued in a Spanish medical centre.