She was later appointed into the Judicial and Legal Service and held the post of Magistrate at Alor Gajah, Jasin, and Merlimau, all in Malacca.
On 11 July 2018, she was appointed to the post of Chief Judge of The High Court of Malaya by the Yang di-Pertuan Agong.
However, she was only sworn-in at the Palace of Justice when she returned to Malaysia on 17 July 2018, hence becoming only the second woman to assume the third highest judicial office of the country.
[5] She succeeds former Inspector-General of Police (IGP), Khalid Abu Bakar, who resigned from office following the defeat of the National Front (BN) in the 14th Malaysian general election.
[6][7] In mid-May 2020, Ibrahim was replaced by Tajuddin Abdul Rahman, United Malays National Organisation's (UMNO's) Member of Parliament (MP) for Pasir Salak, following the 2020 Malaysian constitutional crisis which saw the Alliance of Hope (PH) governing coalition being ousted from power.