<prompt> Human: Hey people of pf. Do you have to pay taxes for selling stock in a taxable account but not withdrawing money. In other words if I want to sell one of my holding to buy another within the same account, will that have any affect on taxes if I am not withdrawing money from the account?  <response>: Youll pay taxes on the sale even if the money stays in the brokerage account. 