1.After the expiration of a period of two years from the date of entry of judgment, exclusive of any time during which execution
on the judgment was stayed pending a bankruptcy action or order of court, a judgment entered in any of the following actions
shall be null and void, all liens shall be extinguished, and no execution shall be issued except as a setoff or counterclaim:
a.For a real estate mortgage, deed of trust, or real estate contract executed prior to July 1, 2009, an action for the foreclosure
of the real estate mortgage, deed of trust, or real estate contract upon property which at the time the foreclosure is commenced
is either used for an agricultural purpose as defined in section 535.13 or as a one-family or two-family dwelling which is the residence of the mortgagor.
b.For a real estate mortgage, deed of trust, or real estate contract executed on or after July 1, 2009, an action for the foreclosure
of the real estate mortgage, deed of trust, or real estate contract upon property which at the time of the execution of the
mortgage, deed, or contract is either used for, or is being acquired for, an agricultural purpose as defined in section 535.13 or as a one-family or two-family dwelling which is the residence of the mortgagor.
2.As used in this section, “mortgagor” means a mortgagor or a borrower executing a deed of trust as provided in chapter 654 or a vendee of a real estate contract.
After the expiration of a period of ten years from the date of entry of judgment of a court not of record, or twenty years
from the date of entry of judgment of a court of record, in an action on a claim for rent, exclusive of any time during which
execution on the judgment was stayed pending a bankruptcy action or order of court, such judgment shall be null and void,
all liens shall be extinguished, and no execution shall be issued. However, in the event that the judgment or the right to
collect thereon is sold or otherwise assigned for value to a third party other than a state or federally chartered bank or
credit union, such judgment shall be null and void, all liens shall be extinguished, and no execution shall be issued after
the expiration of two years from the date of entry of the judgment, exclusive of any time during which execution on the judgment
was stayed pending a bankruptcy action or order of court.
An action or proceedings shall not be brought in any court of this state for the purpose of renewing or extending such judgment.
Provided, however, that nothing herein shall prevent the continuance of such judgment in force against the property subject
to foreclosure only for a longer period by the voluntary written stipulation of the judgment creditor and the equitable titleholders,
filed in the action or proceedings.
A judgment hereafter rendered on a promissory obligation secured by a mortgage, deed of trust, or real estate contract upon
property which at the time of the judgment is either used for an agricultural purpose as defined in section 535.13 or a one-family or two-family dwelling which is the residence of the mortgagor, but without foreclosure against the security,
shall not be subject to renewal by action thereon, and, after the lapse of two years from the date of rendition, shall be
without force and effect for any purpose whatsoever except as a setoff or counterclaim. As used in this section, “mortgagor” means a mortgagor of a mortgage or a borrower executing a deed of trust as provided in chapter 654 or the vendee of a real estate contract.