@Shawn Long
As a non Accountant let me rephrase some of what has been written here.
With the IRS it’s pretty much you can pay me now, or pay me later.
A good CPA can help people use strategies that minimize the overall impact of those taxes by controlling the timing. You can’t always mix and match those strategies, they really need to be tailored to an individuals personal needs and situations.
Depreciation. The IRS basically considers an investor owning a house the same as a landscaper owning a backhoe. It’s a piece of equipment they need to run their business. Equipment depreciates, or is worth less over time, so you claim a paper loss of a percentage of the cost of the property each year you own it until it’s fully depreciated. This paper loss can offset actual cash income the property generated in that year, so you don’t pay income tax on it. Nice right?
Well, when you go to sell the house. If it’s worth nothing, you are golden and don’t owe any taxes. If it’s like most houses and is actually worth something, and probably more than you paid for it, then the IRS is going to want back the taxes that were deferred, a penalty for having to wait, and a tax on the properties increased value.
That big chunk can be deferred even longer by using a1031 exchange to reinvest the money back into another property, essentially keeping the money in the business instead of putting it in your pocket. You can do that until you die, and then let your heirs pay the taxes.
Buying a property in a Roth IRA is a great tax avoidance system because it's set up as a retirement fund. You pay taxes on your normal income then put it in the IRA and any income or value increase is completely tax free.... you just can't spend it till you retire.
There are other examples, but as you can see, these are long term individualized plans, and the best plan will be different for each investor.