2022 rental property repair expenses (post-tenant, while vacant and not available to rent) to prep for sale in 2023
Hello - I've rented out a house for several years, and gave the tenant notice in 2022 to prep the house for sale. It is very clear how to treat expenses while it was rented and the tenant was there (Jan-Aug 2022), but I have seen conflicting information about how to treat the repair expenses I've incurred (about $20,000) during Sept-Dec 2022. The house has not sold yet. I don't think I can call the repair expenses "rental expenses" while it was vacant and not available to rent (Sept-Dec 2022), but am not sure. If I have a hard time selling it, I could decide to put in back on the rental market in 2023. And, it seems the Sept-Dec repair expenses would qualify as "selling expenses" if and when the house sells. My house was on the market Oct-Dec 2022 and didn't sell, and now we're putting it back on the market Mar 2023. So, can I claim the Sept-Dec 2022 repair expenses for the 2022 tax year as "rental expenses" or "selling expenses" somehow? Or am I supposed to keep track of them and claim them in the tax year in which my house sells (2023, I hope)? Are any tax breaks for them lost once 90 days elapses between when I incur them and when the sale happens? Any input is appreciated. A reference to IRS Pub. 523, 527, or other would be great. Please let me know if there is any more info needed from me to answer this question. Thank you!