Mrema earned a Bachelor of Law from Tanzania's University of Dar-es-Salaam, followed by a Master of Law degree from Dalhousie University in Halifax, Canada and a Postgraduate Diploma in International Relations and Diplomacy from the Centre of Foreign Relations and Diplomacy in Dar-es-Salaam, Tanzania.[3]