Wifred or Wilfred (Catalan: Guifré, Spanish: Vifredo or Wifredo) (c. 970 – 1050) was the Count of Cerdanya (988–1035; as Wifred II) and Count of Berga (1003–1035; as Wifred I). He was the eldest son of Oliba Cabreta and Ermengard of Empúries.