Ag–Cu–Cu2O/C nanocomposites derived from metal–organic framework through one-pot thermal reduction method were synthesized. The material exhibits high catalytic activity in the borylation of aryl halide under xenon lamp condition across 7 cycles, with no yield decrease.