Depending on the loss mitigation option you and your lender agree upon, loss mitigation can hurt your credit. When you default on your loan payments or make changes to your mortgage, lenders are required to report these events to credit agencies.
However, there may be some credit protections available to you through the CARES Act or state laws, and lenders must provide an updated report to the credit bureaus as soon as you get current on your mortgage payment.