Overdo is a verb meaning to do something too much. Overdue is an adjective meaning late, past the time something should have happened. Memory hook: overdue ends in due, like a due date that has already passed.
The core difference
Overdo is a verb for doing too much, while overdue is an adjective meaning later than expected.
- overdo — to do something to excess, or to cook it for too long: Do not overdo it at the gym on your first day back.
- overdue — later than expected or scheduled: The library book is three days overdue.
How to tell them apart
Look at the last two letters. Overdo ends in do, and you do things too much. Overdue ends in due, as in a due date, so it fits anything that is late, such as a book, a payment or a pay raise.
The mix-up appears because the two words sound the same when spoken, so it is a spelling error rather than a meaning error. Ask whether you mean an action done to excess or something running late, and the right spelling follows.