Loan officers either earn commission from an origination fee or from the lender. The mortgage loan officer can’t receive compensation both ways, as this is considered illegal as per Regulation Z of the 2010 Dodd-Frank Act.