Realtor fees are withheld from the sale proceeds at closing, then distributed to the brokerages of the listing agent and the buyer’s agent. The brokerages pay out each agent according to their agreed-upon split.