A deferred compensation plan is simply an agreement between an employer and an employee about how compensation will be deferred and paid out on a later date. A 401k, on the other hand, is a retirement savings plan that is registered with the government and contributed to by the employer.