You can do a like kind exchange to get a new rental. or TLH (tax loss harvest)
The like kind exchange won't help in my case, because the whole point of selling is to generate cash to clear our primary mortgage.
Tax loss harvesting
might be useful because of the recent market dip. I will need a new spreadsheet to figure how much loss I would have to realize in order to offset enough capital gains from the sale of a rental property in order to lower my income below the ACA threshold for a family of my size. My mental ballparking suggests that I probably haven't bought enough stock in my taxable account since the market peak to generate that much taxable loss.
Other alternatives I have considered are 1) selling the rental as an installment sale, to spread the proceeds out over two tax years, and 2) refinancing the mortgage instead of clearing it, to lower the payments. This second plan would make it more challenging for us to qualify for ACA subsidies because we would still be on the hook for generating ~18k of extra income each year to pay the reduced mortgage, in part due to rising mortgage rates offsetting part of the savings. We can mitigate that extra cost for a while, by withdrawing from tax-free Roth IRA contributions, but long term it's probably not a sustainable plan because our allowable family income is going to drop as my kids leave the household. Option number 3) is to just pay the extra $10k for health insurance in the year of the sale and suck it up. In the grand scheme of things it's a drop in the bucket, it just pains me to be so inefficient with our funds.
In either case, I'm headed back into spreadsheet land to work out a new plan. I've only been retired three months and I'm already looking at revamping my entire retirement financial strategy.