Llywarch ap Hyfaidd (died c. 904) was a king of Dyfed from c. 893 until its conquest around 904 by King Cadell of Ceredigion or Seisyllwg and his son Hywel.
Upon Llywarch's death, the kingdom passed briefly to his brother Rhodri, but Hywel soon consolidated his rule, eventually merging Dyfed with his paternal inheritance as the new kingdom of Deheubarth. Later Welsh tradition held that Hywel inherited Dyfed peacefully through his supposed marriage to Llywarch's daughter Elen in a manner similar to the stories told about his great-grandfather Merfyn's acquisition of Gwynedd, his grandfather Rhodri's acquisition of Powys, and his father's acquisition of Ceredigion, all of this despite female inheritance of land having no place in the Welsh law of the period. However, the repeated attacks of Cadell and Hywel were recorded in Asser's Life of King Alfred, where it states Hyfaidd was.