The measure, designed to further reduce the spread of coronavirus, was confirmed in government papers published on Tuesday (12 May).
New arrivals will be confined to their homes or accommodation, and will only be allowed out to shop for essentials or seek medical assistance.
Face masks will be compulsory for those who need to leave their accommodation while serving their quarantine period.
Airlines, meanwhile, will be required to provide passengers a "location card" they must fill out and carry when entering the country, allowing health authorities to check up on them.
The quarantine requirement will remain in force until the end of Spain’s current state of emergency (24 May), and will roll over with it if it is extended.
Spain’s measures match those of an increasing number of European countries, including the UK, which are insisting on quarantine for arrivals.
Currently, the two-week isolation requirement has only applied to repatriated Spaniards or Spanish residents returning from Italy.
Several carriers are currently working to a mid-June to early-July timetable to resume flights, including Jet2.com and Jet2holidays (17 June) and Ryanair, which said on Tuesday it hoped to restore around 40% of its normal flight schedule from 1 July.
Both Jet2 and Ryanair have stated these decisions are under constant review, and any plans to resume operations will be subject to local travel conditions and restrictions.