Spain's struggling banks will receive as much as €100 billion ($123 billion) in emergency loans from European governments under terms of a tentative deal reached early Tuesday by euro zone leaders.

The first €30 billion, which will come from the euro zone's rescue fund, could be dispensed by the end of the month, the Financial Times reported.

Euro zone leaders decided to recapitalize the banks directly to keep from expanding the Spanish government's balance sheet.