A counter offer sometimes happens when you tell your current company that you are leaving for a better opportunity. Your current employer panics and immediately offers you a raise and/or increased responsibility if you stay with the company.