How long it takes to get rid of German cockroaches depends on the size of the infestation. It takes an average of two weeks to get rid of German cockroaches, but a more significant infestation may take up to eight weeks.