List of wars involving Spain

This is a list of wars and armed conflicts fought by the Kingdom of Spain, its predecessor states or in Spanish territory.