Barcelona will again return to St Andrews to conduct the first week of their pre-season schedule, playing Hibs at Murrayfield on Thursday, July 24 before taking on United at Tannadice on Saturday, July 26.
Barcelona's sports director Txiki Begiristain said: "We are happy to come back to St Andrews taking into consideration that the experience from last year was more than positive.
"The facilities, the weather, the logistics - everything contributed to work in perfect conditions.
"They exceeded all of our expectations. I can confirm that the players were satisfied with the experience and are looking forward to come back this summer."
Hibernian chief executive Scott Lindsay said: "We are delighted to be able to take part in a pre-season fixture against a team of Barcelona's stature.
"The last time the two clubs met in Edinburgh was over forty years ago.
"That was a remarkable occasion and we fully expect this match to provide another fantastic experience for everyone involved."
Dundee United chief executive Stephen Thompson added: "Dundee United and Barcelona have a long-standing connection, dating back to the first time we met in the Fairs Cup in 1966.
"Last year's experience was fantastic for the club and our supporters, with tickets sold out in just days.
"We made many good friends and look forward to renewing acquaintances again in July."