A retainer fee is an upfront payment made to secure the services of a divorce lawyer. It is deposited into a trust account and used to cover legal fees as the case progresses. Any unused funds are typically returned to you.