Herein, the origins of organohalide-dependent regioselectivities for Ni-catalyzed dicarbofunctionalization of allyl moiety of N-allyl-2-aminopyrimidine were explored by computational studies. When aryl iodides are used for the dicarbofunctionalization, the detailed reaction mechanistic pathway follows the sequential oxidative addition (OA), migratory insertion (MI), β-H elimination, H-migration, transmetalation, and reductive elimination (RE) to afford the 1,3dicarbofunctionalization products. Due to the presence of chelation of the pyrimidinyl moiety of substrate with Ni, the competitive β-H elimination leading to the product of Heck reaction is less favourable and thus the regioselective β-H elimination occurs. The formation of thermodynamically more stable intermediate is the driving force for the subsequent H-migration. When alkenyl bromides are used, alternative regioselectivity to give 1,2-dicarbofunctionalization products is obtained and the proposed mechanistic pathway proceeds sequentially via OA, MI, transmetalation, and RE. The main reason accounting for the different regioselectivity between aryl iodides and alkenyl bromides involved in dicarbofunctionalization is revealed. In addition, the reversed 2,1-regioselectivity achieved by using alkynyl halides in the Ni-catalyzed dicarbofunctionalization is via sequential steps of OA, transmetalation, MI, and RE. The mechanistic difference that the migratory insertion step is unlikely to occur after OA, which is in contrast to the other two mechanistic pathways, is rationalized.