O'Hegarty was a vital and vocal supporter of the Anglo-Irish Treaty within the IRB and was appointed secretary to the cabinet of the provisional government in 1922, participating in the unsuccessful army unification talks to prevent hostilities by unifying army commands in May 1922.
Popular support for the Treaty was strong and widespread, though more marked in the more prosperous east than west.