Be careful. If you are thinking of renting out a house remember you need to return a large portion of that depreciation back to the IRS. It isn't free money. Even professional landlords don't know about this.
https://homeguides.sfgate.com/paying-back-depreciation-renta...
There’s a whole industry around this generation of “free money”. The owner of a Hampton Inn / Fairfield Inn, etc, makes more money on selling off accelerated depreciation than on renting rooms.
For example, you could avoid this issue by not deducting, or do a like kind purchase if something that produces income more passively.
If a landlord just bungles around without knowing what they are doing, recapture taxes are probably one of many issues they are facing.