Ó Máille was a founder member of Sinn Féin and of the Gaelic League in Galway. He was a member of the Irish Volunteers from 1917 to 1921.
He was born in Kilmilkin, in Maam Valley in Co Galway and was a farmer. He was elected as a Sinn Féin MP for Galway Connemara at the 1918 general election. In January 1919, Sinn Féin MPs who had been elected in the Westminster elections of 1918 refused to recognise the Parliament of the United Kingdom and instead assembled at the Mansion House in Dublin as Dáil Éireann. He was re-elected as a Sinn Féin Teachta Dála (TD) for the Galway constituency at the 1921 elections.
He supported the Anglo-Irish Treaty and voted in favour of it. He was re-elected as a pro-Treaty Sinn Féin TD for Galway at the 1922 general election, and was elected as a Cumann na nGaedheal TD for Galway at the 1923 general election. In the subsequent Irish Civil War, he was targeted for assassination by anti-Treaty forces and was shot and badly wounded in Dublin in December 1922. His fellow TD, Sean Hales was killed in the incident.
He was critical of the proposed Irish Boundary Commission and resigned from Cumann na nGaedheal and founded a new political party called Clann Éireann in 1926. He lost his seat at the June 1927 general election and was unsuccessful at the September 1927 general election. He later joined Fianna Fáil (the party which had emerged from the Anti-Treaty side in the Civil War) and contested the 1932 general election for that party in the Dublin County constituency but was not elected. On each of these occasions he was subjected to a smear campaign by his former party colleagues who used his Pro-Treaty stance during the Civil War against him. It was alleged that he had personally selected Liam Mellows for execution. These smears persisted despite denials from the Mellows family and from Ó Máille himself. In fact, Mellows was executed in reprisal for the attack on Ó Máille and Sean Hales in 1922. Mellows was shot the following day while Ó Máille himself was gravely wounded and in hospital.
He served as a Fianna Fáil Senator in Seanad Éireann from 1934 to 1936. He was re-elected to the new Seanad in 1938 on the Agricultural Panel. From 1939 until his death in 1946 he was re-appointed to the Seanad as a nominee of the Taoiseach Éamon de Valera. He was Leas-Chathaoirleach (Deputy chairman) of the Seanad from 1938-42.