The time required to eliminate a rodent infestation varies depending on the severity of the problem. It can take anywhere from a few days to a few weeks, especially if professional intervention is necessary.