After Alcocer studied law at Universidad Nacional Autónoma de México (UNAM), he began his career in companies in the private sector, and later entered politics, where he served as Secretario del Ayuntamiento of Tijuana, and later as a federal deputy (diputado federal) in the 56th Federal Legislature.
After Alcocer studied law at Universidad Nacional Autónoma de México (UNAM), he began his professional life in corporate companies, and subsequently transitioned into politics, where he held the office of Secretary of the Tijuana City Council and later became a federal congressman in the 56th Federal Legislature.