Yes, it will carry over even if you don't have business activity in one or more years. However, the qualified business income (QBI) deduction is scheduled to terminate after 2025 and if so, the loss carryover will terminate as well. Also, the QBI loss carryover is used to reduce QBI for purposes of calculating the QBI deduction. It is not a reduction from income to arrive at taxable income. So, a loss of the deduction would not impact your taxable business income, only your QBI deduction from adjusted gross income.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"