Fergus mac Róich (son of Ró-ech or "great horse"; also mac Róig, mac Rossa) is a character of the Ulster Cycle of Irish mythology. Formerly the king of Ulster, he is tricked out of the kingship and betrayed by Conchobar mac Nessa, and becomes the ally and lover of Conchobar's enemy queen Medb of Connacht, and leads her expedition against Ulster in the Táin Bó Cúailnge. The name Fergus (later Irish Fearghus) means "man-strength" or "virility", and Fergus is described as being of enormous size and sexual potency.
Flidais, wife of Ailill Finn, a petty king of a district of Connacht, falls in love with Fergus from afar. Fergus and Dubthach visit Ailill Finn, claiming to have fallen out with Ailill and Medb, and provoke him to battle. However, he proves difficult to defeat, beating Dubthach in single combat and holding out against a siege of his stronghold. Fergus is only able to defeat him when Ailill arrives with the army of Connacht. After that, Fergus marries Flidais. It is said that unless he could have Flidais, it took seven women to satisfy him. He also becomes Medb's lover, and she is said to have needed thirty men to satisfy her if she couldn't have Fergus.
The Connacht army separates, with Ailill leading one section, and Medb and Fergus leading the other. Ailill is suspicious, and sends his charioteer to spy on them. The charioteer finds Fergus and Medb having sex, and unnoticed, steals Fergus' sword, which Ailill keeps safe as proof. Fergus makes himself a dummy sword of wood to hide his loss. Cúchulainn holds up the army's progress by fighting a series of champions in single combat. Fergus is sent to face him, but as foster-father and foster-son, neither wants to fight the other, and in any case Fergus has no sword. Cúchulainn agrees to yield on this occasion, on the condition that Fergus yields the next time they meet.
Eventually the Ulstermen recover from their curse, and the final battle begins. Ailill gives Fergus back his sword. Fergus meets Conchobar on the battlefield, and has him at his mercy, but is prevented from killing him by Cormac. He redirects his rage into cutting off the tops of three hills with his sword. Cúchulainn, who has so far sat out the battle, recuperating from his wounds, enters the fray and challenges Fergus. Fergus honours his promise and yields, pulling his followers from the field. Medb's other allies, seeing him withdraw, panic and begin to retreat. The Connacht army is routed, and Fergus bitterly remarks, "It is the usual thing for a herd led by a mare to be strayed and destroyed.
One day, after Fergus has been in exile for fourteen years, Ailill sees him swimming in a lake with Medb, and is overcome with jealousy. He tells his brother, Lugaid Dalleces, who is blind, that deer are playing in the water, and persuades him to throw a spear at them. He does so, and the spear hits Fergus in the chest. He climbs out of the water and throws the spear back, killing Ailill's deer-hound, before dying. His death-tale relates that he had killed Éogan mac Durthacht, but this story is lost.
The Ciarraige, an early medieval people who gave their name to County Kerry, traced their ancestry to Ciar, a son of Fergus and Medb. Another legendary Ulster king, Fergus mac Léti, is regarded as a double of Fergus mac Róich: both die in water, and are associated with the sword Caladbolg. Another legendary Fergus, Fergus Foga of the Corcu Óchae of Munster, is identified with Fergus mac Róich by T. F. O'Rahilly.