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.
Alcocer pursued a law degree at Universidad Nacional Autónoma de México (UNAM) before transitioning to a career in private industry, eventually entering politics, where he served as Secretary of the Tijuana City Council and later became a member of the 56th Federal Legislature.