You can’t take a loan in your country with the Spanish property as security; however, you can mortgage your property at home to purchase the property in Spain. Another solution is to take a mortgage in a Spanish bank with the properties as a security for the mortgages.