Mary Louise McDonald was born on 1 May 1969 and grew up in a middle-class household in south Dublin. Her father worked as a builder and surveyor, and her mother was a homemaker. After her parents separated when she was nine, she lived with her mother in Rathgar. She attended local schools in the area, where she took part in debating at a Catholic girls' school in Churchtown.
She went on to Trinity College Dublin, where she earned a degree in English Literature, and later studied industrial relations at Dublin City University. She received a Master of Arts in European Integration Studies from the University of Limerick in 1995. Her early professional work included research at the Institute of European Affairs and training and consultancy roles in human resources and workplace partnership.
During this period she became involved with the Irish National Congress, a cross-party republican organisation, and was its chairperson from 2000. Her family history includes a great-uncle, James O'Connor, a member of the Anti-Treaty IRA who was executed during the Irish Civil War.