The N4 road is a national primary road in the Republic of Ireland, running from Dublin to the northwest of Ireland and Sligo town. The N6 to Galway diverges from this route after Kinnegad, while the N5 to Castlebar and Westport diverges at Longford town. The section of the N4 that is motorway standard is designated the M4 motorway.