No taxes are involved in the process of transfer of shares from one Demat account to another. However, you may have to pay a minor fee to facilitate the process. Moreover, if you are transferring shares to another person, it has to be accompanied by a gift deed to avoid tax liability.