The Munster champions - either Kerry or Clare - will be at home to Monaghan in the first round of the Sam Maguire Cup next month, while Cork will travel to face the Munster runners-up in their opening game.
The winners of Sunday’s provincial final in Ennis will be joined by the Leinster runners-up, Dublin or Louth, third seeds Monaghan and last year’s Tailteann Cup winners Meath in Group 4.
As fourth seeds, Cork have been included in Group 3 alongside the Ulster champions Armagh or Donegal, the losers in Cusack Park and Tyrone.
All-Ireland champions Dublin, should they beat Louth in the Leinster final on Sunday week, will be placed in Group 2 along with the Connacht finalists, Roscommon and Cavan.
In the most difficult group, the Connacht winners, Galway or Mayo, were drawn alongside the Ulster runners-up, Division 1 victors Derry and Westmeath.
Irrespective of what happens this Sunday, Clare, Cork and Kerry will commence their All-Ireland series on May 18/19. The other two games that weekend will be Galway/Mayo v Derry and Galway/Mayo v Cavan.
The Leinster and Ulster finalists open their campaigns the following weekend where the pick of the games will be Tyrone travelling to face Armagh or Donegal in Ballybofey or Armagh city.
Sam Maguire group stage.
Connacht winners (Mayo/Galway), Ulster runner up (Armagh/Donegal), Derry, Westmeath.
Leinster winners (Dublin/Louth), Connacht runners-up (Mayo/Galway), Roscommon, Cavan
Ulster winners (Armagh/Donegal), Munster runners-up (Clare/Kerry), Tyrone, Cork.
Munster winners (Clare/Kerry), Leinster runners up (Dublin/Louth), Monaghan, Meath.
Kildare, Leitrim, Longford, Waterford.
Sligo, Antrim, Wexford, Tipperary.
Fermanagh, Laois, Wicklow, Carlow.
Down, Offaly, Limerick, London.
Galway/Mayo v Derry; Armagh/Donegal v Westmeath; (home team first): Westmeath v Galway/Mayo, Derry v Armagh/Donegal; Galway/Mayo v Armagh/Donegal; Derry v Westmeath.
Galway/Mayo v Cavan; : Dublin/Louth v Roscommon; Cavan v Dublin/Louth; Roscommon v Galway/Mayo; Dublin/Louth v Galway/Mayo, Roscommon v Cavan.
Clare/Kerry v Cork; Armagh/Donegal v Tyrone; Tyrone v Clare/Kerry, Cork v Armagh/Donegal; Armagh/Donegal v Clare/Kerry, Tyrone v Cork.
: Clare/Kerry v Monaghan; Dublin/Louth v Meath; Meath v Clare/Kerry, Monaghan v Dublin/Louth; Clare/Kerry v Dublin/Louth; Monaghan v Meath.
Kildare v Longford, Leitrim v Waterford; Waterford v Kildare; Longford v Leitrim; Kildare v Leitrim, Longford v Waterford.
Sligo v Wexford, Antrim v Tipperary; ; Tipperary v Sligo, Wexford v Antrim; Sligo v Antrim; Wexford v Tipperary.
Fermanagh v Wicklow, Laois v Carlow; Carlow v Fermanagh; Wicklow v Laois; Fermanagh v Laois; Wicklow v Carlow.
Down v Limerick; Offaly v London; London v Down; Limerick v Offaly; Down v Offaly; Limerick v London.