The two construction giants struck a deal to jointly buy the airports in the Scottish cities of Glasgow and Aberdeen and the southern English city of Southampton for 1.0 billion pounds, Ferrovial said in a statement.
A consortium owned half by Ferrovial's airport subsidiary and half by "Macquarie Infrastructure Fund 4" has reached a deal to buy all the shares in the airports, currently owned by Heathrow Airport Holdings.
The deal is subject to approval by European regulators and is expected to be sealed by January 2015, the statement said.
Ferrovial has been expanding overseas as Spain slowly recovers from the crash of its domestic construction sector in 2008.