You do not pay Capital Gains Tax when you inherit an asset, but you may have to pay Capital Gains Tax if you sell, give away or exchange an asset you inherited and it has increased in value since the date of death.
If the asset you inherited increases in value between the date of the deceased’s death and the date you dispose of it, the increase is a capital gain.