The time required to get rid of a mouse infestation varies depending on the severity, but it typically takes a few weeks to several months.