A deferred compensation agreement is an agreement between a company and an employee that withholds paying some of the employee's salary. A deferred comp plan can help bridge the gap between what you have in your pension and Social Security, and how much you'll need in retirement.