"FC Barcelona and Valencia CF have reached an agreement for the transfer of the player Norberto Murara Neto," Barcelona said in a statement.
"The cost of the transaction will be 26 million euros (23.30 million pounds) plus 9 million in add-ons."
Barcelona also said that they would be inserting a release clause of 200 million euros in Neto's contract and the 29-year-old is expected to be backup to first-choice Marc-Andre ter Stegen.
Neto made 47 appearances for Valencia in all competitions last season, and his 10 clean sheets in La Liga helped them qualify for the Champions League after they clinched the fourth and final spot at the end of the campaign.
(Reporting by Rohith Nair in Bengaluru; editing by Sudipto Ganguly)