Philippe Coutinho will join Aston Villa on loan for the rest of the season from Barcelona.
The deal also includes an option to buy and the midfielder will link up with Villa boss Steven Gerrard, who he played with at Liverpool, once he has completed a medical and received a work permit.
A statement read: "Aston Villa and FC Barcelona have agreed terms for Philippe Coutinho to spend the rest of this season on loan at Villa Park.
"The agreement, which is subject to the player completing a medical and receiving a work permit, also includes an option to buy and Philippe will travel to Birmingham in the next 48 hours."
Coutinho joined Barcelona in 2018 after a five-year spell at Liverpool in a deal worth £146 million but has struggled for form at the Nou Camp and spent 2019-20 on loan at Bayern Munich.
The Brazil international scored 28 goals in 105 appearances and helped them win La Liga in 2018 and 2019.
He becomes Gerrard's first signing at Villa since the boss joined from Rangers in November.
"He's won two league titles at Barcelona, two Copa del Reys," Gerrard said on Thursday.
"If you go and have a look at his Wiki page you'll see a serial winner wherever he goes.
"He's won 63 caps for Brazil, played for Barcelona and was incredible at Liverpool.
"So I can understand why he's linked to a lot of football clubs. I can understand why a lot of supporters up and down the country are speaking about him.
"I don't think you get a nickname of 'The Magician' if you're not a special footballer."