The 21-year-old is expected to arrive in Barcelona on Thursday and a deal will be signed, following a medical.
Espanyol will have an option to make the move permanent for around €3million.
Roncaglia will replace Sergio Sanchez and Marc Torrejon, who have both left the club this summer.