Rabies is a fatal zoonotic disease that affects several mammals. Bats are recognized hosts of the rabies virus, and their main food source is the blood of other mammals, particularly cattle. During feeding, bats transmit the virus to cattle, which are victims of the disease, contributing to economic losses and increasing the risk of infection for humans. Based on this affinity in the rabies cycle between bats and cattle, the objective of this study was to analyze the phylogenetic relationships of rabies virus samples in cattle and bats. The G gene of the rabies virus was chosen for this study because it is directly related to the infection process. Nucleotide sequences of the viral G gene were selected from GenBank for samples obtained from infected cattle and bats. Maximum parsimony analyses were conducted using the Molecular Evolutionary Genetics Analysis software. The Maxima Parsimony tree indicated a phylogenetic relationship between the G genes of both hosts, indicating that the virus evolved from bats to cattle. Analysis of parsimoniously informative sites revealed that the viral G gene carried specific mutations in each host. Knowledge of the evolutionary relationships between the rabies virus and its hosts is critical for identifying potential new hosts and the possible routes of infection for humans.