When someone inherits investment assets, the IRS resets the asset's original cost basis to its value at the date of the inheritance. The heir then pays capital gains taxes on that basis. The result is a loophole in tax law that reduces or even eliminates capital gains tax on the sale of these inherited assets.