Yes. From a TurboTax article:
"If you expect a tax loss from selling a rental property you’ve owned for more than a year, that loss will be a Section 1231 loss.
Section 1231 losses can be used to reduce any type of income you may have—salary, bonus, self-employment income, capital gains, you name it.
You may have a net operating loss (NOL) if the Section 1231 loss is large enough to reduce your other income below zero. If so, you can carry back the NOL for at least two years and use it to offset taxable income in those years. In doing so, you can recover some or all of the taxes you paid in those previous years by amending those returns.
If any of the NOL is left over after going back two years, you can carry the rest forward into future tax years to offset future income (for up to 20 years). Alternatively, you can choose to not to carry it back and just carry it forward for 20 years."
Link to full article:
**Mark the post that answers your question by clicking on "Mark as Best Answer"