Kerry will play Dublin in the All-Ireland SFC semi-final while Louth will face Mayo in the other last-four game.
The draw for the games took place on RTÉ following Sunday’s quarter-finals which saw Louth get the better of Monaghan and Dublin edge out Galway. On Saturday, Kerry had defeated Tyrone and Mayo beat Cork.
As Dublin and Louth had already met twice in the championship, they could not play each other in the semi-finals. That meant Kerry and Mayo were put in one bowl and Dublin the other.
“The target coming into the weekend was just to be in the draw,” Dublin manager Ger Brennan told RTÉ.
“Kerry have certainly found a fine vein of form, going back to Armagh in Killarney. They were pushed really, really well by Tyrone, and their experience and exposure and skill set got them over the line.
“We’ll just put our heads down. There’s a lot of things for us to improve on from today’s match.
“We know Kerry are the defending All-Ireland champions, and we’ll certainly prepare as best we can. We’ll give it a go on Saturday or Sunday week.”
All-Ireland SFC semi-finals
Louth v Mayo
Dublin v Kerry