Mothballs that repel mice and rats are a common misconception. Mothballs contain small amounts of naphthalene and in large quantities can be preventive. However, they are not powerful enough to get rid of mice and rodents.