Borrell II (died 993) was Count of Barcelona, Girona, and Ausona from 945 and Count of Urgell from 948.
Borrell was first seen acting as Count during the reign of his father Sunyer in 945 at the consecration of the nunnery church of Sant Pere de les Puelles in Barcelona. In 947, Sunyer retired to monastic life and ceded the government of his realms jointly to his sons Borrell and Miró I. In 948, Borrell inherited Urgell from his uncle Sunifred II. Sunyer died in 950, and Miró died in 966, leaving Borrell sole ruler of more than half of Old Catalonia, a status which led outsiders and flatterers to refer to him as dux Gothiae, "Duke of Gothia". His own documents almost all refer to him merely as comes et marchio, "Count and Marquis".
Borrell was the son of Sunyer. In 967 he married Letgarda, who is speculated to have been daughter of a Count of Toulouse or Rouergue based on the names given to her children. By her Borrell had two sons and two daughters: Ramon Borrell (972-1017), Ermengol (974–1010), Ermengarda and Richilda. After Letgarda's death circa 986, he married Eimeruda of Auvergne in 987.
Borrell's military career seems to have been undistinguished — he is recorded as fighting only two battles and seems to have lost both - and it was under his rule that Barcelona was sacked in 985 by the Muslim leader Almanzor. On the other hand, he had far greater success as a diplomat. Before the attacks of the 980s, and discounting a single raid by the Caliph al-Hakam II soon after his succession in 961, he maintained cordial relations with the Muslim rulers of Córdoba and also sent emissaries to the kings of the Franks. Furthermore, in 970, he voyaged to Rome to meet with both Pope John XIII and Emperor Otto I.