Iowa Code § 654.15
1.
a. In all actions for the foreclosure of real estate mortgages, deeds of trust of real property, and contracts for the purchase of real estate, when the owner enters an appearance and files an answer admitting some indebtedness and breach of the terms of the designated instrument, which admissions cannot be withdrawn or denied after a continuance is granted, the owner may apply for a continuance of the foreclosure action if the default or inability of the owner to pay or perform is mainly due or brought about by reason of drought, flood, heat, hail, storm, or other climatic conditions or by reason of the infestation of pests which affect the land in controversy. The application must be in writing and filed at or before final decree. Upon the filing of the application the court shall set a day for hearing on the application and provide by order for notice to be given to the plaintiff of the time fixed for the hearing. If the court finds that the application is made in good faith and is supported by competent evidence showing that default in payment or inability to pay is due to drought, flood, heat, hail, storm, or other climatic conditions or due to infestation of pests, the court may continue the foreclosure proceeding as follows:
(4) The order shall provide for the appointment of a receiver to take charge of the property and to rent the property. The owner or person in possession shall be given preference in the occupancy of the property. The receiver, who may be the owner or person in possession, shall collect the rents and income and distribute the proceeds as follows:
2. In all actions for the foreclosure of real estate mortgages, deeds of trust of real estate, and contracts for the purchase of real estate, an owner of real estate may apply for a moratorium as provided in this subsection if the governor declares a state of economic emergency. The governor shall state in the declaration the types of real estate eligible for a moratorium continuance, which may include real estate used for farming; designated types of real estate not used for farming, including real estate used for small business; or all real estate. Only property of a type specified in the declaration which is subject to a mortgage, deed of trust, or contract for purchase entered into before the date of the declaration is eligible for a moratorium. In an action for the foreclosure of a mortgage, deed of trust, or contract for purchase of real estate eligible for a moratorium, the owner may apply for a continuation of the foreclosure if the owner has entered an appearance and filed an answer admitting some indebtedness and breach of the terms of the designated instrument. The admissions cannot be withdrawn or denied after a continuance is granted. Applications for continuance made pursuant to this subsection must be filed within one year of the governor’s declaration of economic emergency. Upon the filing of an application as provided in this subsection, the court shall set a date for hearing and provide by order for notice to the parties of the time for the hearing. If the court finds that the application is made in good faith and the owner is unable to pay or perform, the court may continue the foreclosure proceeding as follows:
c. The court shall appoint a receiver to take charge of the property and to rent the property. The applicant shall be given preference in the occupancy of the property. The receiver, who may be the applicant, shall collect the rents and income and distribute the proceeds as follows:
d. A continuance granted under this subsection may be terminated if the court finds, after notice and hearing, all of the following:
[C39, §12383.3; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, §654.15] 85 Acts, ch 250, §1, 2; 86 Acts, ch 1216, §7 – 9; 87 Acts, ch 115, §80; 2007 Acts, ch 54, §43; 2013 Acts, ch 30, §261