€10,000 at the border: prepare the declaration before travelling.
Carrying cash and paying in cash are different matters. Check your route and the applicable form.

Cash does not replace paperwork. And the airport is a poor place to discover which form you forgot.
Spain’s Tax Agency states that entering or leaving Spain with means of payment worth €10,000 or more, or the equivalent in another currency, requires a prior declaration. For movements within Spain, the stated threshold is €100,000. These are not general limits for cash purchases in shops: this is about transporting means of payment.
When entering or leaving the European Union with €10,000 or more in cash or its equivalent, EU declaration requirements also apply. The European Commission’s definition includes certain bearer instruments and certain forms of gold; it is not limited to euro banknotes.
Travelling between EU countries? Do not assume national obligations disappear. Spain’s Tax Agency explains when form S1 applies to accompanied movements between Spain and another Member State.
Before leaving, identify your complete route and consult official Customs instructions. Carrying another currency does not avoid the equivalent-value calculation. This guide is general information; confirm the procedure for your circumstances with the competent authority.